Modify ↓
#5283 closed defect (worksforme)
Trac error: in permission list after adding the XML_RPC permission
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | needinfo |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hello there.
I have Trac 0.10.3 installed here, and after adding the XML_RPC permission to anonymous, "permission list" causes the following error:
Command failed: sequence item 0: expected string, list found
Meanwhile there is only anonymous with TRAC_ADMIN permission left, and the Trac Web UI gives me the following error:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.5/trac/web/main.py", line 183, in dispatch
req.perm = PermissionCache(self.env, req.authname)
File "/var/lib/python-support/python2.5/trac/perm.py", line 263, in __init__
self.perms = PermissionSystem(env).get_user_permissions(username)
File "/var/lib/python-support/python2.5/trac/perm.py", line 228, in get_user_permissions
_expand_meta(perm)
File "/var/lib/python-support/python2.5/trac/perm.py", line 226, in _expand_meta
[_expand_meta(perm) for perm in meta[action]]
File "/var/lib/python-support/python2.5/trac/perm.py", line 224, in _expand_meta
permissions[action] = True
TypeError: list objects are unhashable
Attachments (0)
Change History (6)
comment:1 by , 19 years ago
| Keywords: | verify added |
|---|---|
| Summary: | Trac error: → Trac error: in permission list after adding the XML_RPC permission |
comment:2 by , 19 years ago
| Keywords: | verify removed |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
| Version: | → 0.10.3 |
comment:4 by , 19 years ago
Thanks for caring so far!
I installed the XmlRpcPlugin and the ExtendedXmlRpc-Plugin. Also the AzCalendarPlugin.
comment:6 by , 19 years ago
| Keywords: | needinfo added |
|---|
Note:
See TracTickets
for help on using tickets.



I can't reproduce this issue neither with 0.10.3 nor 0.10.4:
I also tried with Python 2.4