hwdb-gui glitches if network is down.

Bug #33492 reported by Dane Mutters
8
Affects Status Importance Assigned to Milestone
hwdb-client (Ubuntu)
Confirmed
Medium
Oliver Grawert

Bug Description

If the network card is deactivated or set up improperly, when it comes time to test the network connection, it will still show, "Is your mouse working properly?", but saying, "Network test" above that. The only options are Help and Cancel.

1) To reproduce: disable your network card in the gnome networking tool.
2) Run "hwdb-gui" in a terminal window.
3) Tell it everything's working properly.

Here's the terminal output:

dane@Orchestrator:~$ hwdb-gui
Traceback (most recent call last):
  File "/usr/bin/hwdb-gui", line 122, in <lambda>
    self.advance.connect("clicked", lambda w: self.adv(self.xmlfile))
  File "/usr/bin/hwdb-gui", line 556, in adv
    self.test(set)
  File "/usr/bin/hwdb-gui", line 162, in test
    netdevice = self.getroute()[len(self.getroute())-1].strip()
  File "/usr/bin/hwdb-gui", line 207, in getroute
    return route
UnboundLocalError: local variable 'route' referenced before assignment

Need any more information?

Oliver Grawert (ogra)
Changed in hwdb-client:
assignee: nobody → ogra
status: Unconfirmed → Confirmed
Revision history for this message
Master Ar2ro (ar2ro) wrote :

Additionally, when no network connection is present, the hwdb-gui crashes if you still try to send the data.

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

Other bug subscribers

Bug attachments

Remote bug watches

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