Modify

Opened 19 months ago

Last modified 14 months ago

#11070 new defect

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

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

Description (last modified by rjollos)

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 (4)

comment:1 Changed 19 months ago by rjollos

  • Description modified (diff)

comment:2 follow-up: Changed 19 months ago by 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.

comment:3 in reply to: ↑ 2 Changed 19 months 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 14 months ago by toverna

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.

Add Comment

Modify Ticket

Action
as new The owner will remain sandinak.
Author


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

 
Note: See TracTickets for help on using tickets.