[Freeswitch-users] More troubles with SQLAlchemy and mod_python

Traun Leyden tleyden at branchcut.com
Thu Jan 29 17:05:23 PST 2009


>
>
> 2009-01-29 15:57:12 [NOTICE] mod_python.c:107 eval_some_python()
> Invoking py module: callcontrol.routing.DummyRouteHandler
> 2009-01-29 15:57:12 [ERR] mod_python.c:121 eval_some_python() Error
> importing module
> Traceback (most recent call last):
>  File
> "/usr/local/freeswitch/python/callcontrol/routing/DummyRouteHandler.py",
> line 19, in ?
>    import sqlalchemy
>  File "/usr/lib/python2.4/site-packages/sqlalchemy/__init__.py", line
> 8, in ?
>    from sqlalchemy.types import \
>  File "/usr/lib/python2.4/site-packages/sqlalchemy/types.py", line 25,
> in ?
>    import datetime as dt
> ImportError: /usr/lib/python2.4/lib-dynload/datetime.so: undefined
> symbol: _Py_ZeroStruct
>


Ahh, that looks like the "global symbol import" error.

http://wiki.freeswitch.org/wiki/Mod_python#ImportError:_.2Fusr.2Flib.2F...2Fdatetime.so:_undefinedsymbol:__Py_ZeroStruct

Should be very easy to fix.. see the wiki page.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090130/23cf95b5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list