Modify

Opened 17 years ago

Closed 16 years ago

#2244 closed defect (worksforme)

Error when accessing Link of SvnAuthzAdminPlugin Component

Reported by: reuthlin@… Owned by: Kis Gergely
Priority: low Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hi there,

here is the trace of the error:

Traceback (most recent call last):

File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/web_ui.py", line 119, in process_request

path_info)

File "build/bdist.linux-i686/egg/svnauthz/admin_ui.py", line 68, in process_admin_request

editgroup = self._edit_group(req, cat, page, path_info)

File "build/bdist.linux-i686/egg/svnauthz/admin_ui.py", line 297, in _edit_group

candidates = self._get_candidate_subjects(not_in_list)

File "build/bdist.linux-i686/egg/svnauthz/admin_ui.py", line 305, in _get_candidate_subjects

users = [user for user in self.account_manager.get_users()

File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 92, in get_users

return self.password_store.get_users()

File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 120, in password_store

return self._password_store

File "/var/lib/python-support/python2.5/trac/config.py", line 383, in get

self.section, self.name))

AttributeError: Cannot find an implementation of the "IPasswordStore" interface named "". Please update the option account-manager.password_store in trac.ini.

This error happened as I clicked on some of the "Subversion Groups"-links and "Subversion Paths"-links at this component. I looked for the entry mentioned in the trace msg, but didn't find any "account-manager.password_store"-option at my trac.ini.

Greets, Felix

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by reuthlin@…

Ok I found a way to solve this problem:

as I just installed this plugin, without trying out anything of the AccountManager-Plugin before, there is just nothing selected at the AccountManager-Plugin. So nothing was written to the trac.ini by this plugin. If you just run the selection of the AccountManager-Plugin once (i.e. saving the option "HtPasswdStore" at the option "Configuration" of the AccountManager-Plugin), then the needed entries are made and SvnAuthzAdminPlugin works as it should.

Maybe it would be an option to add this to the installation description?

Anyway very nice component :-)

Greets, Felix

comment:2 Changed 16 years ago by rupert thurner

Priority: normallow
Resolution: worksforme
Status: newclosed

feel free to add it :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Kis Gergely.
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.