我尝试在我新安装的plone 4.2上创建一个带有zopskel/paster的原型。我已经调整了buildout.cfg (见下文),以便在bin文件夹中生成zopeskel.exe和paster.exe。
但是,当我运行zopeskel时,如下所示(在开发-鸡蛋文件夹中):..\bin\zopeskel.exe原型,我得到一个IOError (输出见下面)
据我所知,在运行paster (比如add)时,我现在应该有本地命令。但是,当我现在运行paster时(在Develope-鸡蛋/nortek.test03)文件夹中没有命令。
有缺陷吗?还是我做错了什么?我该怎么做?
Traceback (most recent call last):
File "C:\Plone42\bin\zopeskel-script.py", line 16, in <module>
zopeskel.zopeskel_script.run()
File "c:\plone42\eggs\zopeskel-2.21.2-py2.6.egg\zopeskel\zopeskel_script.py", line 397, in run
command.run( [ '-q', '-t', template_name ] + optslist )
File "c:\plone42\eggs\pastescript-1.7.5-py2.6.egg\paste\script\command.py", line 238, in run
result = self.command()
File "c:\plone42\eggs\pastescript-1.7.5-py2.6.egg\paste\script\create_distro.py", line 170, in command
egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
File "c:\plone42\eggs\pastescript-1.7.5-py2.6.egg\paste\script\pluginlib.py", line 135, in egg_info_dir
% ', '.join(all))
IOError: No egg-info directory found (looked in .\nortek.test03\.\nortek.test03.egg-info, .\nortek.test03\CHAN
GES.txt\nortek.test03.egg-info, .\nortek.test03\CONTRIBUTORS.txt\nortek.test03.egg-info, .\nortek.test03\docs\
nortek.test03.egg-info, .\nortek.test03\MANIFEST.in\nortek.test03.egg-info, .\nortek.test03\nortek\nortek.test
03.egg-info, .\nortek.test03\README.txt\nortek.test03.egg-info, .\nortek.test03\setup.cfg\nortek.test03.egg-in
fo, .\nortek.test03\setup.py\nortek.test03.egg-info)除以下内容外,我的buildout.cfg与默认情况相同:
parts =
zeo
instance
run-instance
run-zeo
service
service-zeo
zopeskel
[zopeskel]
recipe = zc.recipe.egg
unzip = true
eggs =
Paste
PasteScript
ZopeSkel编辑--我试图按照提供的链接中的说明进行操作。但是,在bin文件夹中没有生成粘贴脚本*我仍然得到完全相同的IOError问题*没有本地命令
我将运行的不同命令的输出放在以下链接上:http://pastie.org/4664202
所以请帮帮我,因为我还有同样的问题
发布于 2012-09-03 21:52:49
请使用升级说明:
http://collective-docs.readthedocs.org/en/latest/getstarted/paste.html
无论你在哪里发现这些指示,请告诉我们,我们会试着把坏的指示记下来。
https://stackoverflow.com/questions/12253942
复制相似问题