qdiff crashes

Bug #697301 reported by Murilo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
New
Undecided
Unassigned

Bug Description

qdiff crashes when trying to visualize changes in a project. I've added two files, removed 2 files and changed 20 files. The same error occur in Ubuntu 10.10 and in windows XP with SP3.
The error message is:

bzr: failed to report crash using apport:
     OSError(13, 'Permiss\xc3\xa3o negada')
bzr: ERROR: exceptions.IndexError: pop from empty list

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/trace.py", line 300, in reports_exception_decorate
    return f(*args, **kargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 235, in initial_load
    op.run()
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 248, in _initial_load
    self.load_diff()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 404, in load_diff
    data, properties_changed)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffview.py", line 435, in append_diff
    insertIxsWithChangesHighlighted(ixs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffview.py", line 384, in insertIxsWithChangesHighlighted
    tag, n = g.pop(0)
IndexError: pop from empty list

bzr 2.2.1 on python 2.6.6 (Linux-2.6.35-23-generic-i686-with-Ubuntu-10.10-maverick)
arguments: ['/usr/bin/bzr', 'qdiff']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'pt_BR.utf8'
plugins:
  bash_completion /usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.2.1]
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.2.0]
  explorer /usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer [1.1.0]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.2.1]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
  news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.2.1]
  qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.19.1]

Revision history for this message
Vincent Ladeuil (vila) wrote :

Most probably fixed in recent versions.

affects: bzr → qbzr
Revision history for this message
Murilo (murilopsoares) wrote : Res: [Bug 697301] Re: qdiff crashes
Download full text (5.0 KiB)

I installed bzr version 2.3beta3 and the same error appears.

bzr: ERROR: exceptions.IndexError: pop from empty list

Traceback (most recent call last):
  File "C:/Arquivos de programas/Bazaar/plugins\qbzr\lib\trace.py", line 320, in
reports_exception_decorate
  File "C:/Arquivos de programas/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 "C:/Arquivos de programas/Bazaar/plugins\qbzr\lib\diffwindow.py", line
248, in _initial_load
  File "C:/Arquivos de programas/Bazaar/plugins\qbzr\lib\diffwindow.py", line
404, in load_diff
  File "C:/Arquivos de programas/Bazaar/plugins\qbzr\lib\diffview.py", line 434,
in append_diff
  File "C:/Arquivos de programas/Bazaar/plugins\qbzr\lib\diffview.py", line 383,
in insertIxsWithChangesHighlighted
IndexError: pop from empty list

bzr 2.3b3 on python 2.6.6 (Windows-XP-5.1.2600-SP3)
arguments: ['bzr', 'qdiff']
encoding: 'cp1252', fsenc: 'mbcs', lang: 'C'
plugins:
  bzrtools C:\Arquivos de programas\Bazaar\plugins\bzrtools [2.3.0]
  colo C:\Arquivos de programas\Bazaar\plugins\colo [0.2.1dev]
  explorer C:\Arquivos de programas\Bazaar\plugins\explorer
[1.1.2dev]
  fastimport C:\Arquivos de programas\Bazaar\plugins\fastimport
[0.10.0dev]
  launchpad C:\Arquivos de programas\Bazaar\plugins\launchpad [2.3b3]
  loom C:\Arquivos de programas\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Arquivos de
programas\Bazaar\plugins\netrc_credential_store [2.3b3]
  news_merge C:\Arquivos de programas\Bazaar\plugins\news_merge
[2.3b3]
  pipeline C:\Arquivos de programas\Bazaar\plugins\pipeline
[unknown]
  qbzr C:\Arquivos de programas\Bazaar\plugins\qbzr [0.20.0dev1]
  rewrite C:\Arquivos de programas\Bazaar\plugins\rewrite
[0.6.2dev]
  svn C:\Arquivos de programas\Bazaar\plugins\svn [1.0.5dev]
  upload C:\Arquivos de programas\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Arquivos de programas\Bazaar\plugins\xmloutput
[0.8.7.dev]

________________________________
De: Vincent Ladeuil <email address hidden>
Para: <email address hidden>
Enviadas: Terça-feira, 4 de Janeiro de 2011 16:34:55
Assunto: [Bug 697301] Re: qdiff crashes

Most probably fixed in recent versions.

** Project changed: bzr => qbzr

--
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/697301

Title:
  qdiff crashes

Status in Qt frontend for Bazaar:
  New

Bug description:
  qdiff crashes when trying to visualize changes in a project. I've added two
files, removed 2 files and changed 20 files. The same error occur in Ubuntu
10.10 and in windows XP with SP3.
The error message is:

bzr: failed to report crash using apport:
     OSError(13, 'Permiss\xc3\xa3o negada')
bzr: ERROR: exceptions.IndexError: pop from empty list

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/trace.py", line
300, in reports_except...

Read more...

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.