KeyError in transport close _file_streams while pulling into a bound branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
mbp@lithe% bzr pull bzr+ssh:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
possible_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
possible_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
master_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
del _file_streams[
KeyError: 'bzr+ssh:
bzr 1.3 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'pull', 'bzr+ssh:
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
gtk /home/mbp/
launchpad /usr/lib/
pqm /home/mbp/
*** 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.
This seems to be different to bug 191409 but might be related. maybe a problem in exception cleanup.
Changed in bzr: | |
status: | New → Fix Released |
I just ran into this with bzr 1.5. Here's a shell script that reproduces the bug:
#!/bin/sh //localhost/ $DIR/remote1 //localhost/ $DIR/remote1 //localhost/ $DIR/remote2
set -e
cd "`mktemp -d`"
DIR=$PWD
mkdir local
cd local
bzr init .
echo test > file1
bzr add
bzr ci -m "Commit"
bzr push bzr+ssh:
bzr bind bzr+ssh:
cd ..
bzr branch remote1 remote2
cd remote2
echo test > file2
bzr add
bzr ci -m "Commit"
cd ../local
bzr pull bzr+ssh:
# Note that if I use ../remoteX instead of bzr+ssh: //localhost/ ..., the crash doesn't happen.