annotate crashed after clicking in file

Bug #557381 reported by Joseph Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Incomplete
Undecided
Unassigned

Bug Description

I right clicked a file and chose "annotate".

The screen pops up and works 'correctly'... I can click on the history at hte bottom left to see the log and expand other branches merges.

However if I click on the main part of this window, where the actual file is, it crashes.

bzr: ERROR: exceptions.IndexError: list index out of range

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\bzrlib\plugins\qbzr\lib\annotate.py", line 444, in edit_cursorPositionChanged
    rev_id, is_top = self.text_edit.annotate[current_line]
IndexError: list index out of range

bzr 2.1.1 on python 2.6.5 (win32)
arguments: ['C:\\Python26\\Scripts\\bzr', 'explorer']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  explorer C:\Python26\lib\site-packages\bzrlib\plugins\explorer [1.0.1]
  launchpad C:\Python26\lib\site-packages\bzrlib\plugins\launchpad [2.1.1]
  netrc_credential_store C:\Python26\lib\site-packages\bzrlib\plugins\netrc_credential_store [2.1.1]
  news_merge C:\Python26\lib\site-packages\bzrlib\plugins\news_merge [2.1.1]
  qbzr C:\Python26\lib\site-packages\bzrlib\plugins\qbzr [0.18.5]

Revision history for this message
Alexander Belchenko (bialix) wrote :

are you clicking on the text of the file, or somewhere below the text?

affects: bzr-explorer → qbzr
Revision history for this message
Alexander Belchenko (bialix) wrote :

also, please tell us what version of PyQt4 you're using.

Changed in qbzr:
status: New → Incomplete
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.