Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1276 closed defect (fixed)

Error accessing the timeline

Reported by: Juanma Barranquero Owned by: Christopher Lenz
Priority: high Milestone: 0.9
Component: timeline Version: devel
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

While testing the current devel version from the repository, I get an error on accessing the Timeline:

Oops...
Trac detected an internal error:

global name 'row_node' is not defined

[...]

Traceback (most recent call last):
  File "C:\bin\python\lib\site-packages\trac\web\modpython_frontend.py", line 179, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "C:\bin\python\lib\site-packages\trac\web\main.py", line 319, in dispatch_request
    module.run(req)
  File "C:\bin\python\lib\site-packages\trac\Module.py", line 49, in run
    self.render(req)
  File "C:\bin\python\lib\site-packages\trac\Timeline.py", line 153, in render
    item = render_func(req, item)
  File "C:\bin\python\lib\site-packages\trac\Timeline.py", line 205, in _render_changeset
    if not self.authzperm.has_permission(row_node['name']):
NameError: global name 'row_node' is not defined

Attachments (0)

Change History (8)

comment:1 by Christopher Lenz, 17 years ago

Milestone: 0.9
Owner: changed from Jonas Borgström to Christopher Lenz
Priority: normalhigh
Status: newassigned

Whoa, that's mine.

comment:2 by Christopher Lenz, 17 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed in [1338].

comment:3 by Juanma Barranquero, 17 years ago

Resolution: fixed
Status: closedreopened

Not exactly:

ops...
Trac detected an internal error:

'R'

[...]

Traceback (most recent call last):
  File "C:\bin\python\lib\site-packages\trac\web\modpython_frontend.py", line 179, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "C:\bin\python\lib\site-packages\trac\web\main.py", line 319, in dispatch_request
    module.run(req)
  File "C:\bin\python\lib\site-packages\trac\Module.py", line 49, in run
    self.render(req)
  File "C:\bin\python\lib\site-packages\trac\Timeline.py", line 149, in render
    item = render_func(req, item)
  File "C:\bin\python\lib\site-packages\trac\Timeline.py", line 201, in _render_changeset
    files.append('<span class="%s">%s</span>'
KeyError: 'R'

comment:4 by Christopher Lenz, 17 years ago

Aargh. Need. More. Coffee.

comment:5 by Christopher Lenz, 17 years ago

Resolution: fixed
Status: reopenedclosed

[1340] should fix that, too.

Display of renames and copies sucks in the timeline, admittedly. I'm not a fan of the changeset_show_files option myself, so I'm not all too motivated in improving it.

comment:6 by anonymous, 17 years ago

Summary: Error accessing the timelinenews

testit

comment:7 by Christopher Lenz, 17 years ago

Summary: newsError accessing the timeline

comment:8 by Juanma Barranquero, 17 years ago

It works now, thanks.

Personally I find changeset_show_files quite useful to quickly review other people's changes.

Modify Ticket

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