Ryan,

First, I'd like to "Thank you for your reply".

As I mention in my topic subversion is already installed on my system:

# rpm -q subversion
subversion-1.7.14-6.el7.x86_64
# 

I also went over TracSubversion – The Trac Project 
<http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs> and tried 
implementing some of it on my system as well:

# pwd
/usr/lib64/python2.7/site-packages
# cat svn.pth 
/usr/lib64/
# ll /usr/lib64/libsvn_*.0.0
-rwxr-xr-x. 1 root root 380256 Mar  5  2014 
/usr/lib64/libsvn_client-1.so.0.0.0
-rwxr-xr-x. 1 root root  57488 Mar  5  2014 
/usr/lib64/libsvn_delta-1.so.0.0.0
-rwxr-xr-x. 1 root root  70048 Mar  5  2014 
/usr/lib64/libsvn_diff-1.so.0.0.0
-rwxr-xr-x. 1 root root  32704 Mar  5  2014 /usr/lib64/libsvn_fs-1.so.0.0.0
-rwxr-xr-x. 1 root root 201032 Mar  5  2014 
/usr/lib64/libsvn_fs_base-1.so.0.0.0
-rwxr-xr-x. 1 root root 184680 Mar  5  2014 
/usr/lib64/libsvn_fs_fs-1.so.0.0.0
-rwxr-xr-x. 1 root root  11152 Mar  5  2014 
/usr/lib64/libsvn_fs_util-1.so.0.0.0
-rwxr-xr-x. 1 root root  49520 Mar  5  2014 /usr/lib64/libsvn_ra-1.so.0.0.0
-rwxr-xr-x. 1 root root  37320 Mar  5  2014 
/usr/lib64/libsvn_ra_local-1.so.0.0.0
-rwxr-xr-x. 1 root root 162376 Mar  5  2014 
/usr/lib64/libsvn_ra_neon-1.so.0.0.0
-rwxr-xr-x. 1 root root 104496 Mar  5  2014 
/usr/lib64/libsvn_ra_svn-1.so.0.0.0
-rwxr-xr-x. 1 root root 191592 Mar  5  2014 
/usr/lib64/libsvn_repos-1.so.0.0.0
-rwxr-xr-x. 1 root root 419168 Mar  5  2014 
/usr/lib64/libsvn_subr-1.so.0.0.0
-rwxr-xr-x. 1 root root  83544 Mar  5  2014 
/usr/lib64/libsvn_swig_py-1.so.0.0.0
-rwxr-xr-x. 1 root root 615296 Mar  5  2014 /usr/lib64/libsvn_wc-1.so.0.0.0
# 

as /usr/lib64 is where my "libsvn" resides.

same documentation also mentions following:
"One simple solution for rpm-based operating systems, is to install the 
subversion-python bindings rpm."
and again as I stated in my topic earlier "subversion-python" is not 
available for RHEL7.

if I overlooked something or you have any other ideas, please let me know.

Thanks again!



On Monday, February 9, 2015 at 1:40:38 PM UTC-5, RjOllos wrote:
>
> On Mon, Feb 9, 2015 at 9:17 AM, alexus <ale...@gmail.com <javascript:>> 
> wrote:
>
>> Hello,
>>
>> I'm using The Trac Project <http://trac.edgewall.org/> with TracModWSGI 
>> – The Trac Project <http://trac.edgewall.org/wiki/TracModWSGI> on RHEL7:
>>
>>     # cat /etc/redhat-release 
>>     Red Hat Enterprise Linux Server release 7.0 (Maipo)
>>     # rpm -q httpd mod_wsgi subversion swig
>>     httpd-2.4.6-18.el7_0.x86_64
>>     mod_wsgi-3.4-12.el7_0.x86_64
>>     subversion-1.7.14-6.el7.x86_64
>>     swig-2.0.10-4.el7.x86_64
>>     # grep tracopt.versioncontrol conf/trac.ini
>>     tracopt.versioncontrol.git.* = enabled
>>     tracopt.versioncontrol.svn.* = enabled
>>     # 
>>
>> While trying to "Browse Source" (Subversion), I'm getting following error:
>>
>> "Trac Error:" - "Unsupported version control system "svn": No module 
>> named svn"
>>
>> "Logging":
>>
>>     Trac[svn_fs] INFO: Failed to load Subversion bindings
>>     Traceback (most recent call last):
>>       File 
>> "build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py", line 
>> 296, in __init__
>>         _import_svn()
>>       File 
>> "build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py", line 
>> 78, in _import_svn
>>         from svn import fs, repos, core, delta
>>     ImportError: No module named svn
>>
>> Issue is with Python bindings for Subversion can't be loaded by Trac:
>>
>>     # python
>>     Python 2.7.5 (default, Feb 11 2014, 07:46:25) 
>>     [GCC 4.8.2 20140120 (Red Hat 4.8.2-13)] 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>
>>     ImportError: No module named svn
>>     >>> 
>>     # 
>>
>> Quote from TracSubversion – The Trac Project 
>> <http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting>:
>>
>> > One simple solution for rpm-based operating systems, is to install the
>> > subversion-python bindings rpm.
>>
>> Unfortunately "No package subversion-python available.":
>>
>>     # subscription-manager repos | grep '^Repo ID' | egrep -v 
>> 'beta|debug|fastrack|source'
>>     Repo ID:   rhel-7-server-v2vwin-1-rpms
>>     Repo ID:   rhel-7-server-rpms
>>     Repo ID:   rhel-7-server-extras-rpms
>>     Repo ID:   rhel-7-server-rhn-tools-rpms
>>     Repo ID:   rhel-7-server-thirdparty-oracle-java-rpms
>>     Repo ID:   rhel-7-server-rh-common-rpms
>>     Repo ID:   rhel-7-server-supplementary-rpms
>>     Repo ID:   rhel-7-server-optional-rpms
>>     # yum install subversion-python
>>     Loaded plugins: product-id, subscription-manager
>>     No package subversion-python available.
>>     Error: Nothing to do
>>     # yum repolist
>>     Loaded plugins: product-id, subscription-manager
>>     repo id                                   repo 
>> name                                               status
>>     !epel/x86_64                              Extra Packages for 
>> Enterprise Linux 7 - x86_64          7,192
>>     rhel-7-server-rpms/7Server/x86_64         Red Hat Enterprise Linux 7 
>> Server (RPMs)                5,320
>>     repolist: 12,512
>>     # 
>>
>> I'm researching "pysvn" (as alternative) instead of "subversion-python" 
>> meanwhile.
>>
>> Please advise.
>>
>>
> pysvn won't work. I'm not very familiar with RHEL, but it looks like our 
> documentation says that the bindings will be installed when the  svn 
> package is installed
> http://trac.edgewall.org/wiki/TracSubversion#RedHatFedoraCentOSLinux
>
> Here are some debugging steps to follow:
> http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs
>
> On Ubuntu running Trac in a virtualenv, I've had to manually create links 
> in the site-packages, similar to what is described here: 
> http://trac.edgewall.org/wiki/TracOnRedhat#Fixlibsvnpaths
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to