Modify

Opened 3 years ago

Closed 3 years ago

#8721 closed defect (invalid)

Conflict with SubticketsPlugin

Reported by: anonymous Owned by: CuriousCurmudgeon
Priority: high Component: BatchModifyPlugin
Severity: blocker Keywords:
Cc: leszek.godlewski@… Trac Release: 0.12

Description

When coupled with the SubticketsPlugin, BatchModifyPlugin resources will not load. The checkboxes are not visible, and upon simple investigation (trying to open /trac/chrome/batchmod/css/batchmod.css and /trac/chrome/batchmod/js/batchmod.js) a Trac error is generated:

Trac detected an internal error:
KeyError: 'tracsubtickets\\htdocs'

Python Traceback

Most recent call last:
File "C:/Python27/lib/site-packages/trac/web/main.py", line 513, in _dispatch_request
  dispatcher.dispatch(req)
File "C:/Python27/lib/site-packages/trac/web/main.py", line 235, in dispatch
  resp = chosen_handler.process_request(req)
File "C:/Python27/lib/site-packages/trac/web/chrome.py", line 439, in process_request
  in provider.get_htdocs_dirs() or []
File "build/bdist.win32/egg/tracsubtickets/web_ui.py", line 51, in get_htdocs_dirs
  return [('subtickets', resource_filename(__name__, 'htdocs'))]
File "C:/Python27/lib/site-packages/pkg_resources.py", line 882, in resource_filename
  self, resource_name
File "C:/Python27/lib/site-packages/pkg_resources.py", line 1352, in get_resource_filename
  return self._extract_resource(manager, zip_path)
File "C:/Python27/lib/site-packages/pkg_resources.py", line 1363, in _extract_resource
  zip_stat = self.zipinfo[zip_path]

I'm new to Trac, so I'm not sure what the error means, but it looks kind of like it's trying to fetch the resources from SubticketsPlugin and not from BatchModifyPlugin.

I'll try looking into it, but would appreciate developer assistance.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by anonymous

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

OK, sorry, I just found out this is a know issue with SubticketsPlugin.

https://github.com/itota/trac-subtickets-plugin/issues/6

Add Comment

Modify Ticket

Action
as 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.