A new issue has been submitted to the **Issue tracker**
tracker by **Andreas Jung** and awaits confirmation.
Issue Information
-----------------
Issue
Generated portlet code is wrong (missing MessageFactory)
(http://plone.org/products/zopeskel/issues/36)
**Issue Details**::
Both ZopeSkel 2.14.2 and 2.15 generate improper code for
'portlet'.
Starting a sandbox causes this:
value = self.context.resolve(name)
File "/Users/ajung/sandboxes/eso/parts/zope2/lib/python/zope/con
figuration/config.py", line 184, in resolve
mod = __import__(mname, *_import_chickens)
File
"/Users/ajung/sandboxes/eso/src/eso.org/eso/org/portlets/p2.py",
line 11, in ?
from eso.org.portlets import p2MessageFactory as _
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/Users/ajung/sandboxes/eso/parts/instance/etc/site.zcml", line
14.2-14.55
ZopeXMLConfigurationError: File
"/Users/ajung/sandboxes/eso/parts/instance/etc/package-
includes/001-eso.org-configure.zcml", line 1.0-1.51
ZopeXMLConfigurationError: File
"/Users/ajung/sandboxes/eso/src/eso.org/eso/org/configure.zcml",
line 12.2-12.33
ZopeXMLConfigurationError: File "/Users/ajung/sandboxes/eso/sr
c/eso.org/eso/org/portlets/configure.zcml", line 12.2-21.8
ImportError: cannot import name p2MessageFactory
and portlets/__init__.py
is just *empty*
* This is an automated email, please do not reply - plone.org Administrator
_______________________________________________
ZopeSkel mailing list
ZopeSkel@lists.plone.org
http://lists.plone.org/mailman/listinfo/zopeskel