[Pkg-bazaar-maint] Bug#605351: bzr-fastimport: 'module' object has no attribute 'binary_stream'

Yann Dirson dirson at bertin.fr
Mon Nov 29 07:31:42 UTC 2010


Package: bzr-fastimport
Version: 0.9.0+bzr279-1

When trying to import http://bzr.savannah.gnu.org/r/grub/trunk/grub
using git-bzr-ng, I get the following error.  The latter tool was
fetched from git://github.com/termie/git-bzr-ng.git

Note that using bzr-fastimport from squeeze, that repo cannot be
imported either.

$ ./git-bzr-ng/git-bzr clone
http://bzr.savannah.gnu.org/r/grub/trunk/grub Branched 2974
revision(s).ching revisions:Finishing streame bzr: ERROR:
exceptions.AttributeError: 'module' object has no attribute
'binary_stream'

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853,
in exception_to_return_code return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
1055, in run_bzr ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661,
in run_argv_aliases return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665,
in run_direct return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122,
in run_simple self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156,
in _do_with_cleanups result = func(*args, **kwargs)
  File
"/usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport/__init__.py",
line 723, in run revision=revision, verbose=verbose,
plain_format=plain) File
"/usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport/bzr_exporter.py",
line 61, in __init__ self.outf = helpers.binary_stream(sys.stdout)
AttributeError: 'module' object has no attribute 'binary_stream'

bzr 2.1.2 on python 2.6.6
(Linux-2.6.32-5-vserver-686-i686-with-debian-squeeze-sid) arguments:
['/usr/bin/bzr', 'fast-export',
'--export-marks=/home/localadm/grub/.git/bzr/map/master-bzr',
'--git-branch=bzr/master', '/home/localadm/grub/.git/bzr/repo/master']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: None plugins:
bzrtools             /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools
[2.1.0]
fastimport           /usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport
[0.10.0dev]
launchpad            /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad
[2.1.2]
netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store
[2.1.2]
news_merge           /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge
[2.1.2]

*** 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.
fatal: Not a valid object name: 'bzr/master'.
Command "git branch master bzr/master" failed.

-- 
Yann Dirson - Bertin Technologies





More information about the Pkg-bazaar-maint mailing list