[apport] gpixpod.py crashed with UnboundLocalError in HALdetect()

Bug #84510 reported by Matteo Settenvini on 2007-02-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpixpod (Ubuntu)

Bug Description

Binary package hint: gpixpod

I just connected my 5G Video iPod to the Mac, and the crash was there. Reproducible every time gPixPod is launched.

ProblemType: Crash
Date: Sun Feb 11 12:03:14 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/gpixpod/gpixpod.py
Package: gpixpod 0.6.2-0ubuntu2
ProcCmdline: python2.4 /usr/lib/gpixpod/gpixpod.py
ProcCwd: /usr/lib/gpixpod
PythonArgs: ['/usr/lib/gpixpod/gpixpod.py']
SourcePackage: gpixpod
 Traceback (most recent call last):
   File "/usr/lib/gpixpod/gpixpod.py", line 211, in HALdetect
     ipod_hal = ipodhal.iPodHal()
 UnboundLocalError: local variable 'ipodhal' referenced before assignment
Uname: Linux Dahlia 2.6.20-6-powerpc64-smp #3 SMP Wed Jan 31 19:43:02 UTC 2007 ppc64 GNU/Linux

Matteo Settenvini (tchernobog) wrote :
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Can you please attach a complete crash report of that crash? Yours does not seem to contain a CoreDump.

Changed in gpixpod:
assignee: nobody → motu
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Matteo Settenvini (tchernobog) wrote :

How can I get one? I think I should use gcore, but I ain't sure about when generating a core file.

This is because, at the moment, a window saying that the program crashed appears, but gpixpod keeps running. Moreover, launching gpixpod from terminal, I noticed that the UnboundLocalError exception is always thrown upon startup (even if an iPod isn't plugged in).

I can confirm that GPixPod crashes upon startup, no matter if an ipod is conneced or not (cf. bug 84510).

8.04 (Hardy) RC, with updates as recent as 2008-04-19.

Thank you for reporting this bug.

Does this occur in Lucid?

In Maverick Meerkat, with no iPod attached, started via primary clicking Applications -> Graphics, and via Terminal. Did not crash either way. Terminal initiation output:

/usr/lib/gpixpod/gpixpod.py:112: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.win = gtk.glade.XML('gpixpod.glade', 'window1', 'gpixpod')

lsb_release -rd
Description: Ubuntu maverick (development branch)
Release: 10.10

apt-cache policy gpixpod
  Installed: 0.6.2-0ubuntu6
  Candidate: 0.6.2-0ubuntu6
  Version table:
 *** 0.6.2-0ubuntu6 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers