[Plone-IT] ImportError: No module named dexterity.localcommands.dexterity

Vito Falco vitofalco a gmail.com
Gio 11 Set 2014 15:42:29 UTC


Ciao a tutti,
mi sono deciso a fare roba con Dexterity.

Mi son tirato giÓ un bel buildout 4.3.2 fresco (tramite
redturtle.deployments.plone) e ho aggiunto all'apposito file di cfg la
solita Paste PasteDeploy PasteScript e zopeskel.dexterity.

Vado in src, e uso il comando di "zopeskel dexterity example.conference"
per creare il pacchetto farlocco.
Lo aggiungo in cfg e quindi buildout -N.

Vado in src/example.conference e cerco di aggiungere un contentype al
pacchetto tramite

../../bin/paster addcontent dexterity_content

ottenendo

  File "../../bin/paster", line 282, in <module>

       sys.exit(paste.script.command.run())

  File
"/Users/vitofalco/virtual-plone433/buildout/src/example.conference/PasteScript-1.7.5-py2.7.egg/paste/script/command.py",
line 104, in run

    invoke(command, command_name, options, args[1:])

  File
"/Users/vitofalco/virtual-plone433/buildout/src/example.conference/PasteScript-1.7.5-py2.7.egg/paste/script/command.py",
line 143, in invoke

    exit_code = runner.run(args)

  File
"/Users/vitofalco/virtual-plone433/buildout/src/example.conference/PasteScript-1.7.5-py2.7.egg/paste/script/command.py",
line 238, in run

    result = self.command()

  File
"/Users/vitofalco/.buildout/eggsdir/ZopeSkel-2.21.2-py2.7.egg/zopeskel/localcommands/__init__.py",
line 70, in command

    self._extend_templates(templates, args[0])

  File
"/Users/vitofalco/.buildout/eggsdir/ZopeSkel-2.21.2-py2.7.egg/zopeskel/localcommands/__init__.py",
line 204, in _extend_templates

    tmpl = entry.load()(entry.name)

  File
"/Users/vitofalco/virtual-plone433/lib/python2.7/site-packages/pkg_resources.py",
line 2186, in load

    ['__name__'])

ImportError: No module named dexterity.localcommands.dexterity


Non capisco dove sbaglio...

Vito
-------------- parte successiva --------------
Un allegato HTML Ŕ stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20140911/d25ee361/attachment.html>


Maggiori informazioni sulla lista Plone-IT