Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13309 closed defect (fixed)

Timeline event provider failed

Reported by: ntmlod Owned by: matobaa
Priority: normal Component: ContextChromePlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Thanks for the new development but I didn't get to enjoy it.

2017-10-23 12:04:23,911 Trac[web_ui] ERROR: Timeline event provider failed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/timeline/web_ui.py", line 194, in process_request
    filters) or []:
  File "build/bdist.linux-x86_64/egg/contextchrome/linkdeco.py", line 68, in get_timeline_events
    ticket = Ticket(self.env, event[3][0].id)
AttributeError: 'list' object has no attribute 'id'
2017-10-23 12:04:23,933 Trac[main] WARNING: [XXX.XXX.XXX.XXX] HTTPInternalError: 500 Trac Error (<p class="message">Event provider <tt>TicketModule</tt> failed for filters "Tickets opened and closed", "Ticket updates": <b>AttributeError: 'list' object has no attribute 'id'</b></p><p>You may want to see the <a href="/nemo/timeline?changeset=on">other kinds of events</a> from the Timeline or notify your Trac administrator about the error (detailed information was written to the log).</p>)

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by ntmlod

Updated to r16908.

Fix the previous error but replace with a new one:

2017-10-23 12:26:55,043 Trac[web_ui] ERROR: Timeline event provider failed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/timeline/web_ui.py", line 194, in process_request
    filters) or []:
  File "build/bdist.linux-x86_64/egg/contextchrome/linkdeco.py", line 70, in get_timeline_events
    ticket = Ticket(self.env, event[3][0].id)
  File "/usr/lib/python2.7/site-packages/trac/ticket/model.py", line 69, in __init__
    tkt_id = int(tkt_id)
ValueError: invalid literal for int() with base 10: 'UBS_Wnoise_z735m.png'
2017-10-23 12:26:55,066 Trac[main] WARNING: [XXX.XXX.XXX.XXX] HTTPInternalError: 500 Trac Error (<p class="message">Event provider <tt>TicketModule</tt> failed for filters "Tickets opened and closed", "Ticket updates": <b>ValueError: invalid literal for int() with base 10: 'UBS_Wnoise_z735m.png'</b></p><p>You may want to see the <a href="/nemo/timeline?changeset=on">other kinds of events</a> from the Timeline or notify your Trac administrator about the error (detailed information was written to the log).</p>)

comment:2 Changed 7 years ago by matobaa

Status: newaccepted

comment:3 Changed 7 years ago by matobaa

Resolution: fixed
Status: acceptedclosed

In 16909:

Fixes #13309

I cannot reproduce your problem, but I tried to solve it. please confirm this fix.

comment:4 Changed 7 years ago by matobaa

In 16910:

refs #13309 cleanup

comment:5 Changed 7 years ago by ntmlod

Seems to have been fixed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain matobaa.
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.