Modify

Opened 19 years ago

Closed 19 years ago

Last modified 15 years ago

#272 closed defect (worksforme)

enabling TicketDeletePlugin causes internal error in Trac

Reported by: divil@… Owned by: Noah Kantrowitz
Priority: normal Component: TicketDeletePlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

installed the TicketDeletePlugin with the easy_install command and enabled it in the trac.ini file

this is what Trac says after trying to open the project-page:

Oops...

Trac detected an internal error:

[Errno 13] Permission denied: '/var/www/.python-eggs'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 131, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 83, in dispatch
    req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 195, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "/usr/lib/python2.4/site-packages/TicketDelete-0.1-py2.4.egg/ticketdelete/web_ui.py", line 79, in get_templates_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1188, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1193, in _extract_resource
    last = self._extract_resource(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1204, in _extract_resource
    real_path = manager.get_cache_path(self.egg_name, self._parts(zip_path))
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 836, in get_cache_path
    ensure_directory(target_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2301, in ensure_directory
    os.makedirs(dirname)
  File "/usr/lib/python2.4/os.py", line 156, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.4/os.py", line 156, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.4/os.py", line 156, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.4/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/www/.python-eggs'

Attachments (0)

Change History (1)

comment:1 Changed 19 years ago by Noah Kantrowitz

Resolution: worksforme
Status: newclosed

That sounds like an error in the PYTHON_EGG_CACHE setting, not an issue with the plugin. Please ask on the IRC channel or mailing list if you have more questions.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.