svn-import failures with CommittedQueue error on CentOS 7

Bug #1521683 reported by khb
6
This bug affects 1 person
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://sc01.profitool.com/svn/profitool/branches/source/bb
bzr: ERROR: exceptions.ImportError: cannot import name CommittedQueue

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1131, 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 695, 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 "/home/khb/.bazaar/plugins/svn/commands.py", line 111, in run
    from bzrlib.plugins.svn.workingtree import SvnCheckout
  File "/home/khb/.bazaar/plugins/svn/workingtree.py", line 35, in <module>
    from subvertpy.wc import (
ImportError: cannot import name CommittedQueue

bzr 2.5.1 on python 2.7.5 (Linux-3.10.0-229.20.1.el7.x86_64-x86_64-with-
    centos-7.1.1503-Core)
arguments: ['/usr/bin/bzr', 'svn-import',
    'https://sc01.profitool.com/svn/profitool/branches/source/bb']
plugins: bash_completion[2.5.1], bzrtools[2.5.0], changelog_merge[2.5.1],
    explorer[1.3.1dev], keywords[unknown], launchpad[2.5.1],
    netrc_credential_store[2.5.1], news_merge[2.5.1], po_merge[2.5.1],
    qbzr[0.23.2dev], svn[1.2.3], weave_fmt[2.5.1]
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://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
[khb@CentoOS7Gnome]~%

Bazaar (bzr) 2.5.1
  Python interpreter: /usr/bin/python 2.7.5
  Python standard library: /usr/lib64/python2.7
  Platform: Linux-3.10.0-229.20.1.el7.x86_64-x86_64-with-centos-7.1.1503-Core
  bzrlib: /usr/lib64/python2.7/site-packages/bzrlib
  Bazaar configuration: /home/khb/.bazaar
  Bazaar log file: /home/khb/.bzr.log

Copyright 2005-2012 Canonical Ltd.
http://bazaar.canonical.com/

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@CentoOS7Gnome]~%

Installed bzr-svn via:

cd .bazaar/plugins
bzr branch lp:bzr-svn svn

Verified installation via

bzr help svn-import

[khb@CentoOS7Gnome]~% bzr help svn-import
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
                   changed since the last import.
  --all Convert all revisions, even those not in current branch
                   history.
  --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
                   formats" for details. Must support rich-root.
  --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@CentoOS7Gnome]~%

[khb@CentoOS7Gnome]~% cat .bzr.log

this is a debug log for diagnosing/reporting problems in bzr
you can delete or truncate this file, or include sections in
bug reports to https://bugs.launchpad.net/bzr/+filebug

Tue 2015-12-01 11:21:23 -0500
0.058 bazaar version: 2.5.1
0.058 bzr arguments: [u'svn-import', u'https://sc01.profitool.com/svn/profitool/branches/source/bb']
0.061 looking for plugins in /home/khb/.bazaar/plugins
0.084 looking for plugins in /usr/lib64/python2.7/site-packages/bzrlib/plugins
0.087 looking for plugins in /usr/lib/python2.7/site-packages/bzrlib/plugins
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/python2.7/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1131, 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 695, 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 "/home/khb/.bazaar/plugins/svn/commands.py", line 111, in run
    from bzrlib.plugins.svn.workingtree import SvnCheckout
  File "/home/khb/.bazaar/plugins/svn/workingtree.py", line 35, in <module>
    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@CentoOS7Gnome]~%

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.