Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#10785 closed defect (invalid)

TypeError: sequence item 2: expected string or Unicode, tuple found

Reported by: sandeep.nadkarni@… Owned by:
Priority: high Milestone:
Component: admin/console Version: 0.12.3
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on , Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (X11; Linux x86_64) KHTML/4.8.4 (like Gecko) Konqueror/4.8 Fedora/4.8.4-5.fc17

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 525, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 246, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/wiki/web_ui.py", line 120, in process_request
    req.perm(page.resource).require('WIKI_VIEW')
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 575, in require
    if not self._has_permission(action, resource):
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 567, in _has_permission
    check_permission(action, perm.username, resource, perm)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 454, in check_permission
    perm)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 286, in check_permission
    get_user_permissions(username)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 372, in get_user_permissions
    for perm in self.store.get_user_permissions(username) or []:
  File "/usr/lib/python2.6/site-packages/TracActiveDirectoryAuth-0.3-py2.6.egg/tracext/adauth/api.py", line 43, in get_user_permissions
    subjects.update(provider.get_permission_groups(username))
  File "/usr/lib/python2.6/site-packages/TracActiveDirectoryAuth-0.3-py2.6.egg/tracext/adauth/auth.py", line 180, in get_permission_groups
    dn = self._get_user_dn(username)
  File "/usr/lib/python2.6/site-packages/TracActiveDirectoryAuth-0.3-py2.6.egg/tracext/adauth/auth.py", line 237, in _get_user_dn
    if self.has_user(user):
  File "/usr/lib/python2.6/site-packages/TracActiveDirectoryAuth-0.3-py2.6.egg/tracext/adauth/auth.py", line 129, in has_user
    users = self.get_users()
  File "/usr/lib/python2.6/site-packages/TracActiveDirectoryAuth-0.3-py2.6.egg/tracext/adauth/auth.py", line 76, in get_users
    'proxyAddresses', 'displayName'])
  File "/usr/lib/python2.6/site-packages/TracActiveDirectoryAuth-0.3-py2.6.egg/tracext/adauth/auth.py", line 389, in _ad_search
    keystr = ",".join([ base_dn, str(scope), filter, ":".join(attrs) ])
TypeError: sequence item 2: expected string or Unicode, tuple found

Attachments (0)

Change History (1)

in reply to:  description comment:1 by Christian Boos, 12 years ago

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.