Modify ↓
Opened 18 years ago
Closed 18 years ago
#422 closed defect (fixed)
AttributeError: 'unicode' object has no attribute 'self'
Reported by: | anonymous | Owned by: | Brad Anderson |
---|---|---|---|
Priority: | normal | Component: | DbAuthPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 313, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 184, in dispatch req.perm = PermissionCache(self.env, req.authname) File "/usr/lib/python2.4/site-packages/trac/perm.py", line 267, in __init__ self.perms = PermissionSystem(env).get_user_permissions(username) File "/usr/lib/python2.4/site-packages/trac/perm.py", line 231, in get_user_permissions for perm in self.store.get_user_permissions(username): File "/usr/lib/python2.4/site-packages/trac/perm.py", line 106, in get_user_permissions subjects += list(provider.get_permission_groups(username)) File "build/bdist.linux-x86_64/egg/dbauth/perm.py", line 46, in get_permission_groups AttributeError: 'unicode' object has no attribute 'self'
Ubuntu 6.06 AMD64 Python 2.4 SQLite 3
Attachments (0)
Change History (3)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 18 years ago by
The weird thing is that the line in question doesn't have a unicode or self reference.
http://www.trac-hacks.org/browser/dbauthplugin/0.10/dbauth/perm.py#L46
Something with python handling strings on your system? Because that's the beginning of a string variable...
comment:3 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Formatted exception usefully.