Opened 13 years ago
Closed 13 years ago
#9122 closed defect (fixed)
KeyError: 'tracworkflowadmin\\locale'
Reported by: | mark@burazin.net | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | TracWorkflowAdminPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Hi,
After I installed this plugin as described (using easy_install), I recieve the following error:
Traceback (most recent call last):
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\web\api.py", line 436, in send_error
data, 'text/html')
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\web\chrome.py", line 808, in render_template
template = self.load_template(filename, method=method)
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\web\chrome.py", line 769, in load_template
self.get_all_templates_dirs(), auto_reload=self.auto_reload,
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\web\chrome.py", line 481, in get_all_templates_dirs
for provider in self.template_providers:
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\core.py", line 78, in extensions
return filter(None, [component.compmgr[cls] for cls in extensions])
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\core.py", line 213, in getitem
component = cls(self)
File "c:\docume~1\admini~1\locals~1\temp\1\easy_install-56qhom\Trac-0.12-py2.6-win32.egg.tmp\trac\core.py", line 119, in maybe_init
init(self)
File "build\bdist.win32\egg\tracworkflowadmin\web_ui.py", line 60, in init
locale_dir = resource_filename(name, 'locale')
File "C:\Python26\lib\site-packages\setuptools-0.6c9-py2.6.egg\pkg_resources.py", line 841, in resource_filename
self, resource_name
File "C:\Python26\lib\site-packages\setuptools-0.6c9-py2.6.egg\pkg_resources.py", line 1311, in get_resource_filename
return self._extract_resource(manager, zip_path)
File "C:\Python26\lib\site-packages\setuptools-0.6c9-py2.6.egg\pkg_resources.py", line 1322, in _extract_resource
zip_stat = self.zipinfo[zip_path]
KeyError: 'tracworkflowadmin
locale'
Any ideas as to how I get past this?
Thanks in advance. :)
/Marc
Attachments (0)
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Status: | new → assigned |
---|
Thanks for your reporting!
I just fixed the issue. Would you please update r10619 and retry?
comment:3 follow-up: 4 Changed 13 years ago by
Absolutely... I just need to make sure here. Can I just do another easy_install or do I need to create my own egg?
comment:4 Changed 13 years ago by
Replying to marc:
Absolutely... I just need to make sure here. Can I just do another easy_install or do I need to create my own egg?
It makes no difference if you use easy_install
or create a egg file.
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
If you reproduce, you cloud reopen the issue. Thanks!
(In [10619]) Fixed
KeyError: 'tracworkflowadmin\\locale'
problem without Babel on Windows (refs #9122).