Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#49105 - [bzr-fastimport] bzr fast-import crashes

Attached to Project: Community Packages
Opened by Dimitri Merejkowsky (dmerej) - Wednesday, 27 April 2016, 00:43 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 21 May 2016, 14:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

bzr-fastimport version 0.13.0-5
python2-fastimport version 0.9.4-1
bzr version 2.7.0-1

From a bazaar repo:

$ bzr fast-import .

bzr: ERROR: exceptions.ImportError: cannot import name invert_dict

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/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 288, in run
info = self._generate_info(source)
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/cmds.py", line 311, in _generate_info
from bzrlib.plugins.fastimport.processors import info_processor
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/processors/info_processor.py", line 25, in <module>
from fastimport.helpers import (
ImportError: cannot import name invert_dict

bzr 2.7.0 on python 2.7.11 (Linux-4.5.1-1-ARCH-x86_64-with-glibc2.2.5)
arguments: ['/usr/bin/bzr', 'fast-import', '.']
plugins: bash_completion[2.7.0], changelog_merge[2.7.0], etckeeper[unknown],
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],
rewrite[0.6.4dev], weave_fmt[2.7.0]
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.


This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Saturday, 21 May 2016, 14:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.14.0.r361-1
Comment by Juan Francisco Cantero Hurtado (juanfra) - Wednesday, 11 May 2016, 19:48 GMT
There is a patch for this bug http://bazaar.launchpad.net/~bzr/bzr-fastimport/trunk/revision/360 (https://bugs.launchpad.net/bzr-fastimport/+bug/1295833). "invert_dict" was removed from python2-fastimport in the version 0.9.3.

Loading...