assert entry.kind == 'file' fails in remove_file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CVS to Bazaar importer |
Incomplete
|
Medium
|
Unassigned |
Bug Description
I've imported all out CVS modules into bzr but this one gave the following error:
Creating cvsps dump file: /var/staging/
Read 27 patchsets (string cache hits: 0, total: 144)
Failed while processing: Patchset(7, HEAD, mixo, 2001/04/18 08:56:38)
Processed 6 patches (6 new, 0 existing) on 1 branches (2 tags) in 1.9s (3.15 patch/s)
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run_
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
importer.
File "/usr/lib/
self.
File "/usr/lib/
rev_id, action = cvs_to_
File "/usr/lib/
revision_id = self._extract_
File "/usr/lib/
self.
File "/usr/lib/
assert entry.kind == 'file'
AssertionError
bzr 2.1.1 on python 2.6.5 (Linux-
arguments: ['/usr/bin/bzr', 'cvsps-import', '-v', '--use-cvs', '/var/cvsroot', 'something', '/var']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
plugins:
bzrtools /usr/lib/
cvsps_import /usr/lib/
fastimport /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
*** 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:/
including this traceback and a description of the problem.
FYI
bzr version
Bazaar (bzr) 2.1.1
Python interpreter: /usr/bin/python 2.6.5
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /usr/lib/
Bazaar configuration: /root/.bazaar
Bazaar log file: /root/.bzr.log
Copyright 2005-2010 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Bazaar is part of the GNU Project to produce a free operating system.
Can you work out what the entry was, if not a file?
try
export BZR_PDB=1
then let it crash, then type
pp locals()