I found a hint for a solution here:
https://bugs.launchpad.net/ubuntu/+source/python-httplib2/+bug/523327

Basically, check your /etc/hosts file has the following:

127.0.0.1       localhost
127.0.1.1       computer name

Mine had "username-laptop" where it should have had "computer name".
After changing this it works perfectly.

-- 
python-httplib2 crashes with AttributeError in __init__() if connection refused
https://bugs.launchpad.net/bugs/523327
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to