bazar returns internal error when attempting to download go package

Bug #1815215 reported by William Higgs
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

I am trying to install a go package using the below command line command:

go get launchpad.net/goyaml

Apparently, go uses Bazaar as part of this process, as prior to installing bazar, I saw this error when running the same command:

go: missing Bazaar command. See https://golang.org/s/gogetcmd
package launchpad.net/goyaml: exec: "bzr": executable file not found in %PATH%

So, I downloaded and installed bazar using the standalone installer. When I tried to run the same command after this, I get this big stack trace:

 go get launchpad.net/goyaml
# cd .; bzr branch https://launchpad.net/~goyaml/goyaml/trunk C:\Users\whiggs\go\src\launchpad.net\goyaml
bzr: ERROR: httplib.IncompleteRead: IncompleteRead(34 bytes read)

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 920, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1131, in run_bzr
  File "bzrlib\commands.pyo", line 673, in run_argv_aliases
  File "bzrlib\commands.pyo", line 695, in run
  File "bzrlib\cleanup.pyo", line 136, in run_simple
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1438, in run
  File "bzrlib\controldir.pyo", line 779, in open_tree_or_branch
  File "bzrlib\controldir.pyo", line 459, in _get_tree_branch
  File "bzrlib\bzrdir.pyo", line 1082, in open_branch
  File "bzrlib\branch.pyo", line 2375, in open
  File "bzrlib\controldir.pyo", line 687, in open
  File "bzrlib\controldir.pyo", line 716, in open_from_transport
  File "bzrlib\transport\__init__.pyo", line 1718, in do_catching_redirections
  File "bzrlib\controldir.pyo", line 704, in find_format
  File "bzrlib\controldir.pyo", line 1149, in find_format
  File "C:/Program Files (x86)/Bazaar/plugins\git\__init__.py", line 235, in probe_transport
  File "C:/Program Files (x86)/Bazaar/plugins\git\__init__.py", line 182, in probe_http_transport
  File "socket.pyo", line 348, in read
  File "httplib.pyo", line 522, in read
  File "httplib.pyo", line 565, in _read_chunked
IncompleteRead: IncompleteRead(34 bytes read)

bzr 2.5.1 on python 2.6.6 (Windows-post2008Server-6.2.9200)
arguments: ['bzr', 'branch', 'https://launchpad.net/~goyaml/goyaml/trunk',
    'C:\\Users\\whiggs\\go\\src\\launchpad.net\\goyaml']
plugins: bzrtools[2.5.0], changelog_merge[2.5.1], colo[0.4.0],
    explorer[1.2.2], fastimport[0.14.0dev], git[0.6.8], launchpad[2.5.1],
    loom[2.3.0dev], netrc_credential_store[2.5.1], news_merge[2.5.1],
    pipeline[1.4.0], qbzr[0.22.3], rewrite[0.6.4dev], svn[1.2.2],
    upload[1.2.0dev], xmloutput[0.8.8]
encoding: 'cp1252', fsenc: 'mbcs', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
package launchpad.net/goyaml: exit status 4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.