This would indicate that people observing this problem have set an invalid http_proxy variable. I'd appreciate if people experiencing this bug would let me know what this command run on a terminal shows:
echo http_proxy
Anyway, I'll fix the code so it properly handles the thrown exception.
I managed to reproduce the failure reported in the stack trace by setting an invalid http_proxy environment variable:
http_proxy='http:// whatever. com: text' /usr/share/ checkbox/ scripts/ network_ check
This would indicate that people observing this problem have set an invalid http_proxy variable. I'd appreciate if people experiencing this bug would let me know what this command run on a terminal shows:
echo http_proxy
Anyway, I'll fix the code so it properly handles the thrown exception.