[mod_python] Threads...

Vio vmilitaru at sympatico.ca
Tue May 13 14:46:21 EST 2003


Followup ...

On possibility that this may be 'mysql'-related, I am getting similar 
error with Oracle8i:

------------------------
Mod_python error: "PythonHandler test"

Traceback (most recent call last):

File "/usr/local/lib/python2.2/site-packages/mod_python/apache.py", line 
193, in Dispatch
result = object(req)

File "/usr/local/apache/htdocs/server/test.py", line 21, in handler
import DCOracle2

File "/usr/local/lib/python2.2/site-packages/DCOracle2/__init__.py", 
line 37, in ?
from DCOracle2 import *

File "/usr/local/lib/python2.2/site-packages/DCOracle2/DCOracle2.py", 
line 104, in ?
import dco2

ImportError: /usr/local/lib/python2.2/site-packages/DCOracle2/dco2.so: 
undefined symbol: PyThread_get_thread_ident
-----------------------

But going through the list archives, I didn't see previous mentions of 
this threads-related problem, so I am totally puzzled. Maybe this is 
mod_python 2.7 related? Without better alternative, I'll give a shot at  
mod_python 3.0, although in doing so I'm losing mod_ssl, as it's not 
available (last time I checked) for apache 2.x.

If of any interest, I'm running:
Linux version 2.4.18-bf2.4  (gcc version 2.95.4 20011002 (Debian 
prerelease))

Vio





More information about the Mod_python mailing list