PyApache - scripts now not working

chibaA at TinterlogD.Tcom chibaA at TinterlogD.Tcom
Tue May 16 20:23:45 EDT 2000

Alright... I think I've narrowed things down a bit...  (keep in mind
I'm a bit new to all of this).  I think it has something to do with
the mxDateTime module which I installed (on the recommendation of of
the mySQLdb api).  For some reason it doesn't like a certain file in
that library ( --> although nothing ever complained before
installing pyApache.  Any ideas on why this would be so?


On Tue, 16 May 2000 23:37:47 GMT, chibaA at TinterlogD.Tcom wrote:

>... guess the fun just doesn't end with me and PyApache.  I finally
>managed to recompiile Apache (I had bad .h files with the C library);
>and now that PyApache is installed, I get no where with my previously
>executable scripts.  AAAHHH...  If I switch back to my previous
>compilation of httpd (or take the AddHandler python-cgi-script .py out
>of the httpd.conf file), my scripts work FINE!  
>I dunno... should I bare with SLOW script loading times, or not have
>any working scripts... hmm..  
>Anyway - if anyone has see this problem, or has any idea on how to
>diminish it, could you lend a hand.  Thanks so much.  
>Here's the error that I'm getting in the apache error log:
>>[Tue May 16 19:22:40 2000] [error] access to /home/httpd/html/admin/search_user.
>>py failed for, reason: the script raised an unhandled exception. Script's traceback follows:
>>Traceback (innermost last):
>>  File "/home/httpd/html/admin/", line 4, in ?
>>    import MySQLdb
>>  File "/usr/lib/python1.5/", line 55, in ?
>>    from DateTime import Date, Time, Timestamp, ISO, \
>>  File "/usr/lib/python1.5/site-packages/DateTime/", line 20, in ?
>>    from DateTime import *
>>  File "/usr/lib/python1.5/site-packages/DateTime/", line 817, in ?
>>   def add_century(year,
>>TypeError: call of non-function (type None)
>Which is incredibly puzzling, because I never used anything relating
>to dates.  I suppose it's choking on the mysql api for python, but I
>don't understand why?  Any ideas?

More information about the Python-list mailing list