Edgewall Software

Changes between Initial Version and Version 1 of Ticket #10162


Ignore:
Timestamp:
May 3, 2011, 8:30:09 AM (12 years ago)
Author:
Remy Blank
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10162 – Description

    initial v1  
    1      How to Reproduce      While doing a GET operation on `/changeset/26e036576133f07b15eeb4363bf993b67bf9eacb/tp`, Trac issued an internal error.
     1How to Reproduce
     2
     3While doing a GET operation on `/changeset/26e036576133f07b15eeb4363bf993b67bf9eacb/tp`, Trac issued an internal error.
    24
    35This only happens for a changeset that only updates git submodules, for which "get_content_length" returns None (because there is no associated git blob).
     
    810
    911
    10 Request parameters: {{{ { new : u 26e036576133f07b15eeb4363bf993b67bf9eacb ,  new_path : u /tp } }}} User agent: `Mozilla/5.0  X11; U; Linux x86_64; en-US; rv:1.9.2.17  Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17`      System Information      ||    `Trac`    || `0.12.1` || ||    `Docutils`    || `0.7` || ||    `Genshi`    || `0.6` || ||    `GIT`    || `1.7.3.4` || ||    `psycopg2`    || `2.2.2` || ||    `Pygments`    || `1.3.1` || ||    `Python`    || `2.6.6  r266:84292, Mar 6 2011, 17:53:48  `   br   ` GCC 4.3.4 ` || ||    `pytz`    || `2010o` || ||    `setuptools`    || `0.6` || ||    `Subversion`    || `1.6.16  r1073529 ` || ||    `jQuery`    || `1.4.2` ||      Enabled Plugins      ||    `BatchModify`    || `0.8.0-trac0.12` || ||    `FilteredTicketQuery`    || `N/A` || ||    `timingandestimationplugin`    || `1.0.6` || ||    `TracGit`    || `0.12.0.6dev` ||      Python Traceback      {{{ Traceback  most recent call last :  File  /usr/lib64/python2.6/site-packages/trac/web/main.py , line 511, in _dispatch_request  dispatcher.dispatch req   File  /usr/lib64/python2.6/site-packages/trac/web/main.py , line 237, in dispatch  resp   chosen_handler.process_request req   File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 352, in process_request  self._render_html req, repos, chgset, restricted, xhr, data   File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 586, in _render_html  diff_bytes   _estimate_changes old_node, new_node   File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 537, in _estimate_changes  return old_size new_size TypeError: unsupported operand type s  for :  NoneType  and  NoneType  }}}
     12Request parameters:
     13{{{
     14{ new : u 26e036576133f07b15eeb4363bf993b67bf9eacb ,  new_path : u /tp }
     15}}}
     16User agent: `Mozilla/5.0  X11; U; Linux x86_64; en-US; rv:1.9.2.17  Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17`
     17
     18System Information
     19||    `Trac`    || `0.12.1` ||
     20||    `Docutils`    || `0.7` ||
     21||    `Genshi`    || `0.6` ||
     22||    `GIT`    || `1.7.3.4` ||
     23||    `psycopg2`    || `2.2.2` ||
     24||    `Pygments`    || `1.3.1` ||
     25||    `Python`    || `2.6.6  r266:84292, Mar 6 2011, 17:53:48  `   br   ` GCC 4.3.4 ` ||
     26||    `pytz`    || `2010o` ||
     27||    `setuptools`    || `0.6` ||
     28||    `Subversion`    || `1.6.16  r1073529 ` ||
     29||    `jQuery`    || `1.4.2` ||
     30
     31Enabled Plugins
     32||    `BatchModify`    || `0.8.0-trac0.12` ||
     33||    `FilteredTicketQuery`    || `N/A` ||
     34||    `timingandestimationplugin`    || `1.0.6` ||
     35||    `TracGit`    || `0.12.0.6dev` ||
     36
     37Python Traceback
     38{{{
     39Traceback  most recent call last :
     40File  /usr/lib64/python2.6/site-packages/trac/web/main.py , line 511, in _dispatch_request
     41dispatcher.dispatch req
     42File  /usr/lib64/python2.6/site-packages/trac/web/main.py , line 237, in dispatch
     43resp   chosen_handler.process_request req
     44File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 352, in process_request
     45self._render_html req, repos, chgset, restricted, xhr, data
     46File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 586, in _render_html
     47diff_bytes   _estimate_changes old_node, new_node
     48File  /usr/lib64/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py , line 537, in _estimate_changes
     49return old_size new_size
     50TypeError: unsupported operand type s  for :  NoneType  and  NoneType
     51}}}