Seite 1 von 1

RuntimeError: cannot join thread before it is started

Verfasst: Mittwoch 30. November 2011, 09:21
von jens
Kann damit jemand was anfangen:

Code: Alles auswählen

Nov 30 07:38:21  - Traceback (most recent call last):
  File "index.fcgi", line 296, in 
    run_django_fcgi()
  File "index.fcgi", line 291, in run_django_fcgi
    errlog=None, # write stderr to this file (django default: None)
  File "/home/jedie/PyLucid_env/lib/python2.7/site-packages/django/core/servers/fastcgi.py", line 180, in runfastcgi
    WSGIServer(WSGIHandler(), **wsgi_opts).run()
  File "/home/jedie/PyLucid_env/lib/python2.7/site-packages/flup/server/fcgi.py", line 117, in run
    self.shutdown()
  File "/home/jedie/PyLucid_env/lib/python2.7/site-packages/flup/server/threadedserver.py", line 116, in shutdown
    self._threadPool.shutdown()
  File "/home/jedie/PyLucid_env/lib/python2.7/site-packages/flup/server/threadpool.py", line 73, in shutdown
    t.join()
  File "/home/jedie/usr/lib/python2.7/threading.py", line 653, in join
    raise RuntimeError("cannot join thread before it is started")
RuntimeError: cannot join thread before it is started

Re: RuntimeError: cannot join thread before it is started

Verfasst: Mittwoch 30. November 2011, 09:54
von deets
Ich finde die Fehlermeldung recht klar. So wie's aussieht, wird shutdown aufgerufen bevor ein startup passiert ist. Setz doch mal nen breakpoint und schau dir das an.

Re: RuntimeError: cannot join thread before it is started

Verfasst: Montag 2. Januar 2012, 11:13
von jens
deets hat geschrieben:So wie's aussieht, wird shutdown aufgerufen bevor ein startup passiert ist.
Das passiert aber IMHO innerhalb von flup. Aber ich denke nicht das es ein Bug in flup selber ist.