I think this error is caused because of a not-recent-enough version of MySQLdb. 
 Zenoss is distributed with version 1.2.0 but from the path in your error it 
looks like you're using the version installed in 
/usr/lib/python2.4/site-packages instead.

This might be caused by not having PYTHONPATH set correctly for your zenoss 
account.  Your ~zenoss/.bash_profile should contain a line that looks something 
like this:

export PYTHONPATH=$ZENHOME/lib/python

This tells python to use the libraries distributed with zenoss before the 
builtin libraries.

You can check which library is being used and what version it is from within 
the python interpreter:

$ python
>>> import MySQLdb
>>> MySQLdb.__file__
'/usr/local/zenoss/lib/python/MySQLdb/__init__.pyc'
>>> MySQLdb.__version__
'1.2.0'

-jason




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=11955#11955

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to