Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#272 closed defect (worksforme)

enabling TicketDeletePlugin causes internal error in Trac

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


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:


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/", line 131, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 139, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 83, in dispatch
    req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/usr/lib/python2.4/site-packages/trac/web/", 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/", line 79, in get_templates_dirs
  File "/usr/lib/python2.4/site-packages/", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/", line 1188, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/", line 1193, in _extract_resource
    last = self._extract_resource(
  File "/usr/lib/python2.4/site-packages/", 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/", line 836, in get_cache_path
  File "/usr/lib/python2.4/site-packages/", line 2301, in ensure_directory
  File "/usr/lib/python2.4/", line 156, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.4/", line 156, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.4/", line 156, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.4/", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/www/.python-eggs'

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by coderanger

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.