- ##################
- Project Structure:
- ##################
- ~/Projects/
- site01_repo/
- .gitignore
- requirements.txt
- Procfile
- site01/
- manage.py
- site01/
- __init__.py
- settings/
- urls.py
- wsgi.py
- ~/Envs/
- venv01
- ...
- #################
- requirements.txt:
- #################
- Django==1.5.2
- dj-database-url==0.2.2
- dj-static==0.0.5
- django-toolbelt==0.0.1
- gunicorn==18.0
- psycopg2==2.5.1
- static==0.4
- wsgiref==0.1.2
- #########
- Procfile:
- #########
- web: gunicorn site01.wsgi
- ###########
- .gitignore:
- ###########
- venv01
- *.pyc
- staticfiles
- ####################
- Heroku command-line:
- ####################
- (venv01)mac-pol:site01_repo oubiga$ foreman start
- 00:26:02 web.1 | started with pid 914
- 00:26:02 web.1 | 2013-08-31 00:26:02 [914] [INFO] Starting gunicorn 18.0
- 00:26:02 web.1 | 2013-08-31 00:26:02 [914] [INFO] Listening at: http://0.0.0.0:5000 (914)
- 00:26:02 web.1 | 2013-08-31 00:26:02 [914] [INFO] Using worker: sync
- 00:26:02 web.1 | 2013-08-31 00:26:02 [917] [INFO] Booting worker with pid: 917
- 00:26:02 web.1 | 2013-08-31 00:26:02 [917] [ERROR] Exception in worker process:
- 00:26:02 web.1 | Traceback (most recent call last):
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/arbiter.py", line 495, in spawn_worker
- 00:26:02 web.1 | worker.init_process()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/workers/base.py", line 106, in init_process
- 00:26:02 web.1 | self.wsgi = self.app.wsgi()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/app/base.py", line 114, in wsgi
- 00:26:02 web.1 | self.callable = self.load()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 62, in load
- 00:26:02 web.1 | return self.load_wsgiapp()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load_wsgiapp
- 00:26:02 web.1 | return util.import_app(self.app_uri)
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/util.py", line 354, in import_app
- 00:26:02 web.1 | __import__(module)
- 00:26:02 web.1 | ImportError: No module named site01.wsgi
- 00:26:02 web.1 | Traceback (most recent call last):
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/arbiter.py", line 495, in spawn_worker
- 00:26:02 web.1 | worker.init_process()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/workers/base.py", line 106, in init_process
- 00:26:02 web.1 | self.wsgi = self.app.wsgi()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/app/base.py", line 114, in wsgi
- 00:26:02 web.1 | self.callable = self.load()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 62, in load
- 00:26:02 web.1 | return self.load_wsgiapp()
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load_wsgiapp
- 00:26:02 web.1 | return util.import_app(self.app_uri)
- 00:26:02 web.1 | File "/Users/oubiga/Envs/venv01/lib/python2.7/site-packages/gunicorn/util.py", line 354, in import_app
- 00:26:02 web.1 | __import__(module)
- 00:26:02 web.1 | ImportError: No module named site01.wsgi
- 00:26:02 web.1 | 2013-08-31 00:26:02 [917] [INFO] Worker exiting (pid: 917)
- 00:26:02 web.1 | 2013-08-31 00:26:02 [914] [INFO] Shutting down: Master
- 00:26:02 web.1 | 2013-08-31 00:26:02 [914] [INFO] Reason: Worker failed to boot.
- 00:26:03 web.1 | exited with code 3
- 00:26:03 system | sending SIGTERM to all processes
- SIGTERM received
SHARE
TWEET
Project Structure
a guest
Aug 30th, 2013
34
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
