Opened 7 years ago

Closed 5 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


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/", line 513, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 438, in process_request
    for dir in [os.path.normpath(dir[1]) for dir
  File "build/bdist.linux-i686/egg/ttd/", line 118, in get_htdocs_dirs
  File "/usr/lib/python2.4/site-packages/", line 840, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'ttd/htdocs'

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Ryan J Ollos

#8594 closed as a duplicate.

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

comment:2 Changed 5 years ago by Ryan J Ollos

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

comment:3 Changed 5 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
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.