TracError: Unsupported version control system: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
(Nejsou zobrazeny 2 mezilehlé verze od stejného uživatele.) | |||
Řádek 1: | Řádek 1: | ||
= Problem= |
|||
⚫ | |||
⚫ | |||
<pre>TracError: Unsupported version control system "svn". Check that the Python bindings for "svn" are correctly installed.</pre> |
<pre>TracError: Unsupported version control system "svn". Check that the Python bindings for "svn" are correctly installed.</pre> |
||
Trac version: 0.10.5-1.fc10 |
|||
Apache httpd version: 2.2.11-2.fc10 |
|||
Subversion version: 1.5.4-3 |
|||
SVN core import test according inctruction at [http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs] |
SVN core import test according inctruction at [http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs] |
||
< |
<source lang="bash">[user@server /]# python |
||
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03) |
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03) |
||
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 |
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 |
||
Řádek 16: | Řádek 20: | ||
File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 7, in <module> |
File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 7, in <module> |
||
import _core |
import _core |
||
ImportError: /usr/lib64/libsvn_fs_base-1.so.0: undefined symbol: db_create</ |
ImportError: /usr/lib64/libsvn_fs_base-1.so.0: undefined symbol: db_create</source> |
||
Library libsvn_fs_base dependencies: |
Library libsvn_fs_base dependencies: |
||
< |
<source lang="bash">[user@server /usr/lib64]# ldd /usr/lib64/libsvn_fs_base-1.so.0 |
||
linux-vdso.so.1 => (0x00007fffb3ffe000) |
linux-vdso.so.1 => (0x00007fffb3ffe000) |
||
libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0 (0x00007fd4abaa1000) |
libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0 (0x00007fd4abaa1000) |
||
Řádek 33: | Řádek 37: | ||
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fd4aa08e000) |
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fd4aa08e000) |
||
libdl.so.2 => /lib64/libdl.so.2 (0x00007fd4a9e8a000) |
libdl.so.2 => /lib64/libdl.so.2 (0x00007fd4a9e8a000) |
||
/lib64/ld-linux-x86-64.so.2 (0x00007fd4abedb000)</ |
/lib64/ld-linux-x86-64.so.2 (0x00007fd4abedb000)</source> |
||
Missing dependency: |
Missing dependency: |
||
< |
<source lang="bash"> libdb-4.7.so => /usr/lib64/libdb-4.7.so (0x00007fd4aa2b8000) |
||
</ |
</source> |
||
=Solution= |
|||
Problem is connected with version of apr(Apache Portable Runtime library) |
|||
<source lang="bash">[user@server lib64]# ll|grep libapr |
|||
lrwxrwxrwx 1 root root 21 29. čen 11.36 libaprutil-1.so.0 -> libaprutil-1.so.0.3.7 |
|||
-rwxr-xr-x 1 root root 140768 23. srp 2008 libaprutil-1.so.0.3.4 |
|||
-rwxr-xr-x 1 root root 138944 8. čen 08.58 libaprutil-1.so.0.3.7 |
|||
lrwxrwxrwx 1 root root 17 29. čen 11.36 libapr-1.so.0 -> libapr-1.so.0.3.5 |
|||
-rwxr-xr-x 1 root root 173664 23. srp 2008 libapr-1.so.0.3.3 |
|||
-rwxr-xr-x 1 root root 175136 8. čen 08.47 libapr-1.so.0.3.5 |
|||
</source> |
|||
Change symbolic link to older working version of libapr and libaprutil. |
|||
<source lang="bash">[user@server lib64]# ll|grep libapr |
|||
lrwxrwxrwx 1 root root 21 30. čen 10.35 libaprutil-1.so.0 -> libaprutil-1.so.0.3.4 |
|||
-rwxr-xr-x 1 root root 140768 23. srp 2008 libaprutil-1.so.0.3.4 |
|||
-rwxr-xr-x 1 root root 138944 8. čen 08.58 libaprutil-1.so.0.3.7 |
|||
lrwxrwxrwx 1 root root 17 30. čen 10.34 libapr-1.so.0 -> libapr-1.so.0.3.3 |
|||
-rwxr-xr-x 1 root root 173664 23. srp 2008 libapr-1.so.0.3.3 |
|||
-rwxr-xr-x 1 root root 175136 8. čen 08.47 libapr-1.so.0.3.5</source> |
|||
[[Kategorie:Linux]] |
Aktuální verze z 5. 2. 2011, 09:01
Problem
Full error message:
TracError: Unsupported version control system "svn". Check that the Python bindings for "svn" are correctly installed.
Trac version: 0.10.5-1.fc10 Apache httpd version: 2.2.11-2.fc10 Subversion version: 1.5.4-3
SVN core import test according inctruction at [1]
[user@server /]# python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import core
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.5/site-packages/svn/core.py", line 19, in <module>
from libsvn.core import *
File "/usr/lib64/python2.5/site-packages/libsvn/core.py", line 7, in <module>
import _core
ImportError: /usr/lib64/libsvn_fs_base-1.so.0: undefined symbol: db_create
Library libsvn_fs_base dependencies:
[user@server /usr/lib64]# ldd /usr/lib64/libsvn_fs_base-1.so.0
linux-vdso.so.1 => (0x00007fffb3ffe000)
libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0 (0x00007fd4abaa1000)
libsvn_subr-1.so.0 => /usr/lib64/libsvn_subr-1.so.0 (0x00007fd4ab861000)
libaprutil-1.so.0 => /usr/lib64/libaprutil-1.so.0 (0x00007fd4ab63f000)
libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x00007fd4ab415000)
libsvn_fs_util-1.so.0 => /usr/lib64/libsvn_fs_util-1.so.0 (0x00007fd4ab214000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd4aaff0000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd4aac7e000)
libz.so.1 => /lib64/libz.so.1 (0x00007fd4aaa69000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fd4aa864000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fd4aa62c000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fd4aa08e000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fd4a9e8a000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd4abedb000)
Missing dependency:
libdb-4.7.so => /usr/lib64/libdb-4.7.so (0x00007fd4aa2b8000)
Solution
Problem is connected with version of apr(Apache Portable Runtime library)
[user@server lib64]# ll|grep libapr
lrwxrwxrwx 1 root root 21 29. čen 11.36 libaprutil-1.so.0 -> libaprutil-1.so.0.3.7
-rwxr-xr-x 1 root root 140768 23. srp 2008 libaprutil-1.so.0.3.4
-rwxr-xr-x 1 root root 138944 8. čen 08.58 libaprutil-1.so.0.3.7
lrwxrwxrwx 1 root root 17 29. čen 11.36 libapr-1.so.0 -> libapr-1.so.0.3.5
-rwxr-xr-x 1 root root 173664 23. srp 2008 libapr-1.so.0.3.3
-rwxr-xr-x 1 root root 175136 8. čen 08.47 libapr-1.so.0.3.5
Change symbolic link to older working version of libapr and libaprutil.
[user@server lib64]# ll|grep libapr
lrwxrwxrwx 1 root root 21 30. čen 10.35 libaprutil-1.so.0 -> libaprutil-1.so.0.3.4
-rwxr-xr-x 1 root root 140768 23. srp 2008 libaprutil-1.so.0.3.4
-rwxr-xr-x 1 root root 138944 8. čen 08.58 libaprutil-1.so.0.3.7
lrwxrwxrwx 1 root root 17 30. čen 10.34 libapr-1.so.0 -> libapr-1.so.0.3.3
-rwxr-xr-x 1 root root 173664 23. srp 2008 libapr-1.so.0.3.3
-rwxr-xr-x 1 root root 175136 8. čen 08.47 libapr-1.so.0.3.5