We are having a problem with the MySQL Zope connection... Zope 2.3.0 (binary release, python 1.5.2, solaris-2.6-sparc) Python Version 1.5.2 (#8, Nov 16 1999, 10:05:41) [GCC 2.8.1] sunos5 ZMySQLDA-1.1.3-nonbin.tar.gz MySQL-python-0.3.5.tar.gz Distutils-1.0.2.tar.gz Traceback (innermost last): File "/usr/local/www/zope/lib/python/OFS/Application.py", line 530, in import_products product=__import__(pname, global_dict, global_dict, silly) File "lib/python/Products/ZMySQLDA/__init__.py", line 106, in ? import sys, os, Globals, DA File "lib/python/Products/ZMySQLDA/DA.py", line 108, in ? from db import DB File "lib/python/Products/ZMySQLDA/db.py", line 106, in ? import MySQL, regex, sys ImportError: dynamic module does not define init function (initMySQL) Anyone have similar problems?
ZMySQLDA-1.1.3 is not compatible with MySQL-python-0.3.5. Instead, try ZMySQLDA-2.0.7 with MySQL-python-0.9.0. http://sourceforge.net/projects/mysql-python On Thu, 7 Jun 2001, Carl Blesius wrote:
We are having a problem with the MySQL Zope connection...
Zope 2.3.0 (binary release, python 1.5.2, solaris-2.6-sparc) Python Version 1.5.2 (#8, Nov 16 1999, 10:05:41) [GCC 2.8.1] sunos5
ZMySQLDA-1.1.3-nonbin.tar.gz MySQL-python-0.3.5.tar.gz Distutils-1.0.2.tar.gz
Traceback (innermost last): File "/usr/local/www/zope/lib/python/OFS/Application.py", line 530, in import_products product=__import__(pname, global_dict, global_dict, silly) File "lib/python/Products/ZMySQLDA/__init__.py", line 106, in ? import sys, os, Globals, DA File "lib/python/Products/ZMySQLDA/DA.py", line 108, in ? from db import DB File "lib/python/Products/ZMySQLDA/db.py", line 106, in ? import MySQL, regex, sys ImportError: dynamic module does not define init function (initMySQL)
Anyone have similar problems?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "I'd rather listen to Newton than to Mundie. He may have been dead for almost three hundred years, but despite that he stinks up the room less." -- Linus T.
participants (2)
-
Andy Dustman -
Carl Blesius