If you see this problem with bzr under Windows:
$ python c:/Others/Python254/Scripts/bzr branch lp:gtimelog bzr: ERROR: Connection error: Couldn't resolve host 'bazaar.launchpad.net' (11004, 'getaddrinfo failed')
then check your proxy settings under the control panel. I normally use Firefox but had IE configured to use a certain customers proxy. Turning off the proxy cleared the error.
A more helpful error message like ‘Proxy not found’ would be nice. If only there was some way I could modify the source