我们正在使用 trac。在我们的设置中,我们有一个在存储库中解决的问题。所以我从存储库中得到了固定文件commit_update.py,我需要将它放入Trac-0.12-py2.6.egg。
由于鸡蛋只是一个压缩文件,我只是解压缩它,更改文件并再次压缩。重新启动 trac 后,我收到一条错误消息:
ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg
cache:
[Errno 20] Not a directory
The Python egg cache directory is currently set to:
/var/trac/plugin-cache
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.
我不太明白为什么会出现这个错误,因为我在 www-data 下运行 trac 实例,它是插件缓存的所有者。
将欣赏任何想法。