Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8432 closed defect (fixed)

Revision Log: Show Adds/Deletes TypeError

Reported by: rschwartz@… Owned by: Christian Boos
Priority: normal Milestone: 0.11.6
Component: version control/log view Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

This error is reproducible on http://trac.edgewall.org.

Steps to reproduce:
Open the Revision Log screen
Change mode to "Show only adds and deletes"
Click Update
Error occurs

The error is similar to #5932 but seems different. Potentially a duplicate?

I can also reproduce this error with our internal Trac environment running 0.11.4. Below is the short stack trace from our system

File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/versioncontrol/templates/revisionlog.html", line 142, in <Expression u'dateinfo(change.date)'>
  <td class="date" py:content="dateinfo(change.date)" />
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/timeline/web_ui.py", line 236, in dateinfo
  pretty_timedelta(date),
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/util/datefmt.py", line 71, in pretty_timedelta
  time1 = to_datetime(time1)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/util/datefmt.py", line 51, in to_datetime
  type(t))

Attachments (0)

Change History (6)

comment:1 by Christian Boos, 15 years ago

Which path?

comment:2 by Christian Boos, 15 years ago

Milestone: 0.11.6
Owner: set to Christian Boos
Status: newassigned

Ok, toplevel. Will try to reproduce on my teo-mirror, but I guess it must be a changeset without svn:date revprop.

(not for 0.11.5)

comment:3 by anonymous, 15 years ago

Looks like just root. I tested trunk and branches and they seem to be working fine.

comment:4 by Christian Boos, 15 years ago

Status: assignednew

It's just for the root.

And "Show only adds and deletes" should really use the cache if available.

comment:5 by Christian Boos, 15 years ago

Milestone: 0.11.60.12.1

comment:6 by Christian Boos, 15 years ago

Milestone: 0.12.10.11.6
Resolution: fixed
Status: newclosed

Fixed by r8400.

Modify Ticket

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