qlog exceptions.KeyError: (1318, 12)

Bug #817344 reported by Stas Kalashnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

When I try to close revision 1318.13.1 node (look at the screenshot), I get the following exception:

bzr: ERROR: exceptions.KeyError: (1318, 12)

Traceback (most recent call last):
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\logwidget.py", line 246, in mousePressEvent
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\logmodel.py", line 245, in collapse_expand_rev
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\loggraphviz.py", line 1374, in collapse_expand_rev
KeyError: (1318, 12)

bzr 2.3.4 on python 2.6.6 (win32)
arguments: ['bzr', 'qlog']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'en'
plugins:
  bookmarks C:\Program Files (x86)\Bazaar\plugins\bookmarks [2.3.0dev]
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.3.1]
  colo C:\Program Files (x86)\Bazaar\plugins\colo [0.3.0]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.1.4]
  fastimport C:\Program Files (x86)\Bazaar\plugins\fastimport [0.10.0]
  grep C:\Program Files (x86)\Bazaar\plugins\grep [0.4.0]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.3.4]
  loom C:\Program Files (x86)\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.3.4]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.3.4]
  pipeline C:\Program Files (x86)\Bazaar\plugins\pipeline [1.1.0]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.20.1]
  rewrite C:\Program Files (x86)\Bazaar\plugins\rewrite [0.6.2dev]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.5dev]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.7.dev]

bookmarks 2.3.0dev
   Bazaar Bookmarks

bzrtools 2.3.1
   Various useful commands for working with bzr.

colo 0.3.0
   Work with colocated branches using current technology.

explorer 1.1.4
   Version Control for Human Beings.

fastimport 0.10.0
   FastImport Plugin

grep 0.4.0
   Print lines matching PATTERN for specified files and revisions.

launchpad 2.3.4
   Launchpad.net integration plugin for Bazaar.

loom 2.2.1dev
   Loom is a bzr plugin which adds new commands to manage a loom of patches.

netrc_credential_store 2.3.4
   Use ~/.netrc as a credential store for authentication.conf.

news_merge 2.3.4
   Merge hook for bzr's NEWS file.

pipeline 1.1.0
   Manage a series of branches as a pipeline.

qbzr 0.20.1
   QBzr - Qt-based frontend for Bazaar

rewrite 0.6.2dev
   Rebase support.

svn 1.0.5dev
   Support for Subversion branches

upload 1.0.0
   Upload a working tree, incrementally.

xmloutput 0.8.7.dev
   This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.

Revision history for this message
Stas Kalashnikov (halega) wrote :
Revision history for this message
Stas Kalashnikov (halega) wrote :

Short video demonstrating the bug.

Revision history for this message
Jonathan Riddell (jr) wrote :

Do you have a branch publicly available we could test on?

Changed in qbzr:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Stas Kalashnikov (halega) wrote :

> Do you have a branch publicly available we could test on?
The source code is not available publicly and I my try to recreate the branch structure in a test repo failed.

Revision history for this message
Stas Kalashnikov (halega) wrote :

I have repeated this bug in a test repository. It's branch colocated repository. Start qlog in trunk and open "Bugfix32" node (rev 15) and then "Version 2.1" node (rev 2.2.1). And then when I try to close "Version 2.1" node I get an exception.

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.