Modify

Opened 3 years ago

Closed 6 months 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: branson@…, sandinak 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 6 months ago by rjollos

  • Cc sandinak added

#8594 closed as a duplicate.

Last edited 6 months ago by rjollos (previous) (diff)

comment:2 Changed 6 months ago by rjollos

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

comment:3 Changed 6 months 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.