i am following this tutorial

https://devcenter.heroku.com/articles/getting-started-with-django

On Wednesday, September 10, 2014 9:06:20 AM UTC+1, ngangsia akumbo wrote:
>
> Please why am i having this error
>
> (djangoapps)yems firstapp # ls
> firstapp  manage.py  Procfile
>
>
> (djangoapps)yems firstapp # foreman start
> 08:47:00 web.1  | started with pid 4491
> 08:47:00 web.1  | exited with code 3
> 08:47:00 system | sending SIGTERM to all processes
> (djangoapps)yems firstapp # nano Procfile
> (djangoapps)yems firstapp # nano Procfile
> (djangoapps)yems firstapp # foreman start
> 09:04:29 web.1  | started with pid 4990
> 09:04:31 web.1  | [2014-09-10 09:04:31 +0000] [4990] [INFO] Starting 
> gunicorn 19.1.1
> 09:04:31 web.1  | [2014-09-10 09:04:31 +0000] [4990] [INFO] Listening at: 
> http://0.0.0.0:5000 (4990)
> 09:04:31 web.1  | [2014-09-10 09:04:31 +0000] [4990] [INFO] Using worker: 
> sync
> 09:04:31 web.1  | [2014-09-10 09:04:31 +0000] [4997] [INFO] Booting worker 
> with pid: 4997
> 09:04:31 web.1  | [2014-09-10 09:04:31 +0000] [4997] [ERROR] Exception in 
> worker process:
> 09:04:31 web.1  | Traceback (most recent call last):
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 507, in spawn_worker
> 09:04:31 web.1  |     worker.init_process()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/workers/base.py",
>  
> line 114, in init_process
> 09:04:31 web.1  |     self.wsgi = self.app.wsgi()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/base.py",
>  
> line 66, in wsgi
> 09:04:31 web.1  |     self.callable = self.load()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 65, in load
> 09:04:31 web.1  |     return self.load_wsgiapp()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 52, in load_wsgiapp
> 09:04:31 web.1  |     return util.import_app(self.app_uri)
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/util.py",
>  
> line 356, in import_app
> 09:04:31 web.1  |     __import__(module)
> 09:04:31 web.1  | ImportError: No module named hellodjango.wsgi
> 09:04:31 web.1  | Traceback (most recent call last):
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 507, in spawn_worker
> 09:04:31 web.1  |     worker.init_process()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/workers/base.py",
>  
> line 114, in init_process
> 09:04:31 web.1  |     self.wsgi = self.app.wsgi()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/base.py",
>  
> line 66, in wsgi
> 09:04:31 web.1  |     self.callable = self.load()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 65, in load
> 09:04:31 web.1  |     return self.load_wsgiapp()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 52, in load_wsgiapp
> 09:04:31 web.1  |     return util.import_app(self.app_uri)
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/util.py",
>  
> line 356, in import_app
> 09:04:31 web.1  |     __import__(module)
> 09:04:31 web.1  | ImportError: No module named hellodjango.wsgi
> 09:04:31 web.1  | [2014-09-10 09:04:31 +0000] [4997] [INFO] Worker exiting 
> (pid: 4997)
> 09:04:31 web.1  | Traceback (most recent call last):
> 09:04:31 web.1  |   File "/home/yems/apps/djangoapps/bin/gunicorn", line 
> 11, in <module>
> 09:04:31 web.1  |     sys.exit(run())
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py",
>  
> line 74, in run
> 09:04:31 web.1  |     WSGIApplication("%(prog)s [OPTIONS] 
> [APP_MODULE]").run()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/base.py",
>  
> line 185, in run
> 09:04:31 web.1  |     super(Application, self).run()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/app/base.py",
>  
> line 71, in run
> 09:04:31 web.1  |     Arbiter(self).run()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 169, in run
> 09:04:31 web.1  |     self.manage_workers()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 477, in manage_workers
> 09:04:31 web.1  |     self.spawn_workers()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 542, in spawn_workers
> 09:04:31 web.1  |     time.sleep(0.1 * random.random())
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 209, in handle_chld
> 09:04:31 web.1  |     self.reap_workers()
> 09:04:31 web.1  |   File 
> "/home/yems/apps/djangoapps/local/lib/python2.7/site-packages/gunicorn/arbiter.py",
>  
> line 459, in reap_workers
> 09:04:31 web.1  |     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
> 09:04:31 web.1  | gunicorn.errors.HaltServer: <HaltServer 'Worker failed 
> to boot.' 3>
> 09:04:31 web.1  | exited with code 1
> 09:04:31 system | sending SIGTERM to all processes
>
>
>
> nano Procfile
> web: gunicorn hellodjango.wsgi --log-file -
>
> Please i need some help
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/78b40af8-51df-4d32-8092-b072f093e1f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to