Modify

Opened 14 years ago

Closed 11 years ago

#8587 closed defect (fixed)

htdocs not part and get_htdocs called?

Reported by: anonymous Owned by: Ryan J Ollos
Priority: high Component: TicketTeamDispatcherPlugin
Severity: major Keywords:
Cc: branson Trac Release: 0.11

Description

Breaking when installed:

2011-03-09 13:38:51,516 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 438, in process_request
    for dir in [os.path.normpath(dir[1]) for dir
  File "build/bdist.linux-i686/egg/ttd/admin.py", line 118, in get_htdocs_dirs
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 840, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'ttd/htdocs'

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by Ryan J Ollos

#8594 closed as a duplicate.

Last edited 11 years ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 11 years ago by Ryan J Ollos

Owner: changed from Alexander von Bremen-Kühne to Ryan J Ollos
Status: newaccepted

comment:3 Changed 11 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 13579:

0.3dev: Plugin does not have an htdocs directory, so get_htdocs_dir needs to return an empty list. Fixes #8587, #8594.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.