apt-portal/python threading problem
David Reyes Samblas Martinez
david at tuxbrain.com
Wed Aug 26 03:40:26 CEST 2009
hi marcus in what machine/distro had you have success on make run apt-portal?
I'm triying diferent machines distros without succes :(
Ubuntu 8.10/intel quadcore
Ubuntu 9.04/ "
debian lenny/qemux86 on the quadcore compiled/install py2.6 from sources
eeeBuntu 8.10/intel atom compiled/install py2.6 from sources
and allways the same error
mutrox at dardo:~$ cd apt-portal; python2.6 ./apt-portal.py playdeb
/var/lib/python-support/python2.5/sqlalchemy/util.py:7:
DeprecationWarning: the sets module is deprecated
import inspect, itertools, new, operator, sets, sys, warnings, weakref
Traceback (most recent call last):
File "./apt-portal.py", line 274, in <module>
Exception in thread HTTPServer Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/python-support/python2.5/cherrypy/process/servers.py",
line 73, in _start_http_thread
self.httpserver.start()
File "/var/lib/python-support/python2.5/cherrypy/wsgiserver/__init__.py",
line 1603, in start
self.requests.start()
File "/var/lib/python-support/python2.5/cherrypy/wsgiserver/__init__.py",
line 1300, in start
worker.start()
File "/usr/local/lib/python2.6/threading.py", line 471, in start
_start_new_thread(self.__bootstrap, ())
error: can't start new thread
cherrypy.quickstart(cherrypy.root, '/', config=conf)
File "/var/lib/python-support/python2.5/cherrypy/__init__.py", line
248, in quickstart
engine.start()
File "/var/lib/python-support/python2.5/cherrypy/process/wspbus.py",
line 184, in start
self.publish('start')
File "/var/lib/python-support/python2.5/cherrypy/process/wspbus.py",
line 147, in publish
output.append(listener(*args, **kwargs))
File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line
90, in start
ServerAdapter.start(self)
File "/var/lib/python-support/python2.5/cherrypy/process/servers.py",
line 60, in start
self.wait()
File "/var/lib/python-support/python2.5/cherrypy/process/servers.py",
line 95, in wait
raise self.interrupt
thread.error: can't start new thread
and thn I have to kill the process to exit
--
David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable & embedded solutions
Openmoko, Openpandora, Arduino
Hey, watch out!!! There's a linux in your pocket!!!
More information about the community
mailing list