Modify

Opened 11 years ago

Closed 9 years ago

#11070 closed defect (worksforme)

AttributeError: 'UserExtensiblePermissionStore' object has no attribute 'group_providers'

Reported by: anonymous Owned by: branson
Priority: normal Component: DirectoryAuthPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/web_ui.py", line 125, in process_request
    req.perm(page.resource).require('WIKI_VIEW')
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/perm.py", line 578, in require
    if not self._has_permission(action, resource):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/perm.py", line 570, in _has_permission
    check_permission(action, perm.username, resource, perm)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/perm.py", line 462, in check_permission
    perm)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/perm.py", line 296, in check_permission
    get_user_permissions(username)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/perm.py", line 398, in get_user_permissions
    for perm in self.store.get_user_permissions(username) or []:
  File "/usr/local/lib/python2.7/dist-packages/TracDirectoryAuth-1.0.1-py2.7.egg/tracext/dirauth/api.py", line 54, in get_user_permissions
    for provider in self.group_providers:
AttributeError: 'UserExtensiblePermissionStore' object has no attribute 'group_providers'

Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 11 years ago by Ryan J Ollos

group_providers = ExtensionPoint(IPermissionGroupProvider) is commented out in the source code.

Not too surprised to see another error though. This plugin is completely broken.

comment:3 in reply to:  2 Changed 11 years ago by anonymous

Replying to rjollos:

group_providers = ExtensionPoint(IPermissionGroupProvider) is commented out in the source code.

Not too surprised to see another error though. This plugin is completely broken.

Anyone have work arounds for this? Use an older version ??

comment:4 Changed 10 years ago by Uni

Hello. Has anyone foud solution to this? I used trunk version of plugin and have same error. When used 0.11 version of plugin I cant configure it because of documentation is for newer verstions.

comment:5 Changed 9 years ago by bebbo

Resolution: worksforme
Status: newclosed

does not occur in the current version

Modify Ticket

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