[egenix-users] C-program->Python->mxDateTime Problem

Michael R Seefelt mseefelt at bellsouth.net
Wed Jun 2 10:45:39 CEST 2004


I have written a simple C-program that loads a Python Function that
connects to a PostgreSQL database> When I only load and execute the
Python function all works OK. If I call the Python function a second
time I get the following:
Called PyObject_CallObject
Traceback (most recent call last):
  File
"/home/mike/src/arthur/query_server/query_analyzer/Query_Analyzer.py",
line 25, in processQuery
    from pyPgSQL import PgSQL
  File "/usr/local/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line
388, in ?
    raise ImportError, \
ImportError: You need to install mxDateTime
        (http://www.egenix.com/files/python/eGenix-mx-Extensions.html)

Any ideas?

Thanks, Mike



More information about the egenix-users mailing list