Package: wicd-daemon
Version: 1.7.0+ds1-5
Severity: important
If wicd is restarted with a clean environment, it backtraces
immediately:
| r...@rubicon:~# env -i /etc/init.d/wicd restart
| Restarting Network connection manager: wicd.
...
} 2010/11/24 14:38:03 :: self.Check()
} 2010/11/24 14:38:03 :: File
"/usr/lib/pymodules/python2.6/wicd/wnettools.py", line 360, in Check
} 2010/11/24 14:38:03 :: self.CheckDHCP()
} 2010/11/24 14:38:03 :: File
"/usr/lib/pymodules/python2.6/wicd/wnettools.py", line 380, in CheckDHCP
} 2010/11/24 14:38:03 :: self.dhclient_cmd =
self._find_program_path("dhclient")
} 2010/11/24 14:38:03 :: File
"/usr/lib/pymodules/python2.6/wicd/wnettools.py", line 242, in
_find_program_path
} 2010/11/24 14:38:03 :: path = find_path(program)
} 2010/11/24 14:38:03 :: File "/usr/lib/pymodules/python2.6/wicd/misc.py",
line 480, in find_path
} 2010/11/24 14:38:03 :: paths = os.getenv("PATH").split(':')
} 2010/11/24 14:38:03 :: AttributeError: 'NoneType' object has no attribute
'split'
Probably the init script should not only define PATH but also export it.
Cheers,
weasel
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]