Clayton T. Dillard wrote at 2004-5-13 16:44 -0400:
... 2004-05-13T09:58:17 ERROR(200) Zope Could not import Products.CMFCalendar
Some problem with the import of "Products.CMFCalendar"...
Traceback (most recent call last): ... File "/opt/Zope-2.7/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 13, in ?
###################################################################### ######## ImportError: cannot import name Portal
Apparently, some "Portal" cannot be imported. Look at "Products/CMFCalendar/__init__.py" where this "Portal" import comes from. You may get a clue why it cannot be imported. When you just want to start Zope (despite this error), the following part of the traceback is the key:
File "/opt/Zope-2.7/lib/python/OFS/Application.py", line 631, in import_products import_product(product_dir, product_name, raise_exc=debug_mode)
Replace this "raise_exc=debug_mode" by "raise_exc=0". You will still get the traceback in your log file but Zope will come up and be partially usable. I do not understand why Zope should not start in debug_mode when a product cannot be imported. Unfortunately, I was not convincing enough that the Zope maintainers would change it. -- Dieter