Opened 11 years ago

Last modified 9 years ago

#11262 closed defect

Failed to install plugin on Trac 1.0.1 SLES 11 Python 2.6 — at Initial Version

Reported by: anonymous Owned by: Dirk Stöcker
Priority: normal Component: TracIniAdminPanelPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

python setup.py bdist_egg cp dist/TracIniAdminPanel-1.0.1-py2.6.egg <trac>/plugins cd <trac>/plugins ll -rw-r--r-- 1 wwwrun www 30749 Aug 7 15:53 TracIniAdminPanel-1.0.1-py2.6.egg

trac crashes afterwards with:

Traceback (most recent call last):

File "build/bdist.linux-x86_64/egg/trac/web/api.py", line 514, in send_error

data, 'text/html')

File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 975, in render_template

template = self.load_template(filename, method=method)

File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 933, in load_template

self.get_all_templates_dirs(), auto_reload=self.auto_reload,

File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 648, in get_all_templates_dirs

for provider in self.template_providers:

File "build/bdist.linux-x86_64/egg/trac/core.py", line 78, in extensions

components = [component.compmgr[cls] for cls in classes]

File "build/bdist.linux-x86_64/egg/trac/core.py", line 199, in getitem

component = cls(self)

File "build/bdist.linux-x86_64/egg/trac/core.py", line 138, in call

self.init()

File "build/bdist.linux-x86_64/egg/inieditorpanel/web_ui.py", line 63, in init

locale_dir = resource_filename(name, 'locale')

File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 945, in resource_filename

self, resource_name

File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1634, in get_resource_filename

return self._extract_resource(manager, zip_path)

File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1653, in _extract_resource

timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])

KeyError: 'inieditorpanel/locale'

Change History (0)

Note: See TracTickets for help on using tickets.