Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#10732 closed defect (duplicate)

TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

Reported by: vlemaire Owned by:
Priority: normal Milestone:
Component: version control Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /changeset/b1ab36609c812aba2567164348fe058821bad07b/git, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'new': u'b1ab36609c812aba2567164348fe058821bad07b', 'new_path': u'/git'}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1

System Information

Trac 0.12.2
Babel 0.9.5
CustomFieldAdmin 0.2.6-r10460
Docutils 0.8.1
Genshi 0.6
GIT 1.7.2.5
mod_wsgi 3.3 (WSGIProcessGroup longchamp-ecommerce-trac WSGIApplicationGroup %{GLOBAL})
Pygments 1.5
pysqlite 2.4.1
Python 2.6.6 (r266:84292, Dec 26 2010, 22:48:11)
[GCC 4.4.5]
pytz 2012b
setuptools 0.6
SQLite 3.7.3
Subversion 1.6.12 (r955767)
jQuery 1.4.2

Enabled Plugins

AdvancedTicketWorkflowPlugin 0.11dev-r9962
BatchModify 0.8.0-trac0.12
BlackMagicTicketTweaks 0.12r1
IniAdmin 0.2-r10454
PrivateWikis 1.0.0
TracCustomFieldAdmin 0.2.6-r10460
TracDateField 1.0.2-r10435
TracDragDrop 0.12.0.8-r11625
TracGit 0.12.0.5dev
TracMasterTickets 2.2
TracMetrixPlugin 0.1.8
TracSectionEditPlugin 0.2.1-r10449
Tracticketstats 2.2.0
TracTicketTemplate 0.7
TracWikiPrintPlugin 1.8.4
TracWysiwyg 0.12.0.3-r9676
TypedTicketWorkflow-plugin 0.1dev-r4791
WorkflowEditorPlugin 1.1.5-r10055

Python Traceback

Traceback (most recent call last):
  File "/opt/trac0.12/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/trac0.12/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/trac0.12/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/versioncontrol/web_ui/changeset.py", line 352, in process_request
    self._render_html(req, repos, chgset, restricted, xhr, data)
  File "/opt/trac0.12/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/versioncontrol/web_ui/changeset.py", line 586, in _render_html
    diff_bytes += _estimate_changes(old_node, new_node)
  File "/opt/trac0.12/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/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'

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 12 years ago

Component: generalversion control
Resolution: duplicate
Status: newclosed

See #10162.

Modify Ticket

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