Crashed when trying to view differences for a file.

Bug #1043267 reported by Alan Spark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
New
Undecided
Unassigned

Bug Description

I right clicked on a source file in the Commit dialog, chose Diff. The Diff screen came up but was not populated and crashed. It was reproducible for a single file, the others worked.

Here is the stack trace:

bzr: ERROR: exceptions.IndexError: pop from empty list

Traceback (most recent call last):
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\trace.py", line 365, in reports_exception_decorate
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diffwindow.py", line 364, in initial_load
  File "bzrlib\cleanup.pyo", line 132, in run
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diffwindow.py", line 378, in _initial_load
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diffwindow.py", line 472, in load_diff
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diffview.py", line 669, in append_diff
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diffview.py", line 617, in insertIxsWithChangesHighlighted
IndexError: pop from empty list

bzr 2.5.0 on python 2.6.6 (win32)
arguments: ['C:\\Program Files (x86)\\Bazaar\\tbzrcommand.exe', '--command=commit', '--file=F:\\RQS\\Development\\BZR\\src\\Rocket\\Plugins\\Code\\Eclipse\\CodeRocketViaCom']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.5.0]
  changelog_merge C:\Program Files (x86)\Bazaar\plugins\changelog_merge [2.5.0]
  colo C:\Program Files (x86)\Bazaar\plugins\colo [0.4.0]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.2.2]
  fastimport C:\Program Files (x86)\Bazaar\plugins\fastimport [0.14.0dev]
  git C:\Program Files (x86)\Bazaar\plugins\git [0.6.7]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.5.0]
  loom C:\Program Files (x86)\Bazaar\plugins\loom [2.3.0dev]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.5.0]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.5.0]
  pipeline C:\Program Files (x86)\Bazaar\plugins\pipeline [1.4.0]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.22.1]
  rewrite C:\Program Files (x86)\Bazaar\plugins\rewrite [0.6.4dev]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.2.1]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.2.0dev]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.8]

Tags: crash diff
Revision history for this message
Martin Packman (gz) wrote :

Thanks for the report, see the existing bug for more details.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.