Open sif77 opened 9 years ago
Are you certain that the zopeskel.dexterity package properly installed? Can you check to see if the localcommands
module is present in the source you have installed? If it is, there may be an import error in the imports that are present in zopeskel.dexterity.localcommands.dexterity
.
I think so
grep zopeskel.dexterity /usr/local/plone/plone-4.3.6/zeocluster/bin/paster '/usr/local/plone/plone-4.3.6/buildout-cache/eggs/zopeskel.dexterity-1.5.4.1-py2.7.egg',
ll /usr/local/plone/plone-4.3.6/buildout-cache/eggs/zopeskel.dexterity-1.5.4.1-py2.7.egg/zopeskel/dexterity/localcommands/dexterity.py -rw-r--r-- 1 plone plone 2880 22 nov. 2014 /usr/local/plone/plone-4.3.6/buildout-cache/eggs/zopeskel.dexterity-1.5.4.1-py2.7.egg/zopeskel/dexterity/localcommands/dexterity.py
I maybe have pyc here ?
ll /usr/local/plone/plone-4.3.6/buildout-cache/eggs/zopeskel.dexterity-1.5.4.1-py2.7.egg/zopeskel/dexterity/localcommands/ total 8 -rw-r--r-- 1 plone plone 2880 22 nov. 2014 dexterity.py -rw-r--r-- 1 plone plone 0 22 nov. 2014 init.py drwxr-xr-x 3 plone plone 4096 22 nov. 2014 templates
I did a 4.3.6 fresh install
[example.conference]$ ../../bin/paster addcontent -l Warning: could not load entry point dexterity_behavior (ImportError: No module named dexterity.localcommands.dexterity) Warning: could not load entry point dexterity_content (ImportError: No module named dexterity.localcommands.dexterity) Available templates: browserlayer: A Plone browserlayer form: A form skeleton formfield: Schema field for a form i18nlocale: An i18n locale directory structure portlet: A Plone 3 portlet view: A browser view skeleton zcmlmeta: A ZCML meta directive skeleton
Thanks for your help
Tried zopeskel.dexterity-1.5.4.1 with Plone 4.3.4 and 4.3.6 :
../../bin/paster addcontent -l Warning: could not load entry point dexterity_behavior (ImportError: No module named dexterity.localcommands.dexterity) Warning: could not load entry point dexterity_content (ImportError: No module named dexterity.localcommands.dexterity)