[Pkg-bazaar-maint] Bug#577774: bzr fast-import ERROR: exceptions.IndexError: list index out of range
Sergio Gelato
Sergio.Gelato at astro.su.se
Wed Apr 14 12:35:44 UTC 2010
Package: bzr-fastimport
Version: 0.9.0~bzr261
Severity: important
After invoking cvs2bzr directly to generate a fastimport file (see #557581)
I now get the following:
$ bzr fast-import www.fi /path/to/bzr/repo/branch
22:29:36 Collecting statistics ...
22:29:36 Starting import of 672 commits ...
ABORT: exception occurred processing commit :1000000000
bzr: ERROR: exceptions.IndexError: list index out of range
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 853, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1055, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 661, in run_argv_aliases
return self.run_direct(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 665, in run_direct
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 122, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport/__init__.py", line 384, in run
r/lib/python2.5/site-packages/bzrlib/plugins/fastimport/bzr_commit_handler.py", line 578, in pre_process_files
super(InventoryDeltaCommitHandler, self).pre_process_files()
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport/bzr_commit_handler.py", line 91, in pre_process_files
self.revision = self.build_revision()
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport/bzr_commit_handler.py", line 223, in build_revision
self.branch_ref)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport/branch_mapper.py", line 39, in git_to_bzr
name_no_ext = self._git_to_bzr_name(parts[-1])
IndexError: list index out of range
bzr 2.1.1 on python 2.5.2 (Linux-2.6.26-2-amd64-x86_64-with-debian-5.0.4)
arguments: ['/usr/bin/bzr', 'fast-import', 'www.fi', '/path/to/bzr/repo/branch/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
params, verbose, user_map=user_map)
plugins:
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [2.1.0]
fastimport /usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport [0.9.0dev]
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.1.1]
netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
news_merge /usr/lib/python2.5/site-packages/bzrlib/plugins/news_merge [2.1.1]
xmloutput /usr/lib/python2.5/site-packages/bzrlib/plugins/xmloutput [0.8.6]
*** 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.
The good news is that if I upgrade to the 0.9 release (revision number
275) of bzr-fastimport the problem no longer occurs. So maybe this bug
report should really be titled "please upgrade to newer upstream version".
More information about the Pkg-bazaar-maint
mailing list