hwdb-gui fails after sound test

Bug #62890 reported by Christof Krüger
8
Affects Status Importance Assigned to Milestone
hwdb-client (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

I start hwdb-gui and click on forward. The program plays a sound file that I can hear, so I click again on "forward". Now the program says "Video" and stops working. I can still click on "cancel" though but the forward-button is disabled.

Following output can be seen on the console:

$ hwdb-gui
set[1]: Audio Test
doing test
set[1]: Video
Xlib: extension "RANDR" missing on display ":0.0".
Traceback (most recent call last):
  File "/usr/bin/hwdb-gui", line 153, in <lambda>
    self.advance.connect("clicked", lambda w: self.adv(self.xmlfile))
  File "/usr/bin/hwdb-gui", line 583, in adv
    set[2] = set[2]+self.get_xorgdata()
  File "/usr/bin/hwdb-gui", line 256, in get_xorgdata
    return retval
UnboundLocalError: local variable 'retval' referenced before assignment

This can be reproduced every time.

Revision history for this message
berg (berg-foss) wrote :

I can confime this bug too in gutsy devel 27 july 2007

root@gutsy-laptop:/home/gutsy/bugs/wireless# hwdb-gui
/bin/sh: /usr/bin/esd: not found
Traceback (most recent call last):
  File "/usr/bin/hwdb-gui", line 153, in <lambda>
    self.advance.connect("clicked", lambda w: self.adv(self.xmlfile))
  File "/usr/bin/hwdb-gui", line 597, in adv
    set[2] = set[2]+self.get_xorgdata()
  File "/usr/bin/hwdb-gui", line 256, in get_xorgdata
    return retval
UnboundLocalError: local variable 'retval' referenced before assignment
root@gutsy-laptop:/home/gutsy/bugs/wireless# dpkg -l hwdb*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-=================================-==================================================================================
un hwdb-client <none> (no description available)
ii hwdb-client-common 0.6.11 common files for Ubuntu Hardware Database client
ii hwdb-client-gnome 0.6.11 Gnome client programs for the Ubuntu Hardware Database
root@gutsy-laptop:/home/gutsy/bugs/wireless#

Revision history for this message
Ryan Budney (delooper) wrote :

I'm getting exactly the same problem in my (as of today) up-to-date distro of Ubuntu 7.10.

rybu@rybu-laptop:~$ hwdb-gui
Traceback (most recent call last):
  File "/usr/bin/hwdb-gui", line 153, in <lambda>
    self.advance.connect("clicked", lambda w: self.adv(self.xmlfile))
  File "/usr/bin/hwdb-gui", line 597, in adv
    set[2] = set[2]+self.get_xorgdata()
  File "/usr/bin/hwdb-gui", line 256, in get_xorgdata
    return retval
UnboundLocalError: local variable 'retval' referenced before assignment
rybu@rybu-laptop:~$

Also, during the sound test, no sound is produced even though sound works fine on my system in all other apps.

Revision history for this message
Jamie Pietarinen (jpietari) wrote : Re: [Bug 62890] Re: hwdb-gui fails after sound test

I've been using Ubuntu 7.10 since beta 1 and it always crashes at the video
test. No sound either!

Jamie

On 10/16/07, rybu <email address hidden> wrote:
>
> *** This bug is a duplicate of bug 17595 ***
> https://bugs.launchpad.net/bugs/17595
>
> I'm getting exactly the same problem in my (as of today) up-to-date
> distro of Ubuntu 7.10.
>
> rybu@rybu-laptop:~$ hwdb-gui
> Traceback (most recent call last):
> File "/usr/bin/hwdb-gui", line 153, in <lambda>
> self.advance.connect("clicked", lambda w: self.adv(self.xmlfile))
> File "/usr/bin/hwdb-gui", line 597, in adv
> set[2] = set[2]+self.get_xorgdata()
> File "/usr/bin/hwdb-gui", line 256, in get_xorgdata
> return retval
> UnboundLocalError: local variable 'retval' referenced before assignment
> rybu@rybu-laptop:~$
>
> Also, during the sound test, no sound is produced even though sound
> works fine on my system in all other apps.
>
> --
> hwdb-gui fails after sound test
> https://bugs.launchpad.net/bugs/62890
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (via bug 17595).
>

Revision history for this message
Mr. Vero (echelon) wrote :

After the latest updates I don't have problem's any longer.

echelon

rybu skrev:
> *** This bug is a duplicate of bug 17595 ***
> https://bugs.launchpad.net/bugs/17595
>
> I'm getting exactly the same problem in my (as of today) up-to-date
> distro of Ubuntu 7.10.
>
> rybu@rybu-laptop:~$ hwdb-gui
> Traceback (most recent call last):
> File "/usr/bin/hwdb-gui", line 153, in <lambda>
> self.advance.connect("clicked", lambda w: self.adv(self.xmlfile))
> File "/usr/bin/hwdb-gui", line 597, in adv
> set[2] = set[2]+self.get_xorgdata()
> File "/usr/bin/hwdb-gui", line 256, in get_xorgdata
> return retval
> UnboundLocalError: local variable 'retval' referenced before assignment
> rybu@rybu-laptop:~$
>
> Also, during the sound test, no sound is produced even though sound
> works fine on my system in all other apps.
>
>

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.