[mod_python] PyThreadState_Delete: tstate is still current

Peter Sanchez petersanchez at gmail.com
Tue Oct 11 13:46:16 EDT 2005


OK, I tried 3.2.2b from source. Now, when I start apache, the logs just go
into a loop with the same errors as before :)

[Tue Oct 11 10:26:14 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/4.4.0
mod_python/3.2.0b Python/2.4.1 configured -- resuming normal operations
[Tue Oct 11 10:26:14 2005] [notice] child pid 26791 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 26318 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 26317 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24178 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24162 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24148 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24133 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24122 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24050 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 24033 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 23318 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 23285 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 23266 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [notice] child pid 23195 exit signal Abort trap
(6)
[Tue Oct 11 10:26:14 2005] [error] make_obcallback: could not call init.\n
TypeError: init() takes exactly 2 arguments (0 given)
Fatal Python error: PyThreadState_Delete: tstate is still current
[Tue Oct 11 10:26:14 2005] [error] make_obcallback: could not call init.\n
TypeError: init() takes exactly 2 arguments (0 given)
Fatal Python error: PyThreadState_Delete: tstate is still current

Note, these were being given while NOT loading my mod_python code, I think
it was doing this for every 'normal' apache instance. I quickly reverted
back to the last setup (mod_pyton/3.1.4)

Any other ideas guys?

Thanks,

Peter


PS, Sorry if I double posted this.. Gmail is acting funny today.

On 10/10/05, Graham Dumpleton <grahamd at dscpl.com.au> wrote:
>
> Peter Sanchez wrote ..
> > This is the apache config I am using (in relation to mod_python):
> >
> > <Directory /home/user/public_html/modpy>
> > Options -MultiViews
> > AddHandler python-program .py
> > SetHandler python-program
> > PythonHandler mod_python.publisher
> > PythonDebug On
> > Order allow,deny
> > Allow from all
> > </Directory>
>
> BTW, you wouldn't usually use AddHandler and SetHandler at the same
> time like this. Not sure if SetHandler is going to take precedence or not.
>
> Graham
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20051011/ab9a0ca2/attachment.html


More information about the Mod_python mailing list