bzr under python2.7 fails: _ReportingFileSocket.readline lacks size argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Vincent Ladeuil | ||
2.2 |
Fix Released
|
High
|
Vincent Ladeuil | ||
bzr (Debian) |
Fix Released
|
Undecided
|
Jelmer Vernooij | ||
bzr (Ubuntu) |
Fix Released
|
Critical
|
Bilal Akhtar | ||
Maverick |
Fix Released
|
Critical
|
Unassigned | ||
Natty |
Fix Released
|
Critical
|
Bilal Akhtar |
Bug Description
gwenhwyvar:
bzr: failed to report crash using apport:
OSError(17, 'File exists')
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
from_location)
File "/usr/lib/
bzrdir = klass.open(
File "/usr/lib/
t = get_transport(base, possible_
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
return _get_transport(
File "/usr/lib/
base = directories.
File "/usr/lib/
return service(
File "/usr/lib/
return self._resolve(url)
File "/usr/lib/
result = resolve.
File "/usr/lib/
self.
File "/usr/lib/
result = method(
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
response = self._opener.
File "/usr/lib/
response = self._open(req, data)
File "/usr/lib/
'_open', req)
File "/usr/lib/
result = func(*args)
File "/usr/lib/
return self.do_
File "/usr/lib/
response = connection.
File "/usr/lib/
self._response = httplib.
File "/usr/lib/
response.
File "/usr/lib/
httplib.
File "/usr/lib/
self.msg = HTTPMessage(
File "/usr/lib/
rfc822.
File "/usr/lib/
self.
File "/usr/lib/
line = self.fp.
TypeError: readline() takes exactly 1 argument (2 given)
bzr 2.3.0dev5 on python 2.7.1 (Linux-
arguments: ['/usr/bin/bzr', 'branch', '--no-tree', 'lp:~jelmer/launchpad/buildd-secret-tokens']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_IE.utf8'
plugins:
bash_completion /usr/lib/
bisect /home/jelmer/
builddeb /home/jelmer/
builder /home/jelmer/
bzrtools /home/jelmer/
colocated /home/jelmer/
commitfromnews /home/jelmer/
dbus /home/jelmer/
email /home/jelmer/
explorer /home/jelmer/
fastimport /home/jelmer/
gardener /home/jelmer/
git /home/jelmer/
grep /usr/lib/
gtk /home/jelmer/
hg /home/jelmer/
keywords /home/jelmer/
launchpad /usr/lib/
loggerhead /home/jelmer/
loom /usr/lib/
lpreview_body /home/jelmer/
mtn /home/jelmer/
netrc_
news_merge /usr/lib/
pipeline /usr/lib/
plugin_info /home/jelmer/
pqm /home/jelmer/
qbzr /home/jelmer/
rewrite /home/jelmer/
search /home/jelmer/
stats /home/jelmer/
svn /home/jelmer/
testrunner /home/jelmer/
trac /home/jelmer/
upload /usr/lib/
wikkid /usr/lib/
xmloutput /usr/lib/
*** 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:/
including this traceback and a description of the problem.
**** entering debugger
> /usr/lib/
-> line = self.fp.
(Pdb) print self.fp
<bzrlib.
Related branches
- Vincent Ladeuil: Needs Fixing
- Martin Packman (community): Needs Fixing
-
Diff: 32 lines (+5/-7)2 files modifiedbzrlib/transport/http/_urllib2_wrappers.py (+2/-7)
doc/en/release-notes/bzr-2.3.txt (+3/-0)
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: python2.7 |
tags: |
added: python27 removed: python2.7 |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.3b5 |
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzr (Ubuntu Natty): | |
assignee: | nobody → Loïc Minier (lool) |
summary: |
- _ReportingFileSocket.readline lacks size argument + bzr under python2.7 fails: _ReportingFileSocket.readline lacks size + argument |
Changed in bzr (Debian): | |
status: | New → Fix Released |
assignee: | nobody → Jelmer Vernooij (jelmer) |
So far bzr has been using the tag 'python2.7' not 'python27': /bugs.launchpad .net/bzr/ +bugs?field. tag=python2. 7&field. status% 3Alist= CONFIRMED& field.status% 3Alist= FIXRELEASED>
<https:/