Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2142 - python cannot import svn.repos

Attached to Project: Arch Linux
Opened by eliott (cactus) - Sunday, 06 February 2005, 06:36 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 06 February 2005, 14:00 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

(eliott@hermes viewcvs)$ python
Python 2.4 (#1, Dec 29 2004, 15:14:45)
[GCC 3.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn.repos
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/jchu/arch/extra/devel/subversion/pkg/usr/lib/svn-python/svn/repos.py", line 19, in ?
File "/home/jchu/arch/extra/devel/subversion/pkg/usr/lib/svn-python/svn/fs.py", line 28, in ?
File "/home/jchu/arch/extra/devel/subversion/pkg/usr/lib/svn-python/libsvn/fs.py", line 5, in ?
ImportError: libswigpy.so.0: cannot open shared object file: No such file or directory
>>>

Looks like it is looking for libs in the wrong place?
This task depends upon

Closed by  Jason Chu (jason)
Sunday, 06 February 2005, 22:42 GMT
Reason for closing:  Not a bug
Comment by eliott (cactus) - Sunday, 06 February 2005, 10:14 GMT
More info. This time with verbosity. Interactive mode. Just trying to load a module.

>>> import svn.repos
# /usr/lib/python2.4/site-packages/svn/repos.pyc matches /usr/lib/python2.4/site-packages/svn/repos.py
import svn.repos # precompiled from /usr/lib/python2.4/site-packages/svn/repos.pyc
# /usr/lib/python2.4/string.pyc matches /usr/lib/python2.4/string.py
import string # precompiled from /usr/lib/python2.4/string.pyc
# /usr/lib/python2.4/re.pyc matches /usr/lib/python2.4/re.py
import re # precompiled from /usr/lib/python2.4/re.pyc
# /usr/lib/python2.4/sre.pyc matches /usr/lib/python2.4/sre.py
import sre # precompiled from /usr/lib/python2.4/sre.pyc
# /usr/lib/python2.4/sre_compile.pyc matches /usr/lib/python2.4/sre_compile.py
import sre_compile # precompiled from /usr/lib/python2.4/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.4/sre_constants.pyc matches /usr/lib/python2.4/sre_constants.py
import sre_constants # precompiled from /usr/lib/python2.4/sre_constants.pyc
# /usr/lib/python2.4/sre_parse.pyc matches /usr/lib/python2.4/sre_parse.py
import sre_parse # precompiled from /usr/lib/python2.4/sre_parse.pyc
dlopen("/usr/lib/python2.4/lib-dynload/strop.so", 2);
import strop # dynamically loaded from /usr/lib/python2.4/lib-dynload/strop.so
# /usr/lib/python2.4/site-packages/svn/fs.pyc matches /usr/lib/python2.4/site-packages/svn/fs.py
import svn.fs # precompiled from /usr/lib/python2.4/site-packages/svn/fs.pyc
# /usr/lib/python2.4/tempfile.pyc matches /usr/lib/python2.4/tempfile.py
import tempfile # precompiled from /usr/lib/python2.4/tempfile.pyc
import errno # builtin
# /usr/lib/python2.4/random.pyc matches /usr/lib/python2.4/random.py
import random # precompiled from /usr/lib/python2.4/random.pyc
dlopen("/usr/lib/python2.4/lib-dynload/math.so", 2);
import math # dynamically loaded from /usr/lib/python2.4/lib-dynload/math.so
dlopen("/usr/lib/python2.4/lib-dynload/binascii.so", 2);
import binascii # dynamically loaded from /usr/lib/python2.4/lib-dynload/binascii.so
dlopen("/usr/lib/python2.4/lib-dynload/_random.so", 2);
import _random # dynamically loaded from /usr/lib/python2.4/lib-dynload/_random.so
dlopen("/usr/lib/python2.4/lib-dynload/fcntl.so", 2);
import fcntl # dynamically loaded from /usr/lib/python2.4/lib-dynload/fcntl.so
import thread # builtin
# /usr/lib/python2.4/popen2.pyc matches /usr/lib/python2.4/popen2.py
import popen2 # precompiled from /usr/lib/python2.4/popen2.pyc
import libsvn # directory /usr/lib/python2.4/site-packages/libsvn
# /usr/lib/python2.4/site-packages/libsvn/__init__.pyc matches /usr/lib/python2.4/site-packages/libsvn/__init__.py
import libsvn # precompiled from /usr/lib/python2.4/site-packages/libsvn/__init__.pyc
# /usr/lib/python2.4/site-packages/libsvn/fs.pyc matches /usr/lib/python2.4/site-packages/libsvn/fs.py
import libsvn.fs # precompiled from /usr/lib/python2.4/site-packages/libsvn/fs.pyc
dlopen("/usr/lib/python2.4/site-packages/libsvn/_fs.so", 2);
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/jchu/arch/extra/devel/subversion/pkg/usr/lib/svn-python/svn/repos.py", line 19, in ?
File "/home/jchu/arch/extra/devel/subversion/pkg/usr/lib/svn-python/svn/fs.py", line 28, in ?
File "/home/jchu/arch/extra/devel/subversion/pkg/usr/lib/svn-python/libsvn/fs.py", line 5, in ?
ImportError: libswigpy.so.0: cannot open shared object file: No such file or directory
Comment by Jason Chu (jason) - Sunday, 06 February 2005, 17:46 GMT
Try installing the swig package. It was removed because it's not a dependency of standard subversion but it is a dependency of its bindings.
Comment by eliott (cactus) - Sunday, 06 February 2005, 21:46 GMT
hooray! thanks Jason.
That seems to have done it.
;D
*does happy dance*

ps. Thanks for the quick reply. I suppose you can close the bug now.

Loading...