bazar returns internal error when attempting to download go package

Bug #1815215 reported by William Higgs on 2019-02-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

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

go get

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
package 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
# cd .; bzr branch C:\Users\whiggs\go\src\\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\", line 235, in probe_transport
  File "C:/Program Files (x86)/Bazaar/plugins\git\", 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', '',
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
    including this traceback and a description of the problem.
package exit status 4

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

Other bug subscribers