Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4090 closed defect (invalid)

TypeError (PermissionCache is not iterable) on Roadmap page

Reported by: jtauber@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

While trying to verify fix for #4059 on r4150, I get

  File "/Library/Frameworks/Python.framework/Versions/2.5/share/trac/templates/error.html", line 79, in <Expression u""TRAC_ADMIN" not in perm">
    <py:when test="'TRAC_ADMIN' not in perm">
TypeError: argument of type 'PermissionCache' is not iterable

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Well, you apparently have an installation issue, and you're using some old trac/perm.py code, as in the new one, PermissionCache has a __contains__ method which should be called here (source:trunk/trac/perm.py@4150#L270).

comment:2 by jtauber@…, 18 years ago

Any suggestions on how to upgrade from one (running) revision on the trunk to another?

I did an svn up then re-installed which is what let to this error.

comment:3 by jtauber@…, 18 years ago

Resolution: invalid
Status: newclosed

Okay, solved the problem. I was not properly stopping tracd and so an old instance was still running with new code on disk.

I'll close it invalid as it was operator error.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.