qlog: selecting revno 1 leads to traceback

Bug #439330 reported by Alexander Belchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
High
Gary van der Merwe

Bug Description

To reproduce: Open qlog, scroll down to the beginning, select revno.1 and get traceback:

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

Traceback (most recent call last):
  File "C:\work\Bazaar\plugins\qbzr\lib\util.py", line 987, in decorate
  File "C:\work\Bazaar\plugins\qbzr\lib\util.py", line 999, in run_in_loading_queue
  File "C:\work\Bazaar\plugins\qbzr\lib\uifactory.py", line 31, in decorate
  File "C:\work\Bazaar\plugins\qbzr\lib\log.py", line 341, in update_revision_delta
  File "C:\work\Bazaar\plugins\qbzr\lib\logwidget.py", line 303, in get_selection_top_and_parent_revids
IndexError: tuple index out of range

bzr 2.0.0 on python 2.5.4 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'qlog']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
  acad C:\work\Bazaar\plugins\acad [0.8.0]
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.0]
  explorer C:\work\Bazaar\plugins\explorer [0.8.2]
  fastimport C:\work\Bazaar\plugins\fastimport [0.9.0dev]
  format1 C:\work\Bazaar\plugins\format1 [unknown]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.0]
  qbzr C:\work\Bazaar\plugins\qbzr [0.15.0dev]
  rebase C:\work\Bazaar\plugins\rebase [0.5.4dev]
  repoalias C:\work\Bazaar\plugins\repoalias [unknown]
  scmproj C:\work\Bazaar\plugins\scmproj [0.4.5]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.0]
  x_bit C:\work\Bazaar\plugins\x_bit [1.0.0]

Tags: qlog

Related branches

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

Hmm, it seems this is not related to PageDown. Traceback window is always pop up when I select first revision:

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

Traceback (most recent call last):
  File "C:\work\Bazaar\plugins\qbzr\lib\util.py", line 987, in decorate
  File "C:\work\Bazaar\plugins\qbzr\lib\util.py", line 999, in run_in_loading_queue
  File "C:\work\Bazaar\plugins\qbzr\lib\uifactory.py", line 31, in decorate
  File "C:\work\Bazaar\plugins\qbzr\lib\log.py", line 341, in update_revision_delta
  File "C:\work\Bazaar\plugins\qbzr\lib\logwidget.py", line 303, in get_selection_top_and_parent_revids
IndexError: tuple index out of range

bzr 2.0.0 on python 2.5.4 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'qlog']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
  acad C:\work\Bazaar\plugins\acad [0.8.0]
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.0]
  explorer C:\work\Bazaar\plugins\explorer [0.8.2]
  fastimport C:\work\Bazaar\plugins\fastimport [0.9.0dev]
  format1 C:\work\Bazaar\plugins\format1 [unknown]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.0]
  qbzr C:\work\Bazaar\plugins\qbzr [0.15.0dev]
  rebase C:\work\Bazaar\plugins\rebase [0.5.4dev]
  repoalias C:\work\Bazaar\plugins\repoalias [unknown]
  scmproj C:\work\Bazaar\plugins\scmproj [0.4.5]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.0]
  x_bit C:\work\Bazaar\plugins\x_bit [1.0.0]

summary: - qlog: quick jumps with PageDown leads to traceback
+ qlog: selecting revno 1 leads to traceback
description: updated
Revision history for this message
Alexander Belchenko (bialix) wrote :

This problem does not affect 0.14 branch, and only presents in trunk.

Changed in qbzr:
status: New → Confirmed
importance: Undecided → High
Changed in qbzr:
assignee: nobody → Gary van der Merwe (garyvdm)
milestone: none → 0.15
status: Confirmed → Fix Released
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.