bzr crashed with TypeError in update_search(): QAbstractItemView.setCurrentIndex(QModelIndex): argument 1 has unexpected type 'NoneType'

Bug #760698 reported by Ugo Riboni
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
High
Unassigned
qbzr (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: bzr

I was using bzr qlog to search for a revision number in the history of a branch.
As soon as i typed the last digits of the revision, it crashed. I can reproduce the crash consistentently.

This is some additional data that was reported in a separate window from the apport window:

bzr: ERROR: exceptions.TypeError: QAbstractItemView.setCurrentIndex(QModelIndex): argument 1 has unexpected type 'NoneType'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/uifactory.py", line 32, in decorate
    r = f(*args, **kargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/log.py", line 471, in update_search
    self.log_list.setCurrentIndex(index)
TypeError: QAbstractItemView.setCurrentIndex(QModelIndex): argument 1 has unexpected type 'NoneType'

bzr 2.3.1 on python 2.7.1 (linux2)
arguments: ['/usr/bin/bzr', 'qlog']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bash_completion /usr/lib/python2.7/dist-packages/bzrlib/plugins/bash_completion [2.3.1]
  builddeb /usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb [2.7.0dev]
  bzrtools /usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools [2.3.1]
  launchpad /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad [2.3.1]
  netrc_credential_store /usr/lib/python2.7/dist-packages/bzrlib/plugins/netrc_credential_store [2.3.1]
  news_merge /usr/lib/python2.7/dist-packages/bzrlib/plugins/news_merge [2.3.1]
  qbzr /usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr [0.20.0]
  rewrite /usr/lib/python2.7/dist-packages/bzrlib/plugins/rewrite [0.6.2dev]

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.3.1
CommandLine: ['/usr/bin/bzr', 'qlog']
CrashDb: bzr
Date: Thu Apr 14 15:47:28 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-2.6.38-8-generic-i686-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr qlog
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with TypeError in update_search(): QAbstractItemView.setCurrentIndex(QModelIndex): argument 1 has unexpected type 'NoneType'
UpgradeStatus: No upgrade log present (probably fresh install)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Ugo Riboni (uriboni) wrote :
tags: removed: need-duplicate-check
Andrew Bennetts (spiv)
visibility: private → public
affects: bzr (Ubuntu) → qbzr (Ubuntu)
Changed in qbzr:
status: New → Confirmed
importance: Undecided → High
Jelmer Vernooij (jelmer)
Changed in qbzr (Ubuntu):
status: New → Triaged
importance: Undecided → High
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.