[ALL] New showroom for Openmoko apps

George Brooke solar.george at googlemail.com
Sat Aug 22 10:14:19 CEST 2009


On Saturday 22 August 2009 00:17:57 David Reyes Samblas Martinez wrote:
> Partial success, after installing Jaunty,
> the import proccess apt2db goes ok and I have the example repo in a sqlite
> but the web server doesn't boot up
> here is the error log
> mutrox at Iluvatar:~/apt-portal$ ./apt-portal.py playdeb
> /var/lib/python-support/python2.6/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>
>     cherrypy.quickstart(cherrypy.root, '/', config=conf)
>   File "/var/lib/python-support/python2.6/cherrypy/__init__.py", line
> 248, in quickstart
>     engine.start()
>   File "/var/lib/python-support/python2.6/cherrypy/process/wspbus.py",
> line 184, in start
>     self.publish('start')
>   File "/var/lib/python-support/python2.6/cherrypy/process/wspbus.py",
> line 147, in publish
>     output.append(listener(*args, **kwargs))
>   File "/var/lib/python-support/python2.6/cherrypy/_cpserver.py", line
> 90, in start
>     ServerAdapter.start(self)
>   File "/var/lib/python-support/python2.6/cherrypy/process/servers.py",
> line 60, in start
>     self.wait()
>   File "/var/lib/python-support/python2.6/cherrypy/process/servers.py",
> line 95, in wait
>     raise self.interrupt
> thread.error: can't start new thread
> Exception in thread HTTPServer Thread-2:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.6/threading.py", line 477, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/var/lib/python-support/python2.6/cherrypy/process/servers.py",
> line 73, in _start_http_thread
>     self.httpserver.start()
>   File "/var/lib/python-support/python2.6/cherrypy/wsgiserver/__init__.py",
> line 1603, in start
>     self.requests.start()
>   File "/var/lib/python-support/python2.6/cherrypy/wsgiserver/__init__.py",
> line 1300, in start
>     worker.start()
>   File "/usr/lib/python2.6/threading.py", line 471, in start
>     _start_new_thread(self.__bootstrap, ())
> error: can't start new thread
>
I think that cherry py in jaunty doesn't work with python 2.6 if i'm correct you'll have to install 
python 2.5 and change the top line to #!/usr/bin/python2.5 (you could check by doing python2.5 
./apt-portal.py playdeb obviously)

solar.george
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20090822/0f8baa3b/attachment.pgp 


More information about the community mailing list