Edgewall Software

Opened 18 years ago

Last modified 17 years ago

#3287 closed defect

crash while trying to view a changeset — at Version 1

Reported by: anonymous Owned by: Christian Boos
Priority: normal Milestone:
Component: version control Version: devel
Severity: normal Keywords: svn
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

http://trac.foo.bar/trac/efg/changeset/3267

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 314, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 199, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 255, in process_request
    diff_args, diff_options)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 480, in _render_html
    diff_bytes += _estimate_changes(old_node, new_node)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 434, in _estimate_changes
    return old_size + new_size
TypeError: unsupported operand type(s) for +: 'NoneType' and 'long'

Change History (1)

comment:1 by Christian Boos, 18 years ago

Component: generalversion control
Description: modified (diff)
Keywords: svn added
Owner: changed from Jonas Borgström to Christian Boos

Interesting, this would correspond to an EDIT change for a FILE with the old_node returning None for get_content_length… but this should only happen for a DIRECTORY

Can you provide me with some more informations, like the file types and sizes from the files involved in the changeset, before and after the changeset?

Note: See TracTickets for help on using tickets.