Unsupported version control system "svn": cannot import name fs

606 views
Skip to first unread message

mx....@qq.com

unread,
May 3, 2016, 10:51:34 PM5/3/16
to Trac Users
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": cannot import name fs). Look in the Trac log for more information.

I do not know why there is such a prompt, it looks as if there is no module installed, but I do follow the official document to do!

RjOllos

unread,
May 4, 2016, 12:36:47 AM5/4/16
to Trac Users


On Tuesday, May 3, 2016 at 7:51:34 PM UTC-7, mx....@qq.com wrote:
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": cannot import name fs). Look in the Trac log for more information.

I do not know why there is such a prompt, it looks as if there is no module installed, but I do follow the official document to do!

mx....@qq.com

unread,
May 4, 2016, 2:15:18 AM5/4/16
to Trac Users
I did not pass the first step in the verification
[root@host104 ~]# python
Python 2.7.11 (default, May  3 2016, 16:30:54) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] 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: cannot import name core
>>> 


But I have installed all known dependencies, or why not?

Package python-subvertpy-0.8.10-1.el6.x86_64 already installed and latest version
Package pysvn-1.7.6-1.el6.x86_64 already installed and latest version
Package mod_python-3.3.1-16.el6.x86_64 already installed and latest version
Package subversion-1.6.11-15.el6_7.x86_64 already installed and latest version





在 2016年5月4日星期三 UTC+8下午12:36:47,RjOllos写道:

Ryan Ollos

unread,
May 4, 2016, 2:20:09 AM5/4/16
to Trac Users




From: mx....@qq.com
Sent: Tuesday, May 3, 11:15 PM
Subject: [Trac] Re: Unsupported version control system "svn": cannot import name fs
To: Trac Users

I did not pass the first step in the verification

[root@host104 ~]# python

Python 2.7.11 (default, May  3 2016, 16:30:54) 

[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] 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: cannot import name core

>>> 

But I have installed all known dependencies, or why not?

Package python-subvertpy-0.8.10-1.el6.x86_64 already installed and latest version

Package pysvn-1.7.6-1.el6.x86_64 already installed and latest version


Remove pysvn and install python-subversion.

mx....@qq.com

unread,
May 4, 2016, 2:36:15 AM5/4/16
to Trac Users
Can you help me?

在 2016年5月4日星期三 UTC+8下午2:20:09,RjOllos写道:

Jun Omae

unread,
May 4, 2016, 5:38:45 AM5/4/16
to trac-...@googlegroups.com
On Wed, May 4, 2016 at 3:15 PM, <mx....@qq.com> wrote:
> But I have installed all known dependencies, or why not?
>
> Package python-subvertpy-0.8.10-1.el6.x86_64 already installed and latest version
> Package pysvn-1.7.6-1.el6.x86_64 already installed and latest version
> Package mod_python-3.3.1-16.el6.x86_64 already installed and latest version
> Package subversion-1.6.11-15.el6_7.x86_64 already installed and latest version

You should install subversion-python package, not pysvn.

See https://trac.edgewall.org/wiki/TracSubversion#RedHat7CentOS7Fedora18andlater


--
Jun Omae <jun...@gmail.com> (大前 潤)

mx....@qq.com

unread,
May 4, 2016, 10:23:31 PM5/4/16
to Trac Users
I solved the problem is solved by centos7 above, I have to upgrade the system, although it was a reckless decision.

在 2016年5月4日星期三 UTC+8下午5:38:45,Jun Omae写道:
Reply all
Reply to author
Forward
0 new messages