I'm using Apache 2x and Python 2.3 ... using /mysite/ when I open the
page in the browser I get the following message:
ImproperlyConfigured: Could not load database backend:
/usr/lib/python2.3/lib-dynload/arraymodule.so: undefined symbol:
PyUnicodeUCS4_FromUnicode. Is your DATABASE_ENGINE setting (currently,
'mysql') spelled correctly? Available options are: 'ado_mssql',
'mysql', 'postgresql', 'sqlite3'

However, I can access mysql through python, and successfully used
djangoadmin and manage.py to create the project/apps and database
tables. (and verified in mysql)

Another strange message is that within a few minutes, if I hit /mysite/
again, I get the following error:

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File
"/usr/local/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/handlers/modpython.py",
line 165, in handler

  File
"/usr/local/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/handlers/modpython.py",
line 135, in __call__

  File
"/usr/local/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/handlers/base.py",
line 28, in load_middleware

ImproperlyConfigured: Error importing middleware
django.middleware.sessions: "/usr/lib/python2.3/lib-dynload/cPickle.so:
undefined symbol: PyUnicodeUCS4_AsUTF8String"

Any ideas?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to