svn-import failures with CommittedQueue error on CentOS 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
With a new start (restored VM, reinstalled) I was unable to duplicate 1521415. However, I did stumble into a different hole
bzr svn-import https:/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run(
File "/usr/lib64/
return self._operation
File "/usr/lib64/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/home/
from bzrlib.
File "/home/
from subvertpy.wc import (
ImportError: cannot import name CommittedQueue
bzr 2.5.1 on python 2.7.5 (Linux-
centos-
arguments: ['/usr/bin/bzr', 'svn-import',
'https:/
plugins: bash_completion
explorer[
netrc_
qbzr[
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.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:/
including this traceback and a description of the problem.
[khb@CentoOS7Gn
Bazaar (bzr) 2.5.1
Python interpreter: /usr/bin/python 2.7.5
Python standard library: /usr/lib64/
Platform: Linux-3.
bzrlib: /usr/lib64/
Bazaar configuration: /home/khb/.bazaar
Bazaar log file: /home/khb/.bzr.log
Copyright 2005-2012 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.
[khb@CentoOS7Gn
Installed bzr-svn via:
cd .bazaar/plugins
bzr branch lp:bzr-svn svn
Verified installation via
bzr help svn-import
[khb@CentoOS7Gn
Purpose: Convert a Subversion repository to a Bazaar repository.
Usage: bzr svn-import FROM_LOCATION [TO_LOCATION]
Options:
--restore Restore branches that were removed but have not been
--all Convert all revisions, even those not in current branch
--layout=ARG Repository layout (none, trunk, etc). Default: auto.
-v, --verbose Display more information.
--format=ARG Specify a format for this repository. See "bzr help
--standalone Create standalone branches.
-q, --quiet Only display errors and warnings.
--trees Create working trees.
--keep Don't delete branches removed in Subversion.
--colocated Create colocated branches.
--usage Show usage message and options.
--until=ARG Only import revisions up to specified Subversion revnum
-h, --help Show help message.
Description:
To save disk space, only branches will be created by default
(no working trees). To create a tree for a branch, run "bzr co" in
it.
This command is resumable; any previously imported revisions will be
skipped.
From: plugin "svn"
See also: formats
[khb@CentoOS7Gn
[khb@CentoOS7Gn
this is a debug log for diagnosing/
you can delete or truncate this file, or include sections in
bug reports to https:/
Tue 2015-12-01 11:21:23 -0500
0.058 bazaar version: 2.5.1
0.058 bzr arguments: [u'svn-import', u'https:/
0.061 looking for plugins in /home/khb/
0.084 looking for plugins in /usr/lib64/
0.087 looking for plugins in /usr/lib/
0.089 encoding stdout as sys.stdout encoding 'UTF-8'
0.361 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.364 Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run(
File "/usr/lib64/
return self._operation
File "/usr/lib64/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/home/
from bzrlib.
File "/home/
from subvertpy.wc import (
ImportError: cannot import name CommittedQueue
0.368 couldn't find apport bug-reporting library: No module named apport
0.420 return code 4
[khb@CentoOS7Gn
subvertpy no longer provixes subvertpy.wc with newer versions of Subversion (>= 1.7), as the Subversion working copy library has been rewritten with differences in behaviour.
You either need a version of Subversion older than 1.7 (and rebuild subvertpy against that) or update subvertpy to support newer versions of Subversion (which is a non-trivial task). See bug #887749