Public bug reported:

Binary package hint: wifi-radar

I am unable to repro this, but it happened to me and the guy in bug
#93495.

Occasionally /etc/wifi-radar.conf will get overwritten by an empty file.

When this happens, you are no longer able to run wifi-radar; you get a
cryptic Python error message (at first I thought oh no, another
Python2.3 -> 2.4 transition bug):

vnix$ sudo -i

vnix# wifi-radar
dhclient3 --version 2>&1
Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 1414, in ?
    auto_profile_order = auto_profile_order.split( ',' )
AttributeError: 'list' object has no attribute 'split'

Contrary to what the documentation says, wifi-radar doesn't seem to be
able to cope without this file, so removing the empty file doesn't help,
either.

So at minimum:
  o  The documentation should not lie about this
  o  The error message should indicate the actual error, i.e. the program 
should detect when the file is empty and abort with a sensible error message

Longer-term wishlist:
  o  Actually create the file if it's missing; revert the change to the manual 
I proposed above

** Affects: wifi-radar (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Zaps /etc/wifi-radar.conf occasionally
https://launchpad.net/bugs/97333

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to