Plone 4.3.4 - ImportError: no module named dexterity.localcommands.dexterity

On the site of Vanilla Plone 4.3.4 (Unified Installer on Ubuntu 14.04.1LTS), and after updating buildout.cfg using zopeskel material and the pastor plate of the boiler and running assembly, I successfully created an agility package in my src folder:

$ cd src  
$ ../bin/zopeskel dexterity my.package

After updating buildout.cfg (adding my.package to the eggs section and src / my.package to the development section) and starting the build, I tried to add content to my new package, for example, I did this many times in Plone 4.3.3 and more earlier versions:

$ cd my.package  
$ ../../bin/paster addcontent dexterity_content

As a result, you receive the following error message:

Traceback (most recent call last):  

 File "../../bin/paster", line 260, in <module>
   sys.exit(paste.script.command.run())  
 File "/home/Plone434_site/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run
   invoke(command, command_name, options, args[1:])
 File "/home/Plone434_site/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke exit_code = runner.run(args)
 File "/home/Plone434_site/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
   result = self.command()
 File "/home/Plone434_site/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/localcommands/__init__.py", line 70, in command
   self._extend_templates(templates, args[0])
 File "/home/Plone434_site/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/localcommands/__init__.py", line 204, in _extend_templates tmpl = entry.load()(entry.name)
 File "/home/Plone434_site/buildout-cache/eggs/setuptools-7.0-py2.7.egg/pkg_resources.py", line 2184, in load ['__name__'])

ImportError: No module named dexterity.localcommands.dexterity  

Doing exactly the same on the Plone 4.3.3 website works very well.

When I run the following:

$ ../../bin/paster addcontent -l

I get the following warning messages:

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:
  No template

, Plone 4.3.4 setuptools 7.0, 0.7.2

.

+4

All Articles