Hmmm. The only explanation I can come up with for this is that previously was always creating a new thread state object when doing the initialisation. For main interpreter though, now do it properly and ensure use simplified GIL state API. Because wasn't clearing exception condition in correct spot, that now persists in thread state held by simplified GIL state API. Previously, the thread state would be thrown away and that there was an error condition wasn't an issue.
And you probably thought it would be hard to find. I do grant it may have been hard for you to explain. :-) Graham 2008/11/3 gert <[EMAIL PROTECTED]>: > > BINGO :-) > > [Mon Nov 03 05:35:49 2008] [info] Init: Seeding PRNG with 0 bytes of > entropy > [Mon Nov 03 05:35:49 2008] [info] Init: Generating temporary RSA > private keys (512/1024 bits) > [Mon Nov 03 05:35:49 2008] [info] Init: Generating temporary DH > parameters (512/1024 bits) > [Mon Nov 03 05:35:49 2008] [info] Init: Initializing (virtual) servers > for SSL > [Mon Nov 03 05:35:49 2008] [info] mod_ssl/2.2.9 compiled against > Server: Apache/2.2.9, Library: OpenSSL/0.9.8g > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi: Initializing Python. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16845): Attach > interpreter ''. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16845): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16847): Attach > interpreter ''. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16847): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16848): Attach > interpreter ''. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16848): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16849): Attach > interpreter ''. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16849): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16850): Attach > interpreter ''. > [Mon Nov 03 05:35:49 2008] [info] mod_wsgi (pid=16850): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:35:49 2008] [notice] Apache/2.2.9 (Ubuntu) mod_ssl/ > 2.2.9 OpenSSL/0.9.8g mod_wsgi/3.0-TRUNK Python/2.5.2 configured -- > resuming normal operations > [Mon Nov 03 05:35:49 2008] [info] Server built: Sep 19 2008 13:43:21 > [Mon Nov 03 05:35:55 2008] [info] mod_wsgi (pid=16851): Attach > interpreter ''. > [Mon Nov 03 05:35:55 2008] [info] mod_wsgi (pid=16851): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:36:05 2008] [info] mod_wsgi (pid=16908): Attach > interpreter ''. > [Mon Nov 03 05:36:05 2008] [info] mod_wsgi (pid=16908): Adding '/srv/ > www/appwsgi/www/lib' to path. > [Mon Nov 03 05:36:12 2008] [info] [client 80.200.208.100] mod_wsgi > (pid=16848, process='', application=''): Loading WSGI script '/srv/www/ > appwsgi/www/upload2/upload.py'. > [Mon Nov 03 05:36:12 2008] [info] mod_wsgi (pid=16913): Attach > interpreter ''. > [Mon Nov 03 05:36:12 2008] [info] mod_wsgi (pid=16913): Adding '/srv/ > www/appwsgi/www/lib' to path. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
