Modify ↓
Opened 16 years ago
Closed 15 years ago
#4714 closed defect (worksforme)
AttributeError: Cannot find an implementation of the "IPermissionStore" interface named "SuperUserPlugin".
Reported by: | Alexis de BRUYN | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Component: | SuperUserPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
On Trac 0.11.3 with python 2.5, I have got the following error :
traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/api.py", line 367, in send_error 'text/html') File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/chrome.py", line 708, in render_template data = self.populate_data(req, data) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/chrome.py", line 618, in populate_data d['chrome'].update(req.chrome) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/api.py", line 194, in __getattr__ value = self.callbacks[name](self) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/web/chrome.py", line 476, in prepare_request for category, name, text in contributor.get_navigation_items(req): File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/ticket/web_ui.py", line 163, in get_navigation_items if 'TICKET_CREATE' in req.perm: File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/perm.py", line 524, in has_permission return self._has_permission(action, resource) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/perm.py", line 538, in _has_permission check_permission(action, perm.username, resource, perm) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/perm.py", line 425, in check_permission perm) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/perm.py", line 282, in check_permission get_user_permissions(username) File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/perm.py", line 357, in get_user_permissions for perm in self.store.get_user_permissions(username): File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/config.py", line 466, in __get__ self.section, self.name)) AttributeError: Cannot find an implementation of the "IPermissionStore" interface named "SuperUserPlugin". Please update the option trac.permission_store in trac.ini.
The plugin was installed with :
easy_install http://trac-hacks.org/svn/superuserplugin
And the trac.ini
modified as mentioned in the wiki.
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by
Owner: | changed from Álvaro Iradier to anonymous |
---|---|
Status: | new → assigned |
comment:2 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Looks like the plugin is not correctly enabled... Try enabling the plugin:
without changing the permission store (avoid the following change):
and check the plugin is listed and enabled in the trac admin.
If not, please include the output of the easy_install command. Also, did you try restarting the web server?