awn-manager crashed with UnboundLocalError in new()

Bug #357155 reported by Lotd
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
avant-window-navigator (Ubuntu)
Invalid
Undecided
Unassigned
pyxdg (Debian)
Fix Released
Unknown
pyxdg (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: avant-window-navigator

Noticed a few "Invalid Launchers" under launchers section in AWN Manager, when i attempt to remove one of them this error appeared.

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/awn-manager
InterpreterPath: /usr/bin/python2.6
Package: awn-manager 0.3.2-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/awn-manager
ProcEnviron:
 LANG=da_DK.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/awn-manager']
SourcePackage: avant-window-navigator
Title: awn-manager crashed with UnboundLocalError in new()
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Lotd (jonaskerwin) wrote :
tags: removed: need-duplicate-check
Julien Lavergne (gilir)
visibility: private → public
Revision history for this message
Mark Lee (malept) wrote :

Offhand, this looks like a bug in pyxdg rather than awn-manager. Can someone confirm?

Changed in avant-window-navigator (Ubuntu):
status: New → Incomplete
Revision history for this message
Julien Lavergne (gilir) wrote :

I think this too, I'm not sure to which package I need to affect it, (maybe simply python-2.6)

Changed in avant-window-navigator (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Yes, this is indeed a bug in PyXDG. xdg.DesktopEntry.DesktopEntry.new() used an if/elif structure to define the variable 'type', but there was no 'else'. This is already fixed in the latest version upstream, but that hasn't been released yet.

Changed in pyxdg (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Correction: the fix has been released, PyXDG 0.19 should contain the patch for this.

(However, please be noticed that the fix contains of raising a ParsingError when the type is unknown, rather than continuing with a non-existing variable 'type'.)

Changed in pyxdg (Debian):
status: Unknown → Fix Released
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

pyxdg 0.19 has been uploaded to Maverick, the current development focused, so I'm marking the pyxdg task as Fix Released. Changelog:

pyxdg (0.19-2ubuntu1) maverick; urgency=low

  * Resync on Debian

pyxdg (0.19-2) unstable; urgency=low

  * Fix case when $XDG_*_HOME is empty (fix-BaseDirectory-cornercase.patch)
    (closes: #568757). Kudos to Éric Araujo!
  * Fix xdg.Mime.install_mime_info() exception (fix-583497.patch)
    (closes: #583497). Thanks Jakub Wilk!
  * Replace string exceptions in Mime.py (fix-string-exceptions.patch)
    (closes: #585340). Thanks Sandro Tosi!
 -- Sebastien Bacher <email address hidden> Fri, 25 Jun 2010 12:17:12 +0200

Changed in pyxdg (Ubuntu):
status: Triaged → 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.