Bzr-svn cannot be loaded

Bug #201362 reported by Kevin Kubasik
4
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
subversion
New
Undecided
Unassigned
bzr-svn (Ubuntu)
Invalid
Undecided
Jelmer Vernooij

Bug Description

Binary package hint: bzr-svn

I get the following error every time I try to use bzr-svn. (python-subversion is installed)

kkubasik@kkubasik-laptop:~/mysrc/conduit$ bzr plugins
No Python bindings for Subversion installed. See the bzr-svn README for details.
Unable to load plugin 'svn' from '/usr/lib/python2.5/site-packages/bzrlib/plugins'

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

kkubasik@kkubasik-laptop:~/mysrc/conduit$ sudo apt-cache policy bzr-svn
bzr-svn:
  Installed: 0.4.7-1ubuntu1
  Candidate: 0.4.7-1ubuntu1
  Version table:
 *** 0.4.7-1ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
     0.4.7-1~gutsy1 0
        500 http://us.archive.ubuntu.com gutsy-backports/universe Packages
     0.4.1-1 0
        500 http://us.archive.ubuntu.com gutsy/universe Packages
kkubasik@kkubasik-laptop:~/mysrc/conduit$ sudo apt-cache policy python-subversion
python-subversion:
  Installed: 1.4.6dfsg1-2ubuntu1
  Candidate: 1.4.6dfsg1-2ubuntu1
  Version table:
 *** 1.4.6dfsg1-2ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status
     1.4.4dfsg1-1ubuntu3 0
        500 http://us.archive.ubuntu.com gutsy/main Packages
kkubasik@kkubasik-laptop:~/mysrc/conduit$

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

Does "python2.5 -c 'import svn.core'" work?

Changed in bzr-svn:
status: New → Incomplete
assignee: nobody → jelmer
Revision history for this message
Lee Braiden (lee-braiden) wrote :

I'm seeing this in debian (sid) too. From a python interpreter, import svn works fine. However, I found code online from bzr-svn which does "import svn.delta". If I do this, I get:

$ python
Python 2.5.2 (r252:60911, Jun 25 2008, 17:58:32)
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn.delta
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/svn/delta.py", line 19, in <module>
    from libsvn.delta import *
  File "/var/lib/python-support/python2.5/libsvn/delta.py", line 7, in <module>
    import _delta
ImportError: /usr/lib/libsvn_swig_py2.5-1.so.1: undefined symbol: svn_merge_range_dup
>>>

I just rebuilt the python-svn package from source and installed it. Same problem.

Revision history for this message
Lee Braiden (lee-braiden) wrote :

Ahh, I missed your svn.core question earlier. That doesn't work for me either (unsurprisingly).

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 201362] Re: Bzr-svn cannot be loaded

Am Mittwoch, den 02.07.2008, 11:36 +0000 schrieb Lee Braiden:
> I'm seeing this in debian (sid) too. From a python interpreter, import
> svn works fine. However, I found code online from bzr-svn which does
> "import svn.delta". If I do this, I get:
>
> $ python
> Python 2.5.2 (r252:60911, Jun 25 2008, 17:58:32)
> [GCC 4.3.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import svn.delta
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/var/lib/python-support/python2.5/svn/delta.py", line 19, in <module>
> from libsvn.delta import *
> File "/var/lib/python-support/python2.5/libsvn/delta.py", line 7, in <module>
> import _delta
> ImportError: /usr/lib/libsvn_swig_py2.5-1.so.1: undefined symbol: svn_merge_range_dup
> >>>
>
> I just rebuilt the python-svn package from source and installed it.
> Same problem.

  affects bzr
  status invalid

  affects subversion

This is a bug in the python-subversion package.

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

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

bzr-svn no longer uses python-subversion

Changed in bzr-svn:
status: Incomplete → Invalid
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.