Edgewall Software

Ticket #7495 (reopened defect)

Opened 5 months ago

Last modified 9 days ago

PYTHON_EGG_CACHE still buggy

Reported by: bruce.dubbs@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: jens.rantil@…

Description

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\n\nThe following error occurred while trying to extract file(s) to the Python egg\ncache:\n\n [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

Change History

Changed 3 months ago by rblank

  • keywords needinfo added

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.

Changed 3 months ago by bruce.dubbs@…

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.

Changed 3 months ago by rblank

  • keywords needinfo removed
  • status changed from new to closed
  • resolution set to worksforme

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.

Changed 9 days ago by Jens Rantil <jens.rantil@…>

  • status changed from closed to reopened
  • resolution worksforme deleted

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?

Changed 9 days ago by Jens Rantil <jens.rantil@…>

  • cc jens.rantil@… added

Changed 9 days ago by Jens Rantil <jens.rantil@…>

Sorry, running Ubuntu Intrepid and not Debian.

Add/Change #7495 (PYTHON_EGG_CACHE still buggy)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change from (none). Next status will be 'new'
 
Note: See TracTickets for help on using tickets.