[apport] gnome-app-install crashed with UnboundLocalError in updateCache()

Bug #82713 reported by hawkes
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gnome-app-install (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: gnome-app-install

Tried to open a .torrent-File for which no app is registered

ProblemType: Crash
Date: Thu Feb 1 19:29:10 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gnome-app-install
InterpreterPath: /usr/bin/python2.5
Package: gnome-app-install 0.3.11
ProcCmdline: /usr/bin/python /usr/bin/gnome-app-install --mime-type=application/x-bittorrent file:///home/hawkes/Desktop/%20%20mininova.org%20%20%20Paris%20Hilton%20-%20Turn%20It%20Up%20%5BRetail%20CDM%202006%5D%20%5BDance%5D%20%5Bwww.file24ever.com%5D.torrent /home/hawkes/Desktop/\ \ minin...\ [www.file24ever.com].torrent
ProcCwd: /home/hawkes
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gnome-app-install', '--mime-type=application/x-bittorrent', 'file:///home/hawkes/Desktop/%20%20mininova.org%20%20%20Paris%20Hilton%20-%20Turn%20It%20Up%20%5BRetail%20CDM%202006%5D%20%5BDance%5D%20%5Bwww.file24ever.com%5D.torrent', '/home/hawkes/Desktop/ minin... [www.file24ever.com].torrent']
SourcePackage: gnome-app-install
Uname: Linux ela 2.6.20-5-generic #2 SMP Sat Jan 6 09:44:32 UTC 2007 x86_64 GNU/Linux

Revision history for this message
hawkes (hawkes) wrote : Dependencies.txt
Revision history for this message
hawkes (hawkes) wrote : ProcMaps.txt
Revision history for this message
hawkes (hawkes) wrote : ProcStatus.txt
Revision history for this message
hawkes (hawkes) wrote : Traceback.txt
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport. Could you please test the applied patch and see if that fixes your problem?

Thanks,
 Michael

Revision history for this message
Nir Misgav (nirmisgav) wrote : Re: [Bug 82713] Re: [apport] gnome-app-install crashed with UnboundLocalError in updateCache()

Hi Michael,

I applied the patch and I still get an error.

nireut@nireut-desktop:~$ gnome-app-install --mime-type=text/html

** (gnome-app-install:18663): WARNING **: return value of custom
widget handler was not a GtkWidget
Traceback (most recent call last):
  File "/usr/bin/gnome-app-install", line 213, in <module>
    sys.argv, as, transient_for)
  File "/usr/lib/python2.5/site-packages/AppInstall/AppInstall.py",
line 257, in __init__
    self.updateCache(filter_to_restore)
  File "/usr/lib/python2.5/site-packages/AppInstall/AppInstall.py",
line 875, in updateCache
    progress = GtkOpProgressWindow(self.glade, transient_for)
UnboundLocalError: local variable 'transient_for' referenced before assignment
nireut@nireut-desktop:~$

It looks like the same error to me.

Nir.

On 2/2/07, Michael Vogt <email address hidden> wrote:
> Thanks for your bugreport. Could you please test the applied patch and
> see if that fixes your problem?
>
> Thanks,
> Michael
>
> ** Attachment added: "Suggested fix"
> http://librarian.launchpad.net/6089890/g-a-i-fix.diff
>
> --
> [apport] gnome-app-install crashed with UnboundLocalError in updateCache()
> https://launchpad.net/bugs/82713
>

Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed in my local tree now and will be part of the next upload.

Cheers,
 Michael

Changed in gnome-app-install:
assignee: nobody → mvo
status: Unconfirmed → Fix Committed
Michael Vogt (mvo)
Changed in gnome-app-install:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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