When I start up Zope 2.5.1_ on freebsd I recieve the following unnerving errors. Can you please help me? Thanks in advance, Wayne ------ 2002-08-19T03:28:14 ERROR(200) Zope Could not import Products.ZMySQLDA Traceback (innermost last): File /usr/local/www/Zope/lib/python/OFS/Application.py, line 531, in import_product File /usr/local/www/Zope/lib/python/Products/ZMySQLDA/__init__.py, line 91, in ? File /usr/local/www/Zope/lib/python/Products/ZMySQLDA/DA.py, line 92, in ? File /usr/local/www/Zope/lib/python/Products/ZMySQLDA/db.py, line 89, in ? ImportError: No module named _mysql ------ 2002-08-19T03:28:14 PROBLEM(100) Init Ambiguous name for method of Products.ZNavigator.ZNavigator.ZNavigator: "manage" != "manage_main" ------ 2002-08-19T03:28:14 PROBLEM(100) Init Ambiguous name for method of Products.ZNavigator.ZNavigator.NavItem: "manage_main" != "manage"
wayne@wayneconnolly.com writes:
... /usr/local/www/Zope/lib/python/Products/ZMySQLDA/db.py, line 89, in ? ImportError: No module named _mysql It does not find the "_mysql" shared object.
Ensure that it can be found via the PYTHONPATH (search the Python documentation, when you do not know what this is). Note that "z2.py" adds its "lib/python" folder to Python's search path. Thus, if you put "_mysql.so" (this might also be "_mysqlmodule.so") inside "/usr/local/www/Zope/lib/python", if will be found. You can also use a symbolic link rather than copying "_mysql.so". Dieter
participants (2)
-
Dieter Maurer -
wayneï¼ wayneconnolly.com