Hi every:
Recently I installed Trac 0.10.4 in Ubuntu Server 7.10. My enviroments aren't 
in /var/www they are at /workdata/trac/ so I compile Webadmin for Python 2.5 
using bdist_egg. When I try to activate the plugin I get this error:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in 
dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 206, in 
dispatch
    req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/var/lib/python-support/python2.5/trac/web/chrome.py", line 263, in 
get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/webadmin/web_ui.py", line 150, in 
get_templates_dirs
    return [resource_filename(__name__, 'templates')]
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 841, in 
resource_filename
    self, resource_name
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1311, in 
get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1318, in 
_extract_resource
    manager, os.path.join(zip_path, name)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1332, in 
_extract_resource
    self.egg_name, self._parts(zip_path)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 921, in 
get_cache_path
    self.extraction_error()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 887, in 
extraction_error
    raise err
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: '/var/www/.python-eggs'

The Python egg cache directory is currently set to:

  /var/www/.python-eggs

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.

Can any help me with that? How can I point to /workdata/trac instead of 
/var/www/.python-eggs

Cheers and thanks in advance
Ing Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP 


--~--~---------~--~----~------------~-------~--~----~
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