Bug#741267: bzr-fastimport: Uses functionality that has disappeared from python-fastimport
Package: bzr-fastimport
Version: 0.13.0-4
Severity: important
Control: affects -1 + git-bzr-ng
Hi,
git-bzr-ng (0+git20120823-1) is broken for me since the upgrade of
python-fastimport from 0.9.2-1 to 0.9.3-1:
$ git bzr clone lp:~apparmor-dev/apparmor-profiles/master git
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 124 revisions.tching revisions:Finishing stream:Estimate 1099/1575
bzr: ERROR: exceptions.ImportError: cannot import name binary_stream
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/cmds.py", line 693, in run
from bzrlib.plugins.fastimport import exporter
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/exporter.py", line 67, in <module>
from fastimport.helpers import (
ImportError: cannot import name binary_stream
bzr 2.7.0dev1 on python 2.7.6 (Linux-3.13-1-amd64-x86_64-with-debian-jessie-
sid)
arguments: ['/usr/bin/bzr', 'fast-export', '--plain', '--export-
marks=/home/intrigeri/apparmor/profiles/git/.git/bzr/map/master-bzr',
'--git-branch=bzr/master',
'/home/intrigeri/apparmor/profiles/git/.git/bzr/repo/master']
plugins: bash_completion[2.7.0dev1], builddeb[2.8.6], bzrtools[2.6.0],
changelog_merge[2.7.0dev1], cia[1.0.0dev], etckeeper[unknown],
explorer[1.3.0], fastimport[0.13.0], grep[2.7.0dev1],
launchpad[2.7.0dev1], netrc_credential_store[2.7.0dev1],
news_merge[2.7.0dev1], po_merge[2.7.0dev1], qbzr[0.23.1],
rewrite[0.6.4dev], weave_fmt[2.7.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** 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.
ERROR:root:bzr export failed
zsh: exit 1 git bzr clone lp:~apparmor-dev/apparmor-profiles/master git
Downgrading python-fastimport to 0.9.2-1 fixes this for me.
I'm not sure if this problem affects all usecases or just mine, hence
the non-RC severity. Feel free to adjust as needed.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bzr-fastimport depends on:
ii bzr 2.6.0+bzr6591-1
ii python 2.7.5-5
ii python-fastimport 0.9.3-1
bzr-fastimport recommends no packages.
Versions of packages bzr-fastimport suggests:
pn cvs2svn <none>
ii git 1:1.9.0-1
pn monotone <none>
pn python-subvertpy | svn-all-fast-export <none>
-- no debconf information
--
intrigeri
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
Reply to: