I get this error ([Errno 2] There is no such file or directory) after I push the repo to masterk. Here are my magazines.
2012-04-17T18:24:53+00:00 app[web.1]: python: can't open file '/test/project/manage.py': [Errno 2] No such file or directory
2012-04-17T18:24:54+00:00 heroku[web.1]: Process exited with status 2
2012-04-17T18:24:54+00:00 heroku[web.1]: State changed from starting to crashed
2012-04-17T18:24:54+00:00 heroku[web.1]: State changed from crashed to created
2012-04-17T18:24:54+00:00 heroku[web.1]: State changed from created to starting
2012-04-17T18:24:57+00:00 heroku[web.1]: Starting process with command python /test/project/manage.py runserver 0.0.0.0:4473
My Procfile is as follows:
web: python /test/project/manage.py runserver 0.0.0.0:$PORT --noreload
I do not know why it cannot open the file. It opens perfectly when I use my development server. Any ideas? Thanks for reading.
source
share