[#1428 failed import warning at startup should be nicer]
[email protected] (simon) Sat, 31 Jan 2009 13:33:45 -0800
| Newsgroups | gmane.comp.web.zope.zwiki |
|---|---|
| Message-ID | <20090131133342-0800__34602.4465434768$1233437719$gmane$org@zwiki.org> |
This should be an easy one. When Plone is not installed, Zwiki is giving this warning at zope startup::
2009-01-31T13:23:54 BLATHER ZWiki Traceback (most recent call last):
File "/zope1/Products/ZWiki/__init__.py", line 100, in initializeForCMF
import Products.CMFCore.DirectoryView
ImportError: No module named CMFCore.DirectoryView
yet that import is within a try:except ImportError: block which should be displaying a nice message. What's going wrong there ?
--
forwarded from http://zwiki.org/1428FailedImportWarningAtStartupShouldBeNicer#[email protected]