运行plone4buildou时,egg包中有许多丢失的文件

2024-04-28 23:16:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要帮助。我正在尝试在我的Fedora14操作系统上构建plone 4.1。但我有个问题。似乎大多数鸡蛋包装都有许多丢失的文件。我做了什么:paster create -t plone4_buildout --> python2.6 boottrap.py --> bin/buildout。我做了一个解决方法:从pypi下载包并替换错误包。谁能告诉我发生了什么事吗?在

我的错误消息:

Installing instance.
While:
  Installing instance.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/thaison/Projects/xxx/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/home/thaison/Projects/xxx/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 555, in install
    installed_files = self[part]._call(recipe.install)
  File "/home/thaison/Projects/xxx/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1227, in _call
return f()
  File "/home/thaison/Projects/xxx/eggs/plone.recipe.zope2instance-4.1.7-py2.6.egg/plone/recipe/zope2instance/__init__.py", line 84, in install
make.make_instance(options.get('user', None), location, version)
  File "/home/thaison/Projects/xxx/eggs/plone.recipe.zope2instance-4.1.7-py2.6.egg/plone/recipe/zope2instance/make.py", line 23, in make_instance
copyskel(skelsrc, instancehome)
  File "/home/thaison/Projects/xxx/eggs/plone.recipe.zope2instance-4.1.7-py2.6.egg/plone/recipe/zope2instance/make.py", line 65, in copyskel
os.chdir(sourcedir)
OSError: [Errno 2] No such file or directory: '/home/thaison/Projects/xxx/eggs/plone.recipe.zope2instance-4.1.7-py2.6.egg/plone/recipe/zope2instance/skel213'

在plone.recipe.zope2仪器-4.1.7-py2.6.egg是第一个丢失文件的egg包。我不太清楚,但有很多鸡蛋包装都有同样的问题。在


Tags: inpyhomeeggplonelinebuildoutzc
1条回答
网友
1楼 · 发布于 2024-04-28 23:16:36

很可能你在提取鸡蛋的过程中运行了一个非常糟糕的构建。然后你重新运行构建,鸡蛋似乎已经存在,但它只是真正鸡蛋的一半。事实上,如果您检查pypi上的product,那么这个丢失的dir确实存在于归档文件中,我相信对于任何丢失的文件来说都是一样的。我建议完全清除eggs目录并从头开始重新启动该过程。在

我不认为在这个特定的例子中,您使用SELinux不会遇到问题(正如您所说的,您正在使用软呢帽),但为了以防万一,我也会尝试暂时禁用它。在

相关问题 更多 >