Please try installing Genshi as an unzipped egg (easy_install -Z
Genshi==0.5).

--Noah

> -----Original Message-----
> From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Marcuscoreesl
> Sent: Tuesday, June 10, 2008 5:45 PM
> To: Trac Users
> Subject: [Trac] PYTHON_EGG_CACHE not following SetEnv
> 
> 
> I used SetEnv PYTHON_EGG_CACHE /srv/trac/plugin-cache
> But when I upgraded to Trac11rc2, I was on one of the betas
> previously, I started getting 500 errors.
> The logs said it was trying to user /root/.python-eggs for the cache.
> I have no idea why, I even tried setting the permissions to that
> directory, but it still didn't work.
> 
> Here is the error log:
> ------------------------------
> PythonHandler trac.web.modpython_frontend: Traceback (most recent call
> last):
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/
> python2.4/site-packages/mod_python/apache.py", line 287, in
> HandlerDispatch\n    log=debug)
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/
> python2.4/site-packages/mod_python/apache.py", line 464, in
> import_module\n    module = imp.load_module(mname, f, p, d)
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/Trac-0.11rc1-py2.4.egg/trac/web/__init__.py", line 1,
> in ?\n    from trac.web.api import *
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/Trac-0.11rc1-py2.4.egg/trac/web/api.py", line 29, in ?
> \n    from trac.util import get_last_traceback
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/Trac-0.11rc1-py2.4.egg/trac/util/__init__.py", line 33,
> in ?\n    from trac.util.html import escape, unescape, Markup,
> Deuglifier
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/Trac-0.11rc1-py2.4.egg/trac/util/html.py", line 16, in ?
> \n    from genshi import Markup, escape, unescape
> PythonHandler trac.web.modpython_frontend:   File "build/bdist.linux-
> x86_64/egg/genshi/__init__.py", line 28, in ?
> PythonHandler trac.web.modpython_frontend:   File "build/bdist.linux-
> x86_64/egg/genshi/core.py", line 544, in ?
> PythonHandler trac.web.modpython_frontend:   File "build/bdist.linux-
> x86_64/egg/genshi/_speedups.py", line 7, in ?
> PythonHandler trac.web.modpython_frontend:   File "build/bdist.linux-
> x86_64/egg/genshi/_speedups.py", line 4, in __bootstrap__
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 840,
> in resource_filename\n    return
> get_provider(package_or_requirement).get_resource_filename(
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 1311,
> in get_resource_filename\n    return self._extract_resource(manager,
> zip_path)
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 1331,
> in _extract_resource\n    real_path = manager.get_cache_path(
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 921,
> in get_cache_path\n    self.extraction_error()
> PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
> site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 887,
> in extraction_error\n    raise err
> 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: '/root/.python-eggs'\n\nThe Python egg cache
> directory is currently set to:\n\n  /root/.python-eggs\n\nPerhaps your
> account does not have write access to this directory?  You can\nchange
> the cache directory by setting the PYTHON_EGG_CACHE environment
> \nvariable to point to an accessible directory.\n
> 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to