subvertpy error when trying to 'bzr branch' on an svn repo

Fanelli, Paul pfanelli at crossbeamsys.com
Fri May 1 16:51:39 BST 2009


Hello,

 

I am getting the following error when I try to do:

 

bzr get svn+http://birch.crossbeamsys.com/repos/scas/automation
svn-out-mainline

/usr/local/lib/python2.6/site-packages/subvertpy/__init__.py:100:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6

  raise ImportError("Unable to load subvertpy extensions: %s",
e.message)

bzr: ERROR: exceptions.ImportError: ('Unable to load subvertpy
extensions: %s',
'/usr/local/lib/python2.6/site-packages/subvertpy/client.so: undefined
symbol: svn_ra_get_log2')

 

Traceback (most recent call last):

  File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line
727, in exception_to_return_code

    return the_callable(*args, **kwargs)

  File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line
922, in run_bzr

    ret = run(*run_argv)

  File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line
559, in run_argv_aliases

    return self.run(**all_cmd_args)

  File "/usr/local/lib/python2.6/site-packages/bzrlib/builtins.py", line
1092, in run

    from_location)

  File "/usr/local/lib/python2.6/site-packages/bzrlib/bzrdir.py", line
922, in open_tree_or_branch

    bzrdir = klass.open(location)

  File "/usr/local/lib/python2.6/site-packages/bzrlib/bzrdir.py", line
806, in open

    t = get_transport(base, possible_transports=possible_transports)

  File "/usr/local/lib/python2.6/site-packages/bzrlib/lazy_import.py",
line 125, in __call__

    return obj(*args, **kwargs)

  File
"/usr/local/lib/python2.6/site-packages/bzrlib/transport/__init__.py",
line 1602, in get_transport

    transport, last_err = _try_transport_factories(base, factory_list)

  File
"/usr/local/lib/python2.6/site-packages/bzrlib/transport/__init__.py",
line 1625, in _try_transport_factories

    return factory.get_obj()(base), None

  File "/usr/local/lib/python2.6/site-packages/bzrlib/registry.py", line
61, in get_obj

    self._do_import()

  File "/usr/local/lib/python2.6/site-packages/bzrlib/registry.py", line
70, in _do_import

    obj = __import__(self._module_name, globals(), locals(), names)

  File
"/usr/local/lib/python2.6/site-packages/bzrlib/plugins/svn/transport.py"
, line 19, in <module>

    import subvertpy

  File "/usr/local/lib/python2.6/site-packages/subvertpy/__init__.py",
line 100, in <module>

    raise ImportError("Unable to load subvertpy extensions: %s",
e.message)

ImportError: ('Unable to load subvertpy extensions: %s',
'/usr/local/lib/python2.6/site-packages/subvertpy/client.so: undefined
symbol: svn_ra_get_log2')

 

bzr 1.14 on python 2.6.1 (linux2)

arguments: ['/usr/local/bin/bzr', 'get',
'svn+http://birch.crossbeamsys.com/repos/scas/automation',
'svn-out-mainline']

encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'

plugins:

  launchpad
/usr/local/lib/python2.6/site-packages/bzrlib/plugins/launchpad
[unknown]

  netrc_credential_store
/usr/local/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_s
tore [unknown]

  pqm
/usr/local/lib/python2.6/site-packages/bzrlib/plugins/pqm [1.4dev]

  svn
/usr/local/lib/python2.6/site-packages/bzrlib/plugins/svn [0.6dev]

*** Bazaar has encountered an internal error.

    Please report a bug at https://bugs.launchpad.net/bzr/+filebug

    including this traceback, and a description of what you

    were doing when the error occurred.

 

 

I downloaded svn 1.6.1 and deps.  I ran ./configure, make and make
install for svn.

I downloaded subvertpy with:  bzr get lp:subvertpy, then ran make and
./setup.py install

 

The svn repo I am trying to branch from is a 1.4.3.

 

 

Oh, by the way...

I forgot to thank you for all the work you did on my last problem, with
the svn/bzr author issue.

I was going to send you a note to not do the work, but you already did
it!

I convinced the mgmt around here that having the author as 'pqm' was ok
and to really see who did what, you just had to look at the merge log
entries under pqm. I setup loggerhead and demo'ed this concept.

 

Regards

Paul Fanelli

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090501/86ed9e40/attachment-0001.htm 


More information about the bazaar mailing list