qlog: Crashes with 'NoneType' object is not iterable

Bug #461285 reported by Gary van der Merwe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

Not sure what I was doing to cause this, but I got this crash in qlog:

bzr: ERROR: exceptions.TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/util.py", line 1018, in decorate
    run_in_loading_queue(f, *args, **kargs)
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/util.py", line 1030, in run_in_loading_queue
    f(*args, **kargs)
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/uifactory.py", line 32, in decorate
    r = f(*args, **kargs)
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/log.py", line 516, in load_delta
    repos = [gp.get_revid_branch(revid).repository for revid in revids]
TypeError: 'NoneType' object is not iterable

Tags: qlog
Changed in qbzr:
importance: Undecided → Medium
status: New → Confirmed
tags: added: qlog
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 461285] [NEW] qlog: Crashes with 'NoneType' object is not iterable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gary van der Merwe wrote:
> Public bug reported:
>
> Not sure what I was doing to cause this, but I got this crash in qlog:
>
> bzr: ERROR: exceptions.TypeError: 'NoneType' object is not iterable
>
> Traceback (most recent call last):
> File "/home/garyvdm/.bazaar/plugins/qbzr/lib/util.py", line 1018, in decorate
> run_in_loading_queue(f, *args, **kargs)
> File "/home/garyvdm/.bazaar/plugins/qbzr/lib/util.py", line 1030, in run_in_loading_queue
> f(*args, **kargs)
> File "/home/garyvdm/.bazaar/plugins/qbzr/lib/uifactory.py", line 32, in decorate
> r = f(*args, **kargs)
> File "/home/garyvdm/.bazaar/plugins/qbzr/lib/log.py", line 516, in load_delta
> repos = [gp.get_revid_branch(revid).repository for revid in revids]
> TypeError: 'NoneType' object is not iterable
>
> ** Affects: qbzr
> Importance: Medium
> Status: Confirmed
>

looking at the traceback, it would hint that the 'revids' value was None.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrl5OoACgkQJdeBCYSNAAOhcACcCdG1gvSDGMJbYVv78t4ps7yL
BagAoMhJBr+97j9+TlnnOVdIkHJWfgHR
=5+VF
-----END PGP SIGNATURE-----

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

Marking as a dup of Bug 470152, as it has info on how to reproduce.

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.