wifi-radar staled with empty dhcp-wifi.pid file.
Fabien Ninoles
fabien at freebird.local.tzone.org
Sat Nov 19 01:52:02 UTC 2005
Package: wifi-radar
Version: 1.9.4-0ubuntu6
Severity: normal
Sometime, for example if the program is aborted before it finish,
wifi-radar staled with those lines in stderr:
> Traceback (most recent call last):
> File "/usr/sbin/wifi-radar", line 903, in connect_profile
> connect_to_network( ssid, connect_status_window )
> File "/usr/sbin/wifi-radar", line 296, in connect_to_network
> os.kill( int(open(DHCP_PIDFILE, mode='r').readline()),
> signal.SIGTERM )
> ValueError: invalid literal for int():
This can be easily handled by either checking if the return value
from the open command is a valid integer, or simply by also intercepting
the ValueError exception, just like the OSError.
Ask me for a patch if you need one,
Thanks
Fabien Ninoles <fabien at tzone.org>
-- System Information:
Debian Release: testing/unstable
APT prefers breezy-updates
APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-9-386
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Versions of packages wifi-radar depends on:
ii dhcp3-client 3.0.2-1ubuntu6 DHCP Client
ii python 2.4.2-0ubuntu2 An interactive high-level object-o
ii python-gtk2 2.8.1-0ubuntu2 Python bindings for the GTK+ widge
ii wireless-tools 27+28pre8-1ubuntu4 Tools for manipulating Linux Wirel
Versions of packages wifi-radar recommends:
ii wpasupplicant 0.4.5-0ubuntu1 Client support for WPA and WPA2 (I
-- no debconf information
More information about the ubuntu-users
mailing list