Modify ↓
      
        #9647 closed defect (fixed)
Multi language
| Reported by: | Owned by: | Jun Omae | |
|---|---|---|---|
| Priority: | high | Component: | StickyTicketPlugin | 
| Severity: | blocker | Keywords: | |
| Cc: | Trac Release: | 0.12 | 
Description
hi,
I have a little problem with this plugin. We have trac 0.12 with python 2.4 and without multilanguage support. I could not install the plugin after building the egg file on our linux server. The plugin description and the screenshot look very nice and I hope you can help me to resolve the problem. The following information I found in the logfile (loglevel = DEBUG) after installing the egg file:
2011-12-30 17:02:13,096 Trac[env] ERROR: Exception caught while checking for upgrade: 
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/env.py", line 672, in open_environment
  File "build/bdist.linux-x86_64/egg/trac/env.py", line 505, in needs_upgrade
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 78, in extensions
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 213, in __getitem__
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 119, in maybe_init
  File "build/bdist.linux-x86_64/egg/tracstickyticket/web_ui.py", line 41, in __init__
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracstickyticket/locale'
2011-12-30 17:02:13,097 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect
2011-12-30 17:02:13,097 Trac[main] DEBUG: Dispatching <Request "GET '/admin/general/plugin'">
2011-12-30 17:02:13,113 Trac[main] ERROR: Exception caught while post-processing request: 
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 268, in dispatch
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 352, in _post_process_request
  File "build/bdist.linux-x86_64/egg/trac/config.py", line 652, in __get__
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 78, in extensions
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 213, in __getitem__
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 119, in maybe_init
  File "build/bdist.linux-x86_64/egg/tracstickyticket/web_ui.py", line 41, in __init__
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracstickyticket/locale'
2011-12-30 17:02:13,121 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 513, in _dispatch_request
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 200, in dispatch
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 345, in _pre_process_request
  File "build/bdist.linux-x86_64/egg/trac/config.py", line 652, in __get__
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 78, in extensions
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 213, in __getitem__
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 119, in maybe_init
  File "build/bdist.linux-x86_64/egg/tracstickyticket/web_ui.py", line 41, in __init__
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 799, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1229, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1240, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracstickyticket/locale'
2011-12-30 17:02:13,129 Trac[session] DEBUG: Retrieving session for ID 'dennis.schmittdiel'
thanks in advance dennis
Attachments (0)
Note: See
        TracTickets for help on using
        tickets.
    


(In [11063]) Fixed a problem that the plugin accesses
tracstickyticket/localewith no message catalogs (closes #9647).