Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4776 closed defect (fixed)

local variable 'realm' referenced before assignment

Reported by: Jirka Vejrazka Owned by: Martin Scharrer
Priority: normal Component: WatchlistPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Hi Martin! Me again, sorry. After updating Watchlist plugin yesterday (#4762), clicking on the "Watchlist" button on the toolbar on pretty much any page gives me UnboundLocalError: local variable 'realm' referenced before assignment in tracwatchlist/", line 141, in process_request.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Martin Scharrer

Resolution: fixed
Status: newclosed

Got it. Fixed in 5357. This things happen if you copy&paste code from one place to another ... I'm supprised that I never got an error. Probably the same instance used for the add/remove action was reused for the view action, so that the variable was still initialised.

comment:2 Changed 8 years ago by Martin Scharrer

Sorry, here again with hyperlink: [5357]

comment:3 Changed 8 years ago by Jirka Vejrazka

That helped - thanks again!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Martin Scharrer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.