topshelf.py crashed with UnboundLocalError in do_add()

Bug #216474 reported by MikeCamel
6
Affects Status Importance Assigned to Milestone
topshelf (Ubuntu)
Fix Released
Medium
Luca Falavigna

Bug Description

Binary package hint: topshelf

Just trying to open a directory, then cancel, but it died.

ProblemType: Crash
Architecture: amd64
Date: Sat Apr 12 20:27:15 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/gnome-panel/topshelf.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: topshelf 0.2.1-1
PackageArchitecture: all
ProcCmdline: python /usr/lib/gnome-panel/topshelf.py --oaf-activate-iid=OAFIID:Gnome_Panel_TopShelf_Factory --oaf-ior-fd=45
ProcEnviron:
 LANG=en_GB.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/gnome-panel/topshelf.py', '--oaf-activate-iid=OAFIID:Gnome_Panel_TopShelf_Factory', '--oaf-ior-fd=45']
SourcePackage: topshelf
Title: topshelf.py crashed with UnboundLocalError in do_add()
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/gnome-panel/topshelf.py", line 389, in do_add
     if filename is not None:
 UnboundLocalError: local variable 'filename' referenced before assignment
Uname: Linux 2.6.24-16-generic x86_64
UserGroups: admin audio cdrom lpadmin saned scanner video

Tags: apport-crash

Related branches

Revision history for this message
MikeCamel (mike-hingston) wrote :
Changed in topshelf:
assignee: nobody → dktrkranz
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package topshelf - 0.2.1-1ubuntu1

---------------
topshelf (0.2.1-1ubuntu1) jaunty; urgency=low

  * topshelf.py: declare filename before referencing it (LP: #216474).

 -- Luca Falavigna <email address hidden> Sat, 28 Feb 2009 00:35:35 +0100

Changed in topshelf:
status: In Progress → 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.