bzr on linux CentOS 6 will not create source tree

Bug #1670062 reported by Andrew Juszczak on 2017-03-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Downloaded and installed bazaar for unix switched to directory holding downloaded and unzipped ODBC connector and tried running bzr per instructions the below is the result. Let me know how to proceed, Thanks.

<email address hidden> [mysql-connector-odbc-64bit]# bzr branch lp:myodbc/5.2
bzr: ERROR: exceptions.TypeError: readline() takes exactly 1 argument (2 given)

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 1194, in run
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 958, in open_tree_or_branch
    bzrdir =
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 842, in open
    t = get_transport(base, possible_transports=possible_transports)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/transport/", line 1555, in get_transport
    base = directories.dereference(base)
  File "/usr/lib64/python2.6/site-packages/bzrlib/", line 58, in dereference
    return service().look_up(name, url)
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad/", line 60, in look_up
    return self._resolve(url)
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad/", line 70, in _resolve
    result = resolve.submit(service)
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad/", line 275, in submit
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad/", line 198, in send_request
    result = method(*method_params)
  File "/usr/lib64/python2.6/", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/", line 1489, in __request
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad/", line 74, in request
    response =
  File "/usr/lib64/python2.6/", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/site-packages/bzrlib/transport/http/", line 722, in https_open
    return self.do_open(HTTPSConnection, request)
  File "/usr/lib64/python2.6/site-packages/bzrlib/transport/http/", line 624, in do_open
    response = connection.getresponse()
  File "/usr/lib64/python2.6/site-packages/bzrlib/transport/http/", line 243, in getresponse
    self._response = httplib.HTTPConnection.getresponse(self)
  File "/usr/lib64/python2.6/", line 1049, in getresponse
  File "/usr/lib64/python2.6/site-packages/bzrlib/transport/http/", line 164, in begin
  File "/usr/lib64/python2.6/", line 433, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.6/", line 389, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
TypeError: readline() takes exactly 1 argument (2 given)

bzr 2.1.1 on python 2.6.6 (Linux-2.6.32-642.6.2.el6.x86_64-x86_64-with-centos-6.8-Final)
arguments: ['/usr/bin/bzr', 'branch', 'lp:myodbc/5.2']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
  launchpad /usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad [2.1.1]
  netrc_credential_store /usr/lib64/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
  news_merge /usr/lib64/python2.6/site-packages/bzrlib/plugins/news_merge [2.1.1]

*** 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.

Vincent Ladeuil (vila) wrote :

> bzr 2.1.1 on python 2.6.6

Upgrade to a more recent version of bzr ?

Changed in bzr:
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for Bazaar because there has been no activity for 60 days.]

Changed in bzr:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers