Ticket #5096 (reopened defect)
Error getting user's permissions with Postgres
| Reported by: | anonymous | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.5 |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | postgres pypgsql needinfo |
| Cc: |
Description (last modified by cboos) (diff)
http://trac.gajim.org/ticket/2468 Oops… Trac detected an internal error:
If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.
Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.
TracGuide — The Trac User and Administration Guide Python Traceback
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 183, in dispatch
req.perm = PermissionCache(self.env, req.authname)
File "/var/lib/python-support/python2.4/trac/perm.py", line 263, in __init__
self.perms = PermissionSystem(env).get_user_permissions(username)
File "/var/lib/python-support/python2.4/trac/perm.py", line 227, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "/var/lib/python-support/python2.4/trac/perm.py", line 112, in get_user_permissions
rows = cursor.fetchall()
File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 3261, in fetchall
return self.__fetchManyRows(self._rows_, _list)
File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 2838, in __fetchManyRows
_j = self.__fetchOneRow()
File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 2813, in __fetchOneRow
_j.append(_c.typecast(self.description[_i],
TypeError: unsubscriptable object
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
