Modify ↓
#12774 closed defect (fixed)
KeyError: 'inieditorpanel/locale'
| Reported by: | ntmlod | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | TracIniAdminPanelPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.0 |
Description
The 0.12 branch is working but the last revision of the trunk crashes the whole Trac installation.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/trac/web/api.py", line 514, in send_error
data, 'text/html')
File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 975, in render_template
template = self.load_template(filename, method=method)
File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 933, in load_template
self.get_all_templates_dirs(), auto_reload=self.auto_reload,
File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 648, in get_all_templates_dirs
for provider in self.template_providers:
File "/usr/lib/python2.7/site-packages/trac/core.py", line 78, in extensions
components = [component.compmgr[cls] for cls in classes]
File "/usr/lib/python2.7/site-packages/trac/core.py", line 199, in __getitem__
component = cls(self)
File "/usr/lib/python2.7/site-packages/trac/core.py", line 138, in __call__
self.__init__()
File "build/bdist.linux-x86_64/egg/inieditorpanel/web_ui.py", line 64, in __init__
locale_dir = resource_filename(__name__, 'locale')
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 945, in resource_filename
self, resource_name
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1634, in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1653, in _extract_resource
timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: 'inieditorpanel/locale'
Attachments (0)
Change History (6)
comment:1 Changed 9 years ago by
comment:4 Changed 9 years ago by
I'll wait for reply from stoecker, but happy to push the fix to traciniadminpanelplugin/trunk.
comment:5 Changed 9 years ago by
| Owner: | changed from Dirk Stöcker to Ryan J Ollos |
|---|---|
| Status: | new → accepted |
Note: See
TracTickets for help on using
tickets.



Probably same issue seen in #12417, #12176, #10053 and elsewhere. See [14750], [14415] and elsewhere for possible fixes.