我正在使用 Plone 4.1 并尝试bin/buildout
在新目录中运行,刚刚设法开始python bootstrap.py --distribute
工作。 bin/buildout
运行了几分钟,下载了各种发行版,然后崩溃并出现以下报告:
Getting distribution for 'plone.recipe.zope2instance==4.1.7'.
Got plone.recipe.zope2instance 4.1.7.
... (many distributions omitted for brevity) ...
Getting distribution for 'zope.container==3.11.2'.
Got zope.container 3.11.2.
Getting distribution for 'zope.configuration==3.7.4'.
error: Not a recognized archive type: /Users/Jon/.buildout/downloads/dist/zope.configuration-3.7.4.zip
An error occured when trying to install zope.configuration 3.7.4. Look above this message for any errors that were output by easy_install.
While:
Installing.
Getting section instance.
Initializing section instance.
Installing recipe plone.recipe.zope2instance.
Getting distribution for 'zope.configuration==3.7.4'.
Error: Couldn't install: zope.configuration 3.7.4
看起来重要的错误消息是:Not a Recognized archive type: /Users/Jon/.buildout/downloads/dist/zope.configuration-3.7.4.zip
顺便说一句,我尝试简单地重新运行bin/buildout
它并在一个新的地方捡起,从:
Getting distribution for 'zdaemon==2.0.4'.
Got zdaemon 2.0.4.
Getting distribution for 'pytz==2011g'.
Got pytz 2011g.
...等等。我可以继续重试脚本,直到它成功获得所需的所有内容吗?
另外,我尝试bin/buildout
在另一个目录中运行 4.2 版,这似乎工作正常。
编辑我第二次运行bin/buildout
它完成而没有崩溃。但是,我对输出进行了搜索,但它从未下载过任何名称中带有“配置”的内容。那么发生了什么???
编辑为了很好的衡量,我尝试bin/buildout
第三次运行,并在打印单行“更新实例”后迅速退出。