Good to know. Thanks Graham.

Massimo

On Jul 31, 5:47 am, Graham Dumpleton <[email protected]>
wrote:
> Did you actually try Googling for it?
>
> Python 2.6.5 and 3.1.2 (???) made a change to C api behaviour.
>
> The message is harmless all the same.
>
> Upgrade to mod_wsgi 3.3 where the message has been suppressed.
>
> Go read ticket 197 on mod_wsgi site and read mod_wsgi release notes
> for version 3.3.
>
> Graham
>
> On Jul 31, 7:18 pm, mdipierro <[email protected]> wrote:
>
> > I have never seen this before but it seems something is wrong in the
> > threading module in python 2.6.5.
> > Has anybody else seen this with other Python versions?
>
> > On Jul 31, 3:49 am, Johan <[email protected]> wrote:
>
> > > I tried with -N 1, 2, 3, etc., same error message.
>
> > > On a side note: I configured web2py to work with apache and mod_wsgi,
> > > it works , but I noticed an exception in the apache error_log
>
> > > [error] Exception KeyError: KeyError(-1211209984,) in <module
> > > 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored
>
> > > It doesn't seem to affect web2py, but I'm not sure that it won't cause
> > > a problem in the future.
> > > It may be related to the problem above.
>
> > > On 31 iul., 11:27, mdipierro <[email protected]> wrote:
>
> > > > Can you try with the -N option?
>
> > > > On Jul 31, 3:20 am, Johan <[email protected]> wrote:
>
> > > > > I'm using python 2.6.5
>
> > > > > On 31 iul., 11:00, mdipierro <[email protected]> wrote:
>
> > > > > > which python version?
>
> > > > > > On Jul 30, 11:41 am, Johan <[email protected]> wrote:
>
> > > > > > > Hello. I'm new here.
> > > > > > > I just bought a vps at intovps.com , I installed archlinux on it 
> > > > > > > with
> > > > > > > everything that I'm used to work with, and tried launching 
> > > > > > > web2py, but
> > > > > > > to no avail.
>
> > > > > > > $ python web2py.py --nogui --password="a" --port="55000"
>
> > > > > > > web2py Enterprise Web Framework
> > > > > > > Created by Massimo Di Pierro, Copyright2007-2010
> > > > > > > Version1.81.5(2010-07-22 17:51:19)
> > > > > > > Database drivers available: SQLite3, PostgreSQL
> > > > > > > Starting hardcron...
> > > > > > > please visit:
> > > > > > >        http://127.0.0.1:55000
> > > > > > > use "kill -SIGTERM 24238" to shutdown the web2py server
> > > > > > > Traceback (most recent call last):
> > > > > > >   File "web2py.py", line 20, in <module>
> > > > > > >     gluon.widget.start(cron=True)
> > > > > > >   File "/home/johan/web2py/gluon/widget.py", line 875, in start
> > > > > > >     server.start()
> > > > > > >   File "/home/johan/web2py/gluon/main.py", line 683, in start
> > > > > > >     self.server.start()
> > > > > > >   File "/home/johan/web2py/gluon/rocket.py", line 208, in start
> > > > > > >     self._threadpool.start()
> > > > > > >   File "/home/johan/web2py/gluon/rocket.py", line 547, in start
> > > > > > >     thread.start()
> > > > > > >   File "/usr/lib/python2.6/threading.py", line 474, in start
> > > > > > >     _start_new_thread(self.__bootstrap, ())
> > > > > > > thread.error: can't start new thread
>
> > > > > > > It seems that there is a problem with threads on the python
> > > > > > > installation.
> > > > > > > But I ran a simple threading test and it worked....
> > > > > > > Any ideas?

Reply via email to