I spent some time looking at Zope several months ago but because of the steep learning curve gave it a rest after a week or two, but would like to get back to where I left off. Unfortunately I seem to be unable to access ZODB now after having upgraded Python, Zope, CMF and Plone. I presume I need to migrate whatever objects I built previously to the new environment... Is there any guide to doing this? Here is the sort of error I get when trying to start Zope:- Traceback (most recent call last): File "/usr/local/zope/lib/python/Zope/Startup/run.py", line 49, in ? run() File "/usr/local/zope/lib/python/Zope/Startup/run.py", line 19, in run start_zope(opts.configroot) File "/usr/local/Zope/lib/python/Zope/Startup/__init__.py", line 51, in start_zope starter.startZope() File "/usr/local/Zope/lib/python/Zope/Startup/__init__.py", line 230, in startZope Zope.startup() File "/usr/local/Zope/lib/python/Zope/__init__.py", line 45, in startup from Zope.App.startup import startup as _startup File "/usr/local/Zope/lib/python/Zope/App/startup.py", line 30, in ? import OFS.Application File "/usr/local/Zope/lib/python/OFS/Application.py", line 18, in ? import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ File "/usr/local/Zope/lib/python/App/Product.py", line 44, in ? from HelpSys.HelpSys import ProductHelp File "/apps/zope/lib/python/HelpSys/__init__.py", line 15, in ? import HelpSys File "/apps/zope/lib/python/HelpSys/HelpSys.py", line 18, in ? from Products.ZCatalog.ZCatalog import ZCatalog File "/usr/local/zope/lib/python/Products/ZCatalog/__init__.py", line 16, in ? import ZCatalog, Catalog, CatalogAwareness, CatalogPathAwareness, ZClasses File "/usr/local/Zope/lib/python/Products/ZCatalog/ZCatalog.py", line 29, in ? from Catalog import Catalog, CatalogError File "/usr/local/Zope/lib/python/Products/ZCatalog/Catalog.py", line 17, in ? from MultiMapping import MultiMapping ImportError: filename doesn't match module name Where do I start in trying to sort this out? -- John
John Poltorak wrote at 2004-11-15 15:22 +0000:
... from MultiMapping import MultiMapping ImportError: filename doesn't match module name
Looks you are on an case insensitive file system and the file does not use the "MultiMapping" spelling (but maybe "multimapping" or "MULTIMAPPING"). I think, there is some way to tell Python whether or not such cases should be errors or warnings. -- Dieter
participants (2)
-
Dieter Maurer -
John Poltorak