Plone buildout错误不存在的文件

时间:2015-02-11 09:59:57

标签: plone buildout

我有一个Plone 4.3.3网站在buildout上抛出错误:

Traceback (most recent call last):
  File "/usr/local/Proforest4.3/buildout-cache/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 1946, in main
    getattr(buildout, command)(args)
  File "/usr/local/Proforest4.3/buildout-cache/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 626, in install
    installed_files = self[part]._call(recipe.install)
  File "/usr/local/Proforest4.3/buildout-cache/eggs/zc.buildout-2.2.5-py2.7.egg/zc/buildout/buildout.py", line 1370, in _call
    return f()
  File "/data/usr/local/Proforest4.3/buildout-cache/eggs/plone.recipe.precompiler-0.6-py2.7.egg/plone/recipe/precompiler/__init__.py", line 29, in install
    return self._run()
  File "/data/usr/local/Proforest4.3/buildout-cache/eggs/plone.recipe.precompiler-0.6-py2.7.egg/plone/recipe/precompiler/__init__.py", line 35, in _run
    self._compile_eggs()
  File "/data/usr/local/Proforest4.3/buildout-cache/eggs/plone.recipe.precompiler-0.6-py2.7.egg/plone/recipe/precompiler/__init__.py", line 67, in _compile_eggs
    py_compile.compile(fn, None, None, True)
  File "/usr/lib64/python2.7/py_compile.py", line 123, in compile
    with open(cfile, 'wb') as fc:
IOError: [Errno 13] Permission denied: '/data/usr/local/Proforest4.3/test/src/proforest.content/proforest/content/behaviours/accordion.pyc'

accordion.py确实存在,但不存在.pyc版本

对accordion.py的权限似乎是正确的(由plone_buildout等拥有)

我该如何解决?

1 个答案:

答案 0 :(得分:3)

您的用户正在尝试创建该文件,但文件系统权限错误。

检查Plone有效用户是否能够在buildout文件夹中写入。