Opened 16 years ago
Closed 9 years ago
#7495 closed defect (worksforme)
PYTHON_EGG_CACHE still buggy
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend | Version: | |
Severity: | normal | Keywords: | egg |
Cc: | jens.rantil@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I just installed Trac 0.11 and ran into the Python egg cache problem again.
PythonHandler trac.web.modpython_frontend: 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 13] Permission denied:
I did put
PythonOption PYTHON_EGG_CACHE /srv/trac/egg-cache
outside of any virtual host.
After creating the default cache location with the proper permissions, Trac works, and the only thing in the cache is:
ls -R .python-eggs/ .python-eggs/: Genshi-0.5.1-py2.4-linux-x86_64.egg-tmp .python-eggs/Genshi-0.5.1-py2.4-linux-x86_64.egg-tmp: genshi .python-eggs/Genshi-0.5.1-py2.4-linux-x86_64.egg-tmp/genshi: _speedups.so
Attachments (0)
Change History (14)
comment:1 by , 16 years ago
Keywords: | needinfo added |
---|
comment:2 by , 16 years ago
Server version: Apache/2.2.3 Server built: Jan 15 2008 20:33:41 mod_python-3.2.8-3.1 Trac 0.11
I've worked around the problem by expanding all eggs so a cache is not needed.
comment:3 by , 16 years ago
Keywords: | needinfo removed |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
The last changeset related to PYTHON_EGG_CACHE was [7420], and as described in the message, the setting requires mod_python-3.3.
So updating to Trac 0.11.1 and mod_python-3.3 should fix the issue.
comment:4 by , 16 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
I am also experiencing this problem. My system is:
Debian Trac 0.11.2 Apache 2.2.9 mod_python 3.3.1
which means that rblank's suggestions does not work as intended. Any hint?
comment:5 by , 16 years ago
Cc: | added |
---|
comment:7 by , 16 years ago
Keywords: | needinfo added |
---|
Jens, can you be a bit more specific about your setup: what did you configure, what didn't work, etc.
comment:9 by , 16 years ago
Actually, I can; I wanted to specify a different location of my python egg cache. However the PythonOption
did not change any behaviour at all and the egg cache was always set to DOCUMENT_ROOT
whether I had that option set or not.
comment:10 by , 15 years ago
Component: | general → web frontend |
---|---|
Keywords: | egg added; needinfo removed |
Milestone: | → 0.12.1 |
comment:11 by , 10 years ago
Milestone: | next-minor-0.12.x → next-stable-1.0.x |
---|
comment:12 by , 10 years ago
Status: | reopened → new |
---|
comment:13 by , 9 years ago
Description: | modified (diff) |
---|
comment:14 by , 9 years ago
Milestone: | next-stable-1.0.x |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Closing as worksforme since last update was 6 years ago and there's nothing concrete to suggest this wasn't just an InstallationIssue. Feel free to reopen if the issue can be reproduced and TracModPython#SettingthePythonEggCache isn't effective.
Could you please provide some more information about your setup: Apache & mod_python versions, Trac version, Apache config.
You mention Trac 0.11. I believe the final fix for thi PYTHON_EGG_CACHE issue has not been released yet, so you might have to try the 0.11-stable branch, or wait for 0.11.2.