qann: traceback when click on the text

Bug #493499 reported by Alexander Belchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Critical
Alexander Belchenko

Bug Description

OPen big file, scroll down with mouse, then click on text, got error dialog with traceback:

bzr: ERROR: exceptions.TypeError: argument 1 of QFontMetrics.elidedText() has an invalid type

Traceback (most recent call last):
  File "C:\work\Bazaar\plugins\qbzr\lib\texteditannotate.py", line 57, in paintEvent
  File "C:\work\Bazaar\plugins\qbzr\lib\annotate.py", line 145, in paint_line
  File "C:\work\Bazaar\plugins\qbzr\lib\revtreeview.py", line 226, in paint_revno
TypeError: argument 1 of QFontMetrics.elidedText() has an invalid type

bzr 2.0.2 on python 2.5.4 (win32)
arguments: ['bzr', 'qann', 'game_analize.c']
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.1]
  explorer C:\work\Bazaar\plugins\explorer [0.10.0dev]
  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.2]
  qbzr C:\work\Bazaar\plugins\qbzr [0.17.0dev]
  rebase C:\Program Files\Bazaar\plugins\rebase [0.5.4]
  repoalias C:\work\Bazaar\plugins\repoalias [unknown]
  scmproj C:\work\Bazaar\plugins\scmproj [0.6.0dev]
  stats C:\work\Bazaar\plugins\stats [unknown]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.0]
  x_bit C:\work\Bazaar\plugins\x_bit [1.0.0]

Tags: qannotate

Related branches

Changed in qbzr:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 0.17
Changed in qbzr:
assignee: nobody → Alexander Belchenko (bialix)
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.