Comment 6 for bug 82713

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
>