launchpad plugin gives traceback on XML-RPC connection failure (error 10060: operation timed out)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
From Windows XPSP2, bazaar from self-contained installer - happens w/ both bzr 1.6.1 and 1.7.1 (I tried an upgrade first), and with both windows cmd shell, or cygwin bash shell (they both pull the same path / same bzr):
-------
/cygdrive/
$ bzr branch lp:ipython
bzr: ERROR: socket.error: (10060, 'Operation timed out')
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "D:/Program Files/Bazaar/
look_up
File "D:/Program Files/Bazaar/
_resolve
File "D:/Program Files/Bazaar/
in submit
File "D:/Program Files/Bazaar/
in send_request
File "xmlrpclib.pyo", line 1147, in __call__
File "xmlrpclib.pyo", line 1437, in __request
File "xmlrpclib.pyo", line 1183, in request
File "xmlrpclib.pyo", line 1297, in send_content
File "httplib.pyo", line 860, in endheaders
File "httplib.pyo", line 732, in _send_output
File "httplib.pyo", line 699, in send
File "httplib.pyo", line 1134, in connect
File "<string>", line 1, in connect
error: (10060, 'Operation timed out')
bzr 1.7.1 on python 2.5.2 (win32)
arguments: ['d:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools D:\Program Files\bazaar\
launchpad D:\Program Files\bazaar\
qbzr D:\Program Files\bazaar\
svn D:\Program Files\bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
/cygdrive/
$ which bzr
/cygdrive/d/Program Files/bazaar/bzr
/cygdrive/
$ bzr --version
Bazaar (bzr) 1.7.1
Python interpreter: d:\Program Files\bazaar\
Python standard library: d:\Program Files\bazaar\
bzrlib: d:\Program Files\bazaar\
Bazaar configuration: D:\Profiles\
Bazaar log file: D:\Profiles\
Copyright 2005, 2006, 2007, 2008 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
/cygdrive/
$
-------
FYI, not trying to reference by "lp:" works, eg:
D:\Workspace\
Branched 1147 revision(s).
so this really seems just like an issue of how bzr responds to network timeouts.
Regards,
Yarko
Bzr should certainly not give you a traceback for a network timeout. It should report something like:
bzr: ERROR: unable to resolve "lp:ipython": connection failed: operation timed out (10060)
I'm guessing this happens for you because the HTTPS port is blackholed by a firewall in your network.