Description of problem: bzr fast-export fails when attempting to migrate to git Version-Release number of selected component (if applicable): bzr-fastimport-0.13.0-8.fc25.noarch How reproducible: 100% Steps to Reproduce: 1. Create and cd to an empty directory. 2. bzr init 3. git init 4. bzr fast-export --plain . | git fast-import Actual results: $ bzr fast-export --plain . | git fast-import bzr: ERROR: exceptions.ImportError: cannot import name binary_stream Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr ret = run(*run_argv) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/cmds.py", line 679, in run from bzrlib.plugins.fastimport import exporter File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py", line 67, in <module> from fastimport.helpers import ( ImportError: cannot import name binary_stream bzr 2.7.0 on python 2.7.12 (Linux-4.8.13-300.fc25.x86_64-x86_64-with- fedora-25-Twenty_Five) arguments: ['/usr/bin/bzr', 'fast-export', '--plain', '.'] plugins: bash_completion[2.7.0], changelog_merge[2.7.0], fastimport[0.13.0], grep[2.7.0], launchpad[2.7.0], netrc_credential_store[2.7.0], news_merge[2.7.0], po_merge[2.7.0], weave_fmt[2.7.0] encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_CA.utf8' *** 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. git-fast-import statistics: --------------------------------------------------------------------- Alloc'd objects: 5000 Total objects: 0 ( 0 duplicates ) blobs : 0 ( 0 duplicates 0 deltas of 0 attempts) trees : 0 ( 0 duplicates 0 deltas of 0 attempts) commits: 0 ( 0 duplicates 0 deltas of 0 attempts) tags : 0 ( 0 duplicates 0 deltas of 0 attempts) Total branches: 0 ( 0 loads ) marks: 1024 ( 0 unique ) atoms: 0 Memory total: 2282 KiB pools: 2048 KiB objects: 234 KiB --------------------------------------------------------------------- pack_report: getpagesize() = 4096 pack_report: core.packedGitWindowSize = 1073741824 pack_report: core.packedGitLimit = 8589934592 pack_report: pack_used_ctr = 0 pack_report: pack_mmap_calls = 0 pack_report: pack_open_windows = 0 / 0 pack_report: pack_mapped = 0 / 0 --------------------------------------------------------------------- Expected results: A successful conversion from bzr to git. Additional info: python2-fastimport package no longer has a binary_stream function. See upstream bug for details and the patched version. Workaround: Uninstall bzr-fastimport and extract the upstream package into ~/.bazaar/plugins/fastimport
+1
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
Same here. $ rpm -qa | grep bzr bzr-2.7.0-18.fc27.x86_64 bzr-fastimport-0.13.0-11.fc27.noarch $ bzr fast-export bzr: ERROR: exceptions.ImportError: cannot import name binary_stream Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr ret = run(*run_argv) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/cmds.py", line 679, in run from bzrlib.plugins.fastimport import exporter File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py", line 67, in <module> from fastimport.helpers import ( ImportError: cannot import name binary_stream bzr 2.7.0 on python 2.7.14 (Linux-4.15.10-300.fc27.x86_64-x86_64-with- fedora-27-Twenty_Seven) arguments: ['/usr/bin/bzr', 'fast-export'] plugins: bash_completion[2.7.0], changelog_merge[2.7.0], fastimport[0.13.0], grep[2.7.0], launchpad[2.7.0], netrc_credential_store[2.7.0], news_merge[2.7.0], po_merge[2.7.0], weave_fmt[2.7.0] encoding: 'utf-8', fsenc: 'UTF-8', lang: 'it_IT.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.
This very same bug is reported on Launchpad too (LP #1295833), it is against bzr-fastimport. https://bugs.launchpad.net/bzr-fastimport/+bug/1295833 The bzr-fastimport revision 360 seems to solve LP #1295833. https://code.launchpad.net/~bzr/bzr-fastimport/trunk
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.