Opened 6 years ago

Closed 3 years ago

#8587 closed defect (fixed)

htdocs not part and get_htdocs called?

Reported by: anonymous Owned by: rjollos
Priority: high Component: TicketTeamDispatcherPlugin
Severity: major Keywords:
Cc: sandinak 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 3 years ago by rjollos

#8594 closed as a duplicate.

Last edited 3 years ago by rjollos (previous) (diff)

comment:2 Changed 3 years ago by rjollos

  • Owner changed from sinnvoller to rjollos
  • Status changed from new to accepted

comment:3 Changed 3 years ago by rjollos

  • Resolution set to fixed
  • Status changed from accepted to closed

In 13579:

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

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
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.