在 Plone UnifiedInstaller 4.2.5 上运行 paster 我收到以下错误。对这个问题有任何想法吗?
Traceback (most recent call last):
File "../bin/paster", line 382, in <module>
import paste.script.command
File "/var/plone/my.app/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 3, in <module>
import pkg_resources
File "/var/plone/my.app/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 2835, in <module>
add_activation_listener(lambda dist: dist.activate())
File "/var/plone/my.app/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 704, in subscribe
callback(dist)
File "/var/plone/my.app/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 2835, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/var/plone/my.app/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 2262, in activate
map(declare_namespace, self._get_metadata('namespace_packages.txt'))
File "/var/plone/my.app/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 1847, in declare_namespace
_handle_ns(packageName, path_item)
File "/var/plone/my.app/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 1817, in _handle_ns
loader.load_module(packageName); module.__path__ = path
File "/usr/lib/python2.7/pkgutil.py", line 246, in load_module
mod = imp.load_module(fullname, self.file, self.filename, self.etc)
File "/var/plone/my.app/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/__init__.py", line 2, in <module>
from zopeskel.basic_namespace import BasicNamespace
File "/var/plone/my.app/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/basic_namespace.py", line 2, in <module>
from zopeskel.vars import var, DottedVar, StringVar, BooleanVar, TextVar
File "/var/plone/my.app/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/vars.py", line 2, in <module>
from paste.script.templates import var as base_var
File "/var/plone/my.app/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/templates.py", line 145, in <module>
NoDefault = command.NoDefault
AttributeError: 'module' object has no attribute 'NoDefault'
我的 base.cfg 的 zopeskel 部分有以下条目
[zopeskel]
recipe = zc.recipe.egg
eggs =
ZopeSkel <= 2.99
zopeskel.dexterity == 1.4.1
zopeskel.diazotheme
Paste
PasteDeploy
PasteScript
${buildout:eggs}
我可以运行 zopeskel 并创建一个灵巧包,但由于这个贴纸问题,我无法添加自定义内容类型。我的灵巧包已经安装在 buildout.cfg