bzr qlog crash when repo has been updated from SVN and the refresh button is pressed

Bug #711924 reported by Scott Gibson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Incomplete
Undecided
Unassigned

Bug Description

I am using:
Bazaar (bzr) 2.2.2
  Python interpreter: c:\Program Files\Bazaar\python26.dll 2.6.4
  Python standard library: c:\Program Files\Bazaar\lib\library.zip
  Platform: Windows-XP-5.1.2600-SP3
  bzrlib: c:\Program Files\Bazaar\lib\library.zip\bzrlib

I have a repository that was branched from an SVN repository. The steps to reproduce are:

1) bzr qlog filename.pl
2) bzr pull (to retrieve updates from the SVN repository)
3) press the Refresh button in the qlog window
4) the error below is given

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

Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\trace.py", line 300, in reports_exception_decorate
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\log.py", line 272, in refresh
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logwidget.py", line 241, in refresh
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logwidget.py", line 249, in load
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logmodel.py", line 110, in load_graph_all_revisions
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logmodel.py", line 105, in load_graph
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 517, in load_graph_all_revisions
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 692, in _load_graph
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 1006, in invaladate_filter_cache
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logmodel.py", line 75, in revisions_filter_changed
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logmodel.py", line 296, in on_filter_changed
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\logmodel.py", line 117, in compute_lines
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 1103, in compute_graph_lines
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 956, in get_revision_visible_if_branch_visible_cached
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 971, in get_revision_visible_if_branch_visible
IndexError: list index out of range

bzr 2.2.2 on python 2.6.4 (win32)
arguments: ['c:\\Program Files\\Bazaar\\bzr.exe', 'qlog', 'eligibility/bin/process_claims.pl']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.2.0]
  colo C:\Program Files\Bazaar\plugins\colo [0.1.0]
  explorer C:\Program Files\Bazaar\plugins\explorer [1.1.1]
  extmerge C:\Documents and Settings\sgibson\Application Data\bazaar\2.0\plugins\extmerge [unknown]
  fastimport C:\Program Files\Bazaar\plugins\fastimport [0.9.0dev]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.2.2]
  loom C:\Program Files\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.2.2]
  news_merge C:\Program Files\Bazaar\plugins\news_merge [2.2.2]
  pipeline C:\Program Files\Bazaar\plugins\pipeline [unknown]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.19.2]
  rewrite C:\Program Files\Bazaar\plugins\rewrite [0.6.1]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.4]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.6]

Revision history for this message
Scott Gibson (wsgibson) wrote :

I should also add that this example is when the file viewed by bzr qlog has been updated as a result of the bzr pull command. I can close the qlog windows and open again in order to view the full log details once again. Thanks.

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

I've done quite a bit of bug fixes for qlog refresh in trunk, which is not yet released. I possible, please will you test if you have this bug with trunk.

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

@Scott: do you still have this problem with bzr 2.3.1 and qbzr 0.20.1?

Changed in qbzr:
status: New → Incomplete
Revision history for this message
Scott Gibson (wsgibson) wrote :

The fix works for me. Thanks!

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.