Modify

Opened 7 years ago

Closed 7 years ago

#1685 closed defect (invalid)

KeyError: 'acct_mgr/templates'

Reported by: test2433@… Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: acct_mgr/templates
Cc: Trac Release: 0.10

Description

Hi
I cahanged trac.ini==>"acct_mgr.web_ui.* = enable".
and error was displayed.I re-setup it again, but was not settled.
I was missing?

<Error from http://xxx.x.xxx.xxx/projects/isd>
Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 206, in dispatch

req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())

File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 263, in get_all_templates_dirs

dirs += provider.get_templates_dirs()

File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 252, in get_templates_dirs
File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/pkg_resources.py", line 840, in resource_filename

return get_provider(package_or_requirement).get_resource_filename(

File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/pkg_resources.py", line 1311, in get_resource_filename

return self._extract_resource(manager, zip_path)

File "/usr/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/pkg_resources.py", line 1322, in _extract_resource

zip_stat = self.zipinfo[zip_path]

KeyError: 'acct_mgr/templates'----


<checked>
Egg-cashe not was created "acct_mgr/tmplates"
$ls -ltr /var/trac/python_egg_cache
drwxr-xr-x 3 nobody 4294967295 4096 18 6 18:23 WebAdminUsers-0.1.0-py2.4.egg-tmp
drwxr-xr-x 3 nobody 4294967295 4096 19 6 11:17 TracWebAdmin-0.1.2dev_r4240-py2.4.egg-tmp
drwxr-xr-x 3 nobody 4294967295 4096 19 6 15:59 TracWebAdminAuthz-0.2.1-py2.4.egg-tmp

<Env>
OS:CentOS5.0
Trac-JA 0.10.4
Python 2.4.3(OS bind)


<Setup.py>
$python setup.py bdist_egg
=>> No error process


I cannot "ez_setup" "svn co" by proxy.
Thanks, Minoru

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by ThurnerRupert <rupert.thurne@…>

  • Resolution set to invalid
  • Status changed from new to closed

pls address to mailing list ...

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.