UnboundLocalError: local variable 'row' referenced before assignment

Bug #559480 reported by René 'Necoro' Neumann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Portato
Fix Released
Undecided
Unassigned
0.14
Fix Committed
Undecided
René 'Necoro' Neumann

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/portato/gui/windows/update.py",
line 109, in cb_package_selected
    self.jump(package.get_cp(), package.get_version())
  File "/usr/lib/python2.6/site-packages/portato/gui/windows/main.py",
line 1059, in jump_to
    self.jump_to_cat(cat)
  File "/usr/lib/python2.6/site-packages/portato/gui/windows/main.py",
line 1131, in jump_to_cat
    for cname, path in ((x[col], x.path) for x in row.iterchildren()):
UnboundLocalError: local variable 'row' referenced before assignment

Portato version: 0.13
System: Gentoo Python version: 2.6.2 (r262:71600, Nov 6 2009, 06:30:51)
[GCC 4.3.4]
Used backend: Portage 2.2_rc50
pygtk: 2.14.1 (using GTK+: 2.16.6)
pygobject: 2.18.0 (using GLib: 2.22.2)

 affects portato
 tag mail

Tags: mail
Revision history for this message
René 'Necoro' Neumann (necoro) wrote :
Revision history for this message
René 'Necoro' Neumann (necoro) wrote : Re: [Bug 559480] [NEW] UnboundLocalError: local variable 'row' referenced before assignment

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

 affects portato/0.14
 milestone 0.14
 assignee necoro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/ieIACgkQ4UOg/zhYFuBh8wCeP6O/jUoPOhGT2W/4bP9F9TbO
taQAn2fIeQByf+srUQglQmo4wTMQtNUF
=gOs3
-----END PGP SIGNATURE-----

Revision history for this message
René 'Necoro' Neumann (necoro) wrote :

Fixed in commit f458dd4

Changed in portato:
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.