Plone / Paster - What can cause "paster addcontent dexterity_content" to not work?

I am trying to use pasteur to create an agility content type. I did a new offline installation of Plone 4.3.4 in the target folder, different from the one I worked with before, so it would be pure caching.

I am using OS Ubuntu 14.04. Therefore, in the download folder in the extracted installer folder, I enter the terminal:

./install.sh --target=/home/myusername/Plone2 --instance=MyProject standalone

This is installed correctly. Then I go to MyProject in Plone2. I edit buildout to change my password and create runout:

buildout -c develop.cfg

Then I will go to the src folder and create a new product with zopeskel:

../bin/zopeskel dexterity project.house

project.house src/project.house. , . project.house , .

../../bin/paster addcontent dexterity_content

:

Traceback (most recent call last):
  File "../../bin/paster", line 264, in <module>
    sys.exit(paste.script.command.run())
  File "/home/pjdowney/Plone2/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/pjdowney/Plone2/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/pjdowney/Plone2/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
    result = self.command()
  File "/home/pjdowney/Plone2/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/pjdowney/Plone2/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/pjdowney/Plone2/buildout-cache/eggs/setuptools-7.0-py2.7.egg/pkg_resources.py", line 2184, in load
    ['__name__'])
ImportError: No module named dexterity.localcommands.dexterity

Plone 4.3.6 . , , . 4.3.6 ?

.

+4
2

Throwing "ImportError: dexterity.localcommands.dexterity" + "plone" Plone 4.3.4 - ImportError: dexterity.localcommands.dexterity, S. McMahon , https://github.com/plone/Installers-UnifiedInstaller/issues/33 Plone-5-installers, Plone-4.

, setuptools- FWIW, " glyph", :

" : @dstuffts, python-pip Debian Ubuntu. ." (1)

" pip virtualenv get-pip.py, . ( , https://pip2014.com/ .) "(2)

- - script get-pip.py probs, : -D

(1) https://twitter.com/glyph/status/640980540691234816 (2) https://twitter.com/glyph/status/640980540691234816

+3

( github)

zopeskel/paster. , .... :

, , 4.3.6 zopeskel - /. ( ), zopekel ( Zopeskel 3.0, )

+1

Source: https://habr.com/ru/post/1607540/


All Articles