Show differences dialogue crashes

Bug #725503 reported by Antti Pikkarainen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
High
Unassigned

Bug Description

When viewing the working tree, you can open "Show differences" dialogue.

The dialogue window opens but when file contents are being populated to scrollbar areas, I get often (about 50% of files) Error message. This happens often if there is only few changes or only altered carriage return / line feed characters.

Error content:
----------------
bzr: ERROR: exceptions.IndexError: pop from empty list

Traceback (most recent call last):
  File "G:/Program Files/Bazaar/plugins\qbzr\lib\trace.py", line 300, in reports_exception_decorate
  File "G:/Program Files/Bazaar/plugins\qbzr\lib\diffwindow.py", line 235, in initial_load
  File "bzrlib\cleanup.pyo", line 131, in run
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "G:/Program Files/Bazaar/plugins\qbzr\lib\diffwindow.py", line 248, in _initial_load
  File "G:/Program Files/Bazaar/plugins\qbzr\lib\diffwindow.py", line 404, in load_diff
  File "G:/Program Files/Bazaar/plugins\qbzr\lib\diffview.py", line 435, in append_diff
  File "G:/Program Files/Bazaar/plugins\qbzr\lib\diffview.py", line 384, in insertIxsWithChangesHighlighted
IndexError: pop from empty list

bzr 2.2.3 on python 2.6.4 (win32)
arguments: ['G:\\Program Files\\Bazaar\\tbzrcommand.exe', '--command=explorer', '--file=H:\\htdocs\\api']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools G:\Program Files\Bazaar\plugins\bzrtools [2.2.0]
  colo G:\Program Files\Bazaar\plugins\colo [0.2.0]
  explorer G:\Program Files\Bazaar\plugins\explorer [1.1.2]
  fastimport G:\Program Files\Bazaar\plugins\fastimport [0.9.0dev]
  launchpad G:\Program Files\Bazaar\plugins\launchpad [2.2.3]
  loom G:\Program Files\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store G:\Program Files\Bazaar\plugins\netrc_credential_store [2.2.3]
  news_merge G:\Program Files\Bazaar\plugins\news_merge [2.2.3]
  pipeline G:\Program Files\Bazaar\plugins\pipeline [1.1.0]
  qbzr G:\Program Files\Bazaar\plugins\qbzr [0.19.2]
  rewrite G:\Program Files\Bazaar\plugins\rewrite [0.6.1]
  svn G:\Program Files\Bazaar\plugins\svn [1.0.4]
  upload G:\Program Files\Bazaar\plugins\upload [1.0.0]
  xmloutput G:\Program Files\Bazaar\plugins\xmloutput [0.8.6]
--------------------

affects: bzr-explorer → qbzr
tags: added: qdiff
tags: added: syntax-highlight
Changed in qbzr:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
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.