[Zope] Zope < - > MySQL
Carl Blesius
cblesius@ix.urz.uni-heidelberg.de
Thu, 07 Jun 2001 22:26:24 +0200
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?