Modify

Opened 6 years ago

Closed 5 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 5 years ago by Jun Omae

(In [10619]) Fixed KeyError: 'tracworkflowadmin\\locale' problem without Babel on Windows (refs #9122).

comment:2 Changed 5 years ago by Jun Omae

Status: newassigned

Thanks for your reporting!

I just fixed the issue. Would you please update r10619 and retry?

comment:3 Changed 5 years ago by mark@burazin.net

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 in reply to:  3 Changed 5 years ago by Jun Omae

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 5 years ago by Jun Omae

Resolution: fixed
Status: assignedclosed

If you reproduce, you cloud reopen the issue. Thanks!

Modify Ticket

Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.