Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Unsupported version control system 'svn'

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


yinglcs at gmail

Jan 14, 2007, 6:48 PM

Post #1 of 7 (2973 views)
Permalink
Unsupported version control system 'svn'

Hi,

I am trying these steps to setup Trac on Fedora 5.

http://www.darronschall.com/weblog/archives/000202.cfm


I think the default repository type is 'svn' during the 'trac-admin
/srv/svn/tracenv/sample/ initenv' script. If you can please tell me
what am I missing, i appreciate it.


Here is the web page I get when I hit http://localhost:8000/snapshot
with my browser




If you think this really should work and you can reproduce it, you
should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you
describe the problem, how to reproduce it. Don't forget to include the
Python traceback found below.

TracGuide — The Trac User and Administration Guide
Python Traceback

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
in dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
in _pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 73, in pre_process_request
self.get_repository(req.authname) # triggers a sync if applicable
File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 91, in get_repository
raise TracError('Unsupported version control system "%s"'
TracError: Unsupported version control system "svn"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


thinker0 at gmail

Jan 15, 2007, 3:39 AM

Post #2 of 7 (2888 views)
Permalink
Re: Unsupported version control system 'svn' [In reply to]

difference version(APR,APR-URIL)

Subversion APR, APR-UTIL and Apache APR, APR-UTIL

On 1 15 , 11 48 , "ying lcs" <ying...@gmail.com> wrote:
> Hi,
>
> I am trying these steps to setup Trac on Fedora 5.
>
> http://www.darronschall.com/weblog/archives/000202.cfm
>
> I think the default repository type is 'svn' during the 'trac-admin
> /srv/svn/tracenv/sample/ initenv' script. If you can please tell me
> what am I missing, i appreciate it.
>
> Here is the web page I get when I hithttp://localhost:8000/snapshot
> with my browser
>
> If you think this really should work and you can reproduce it, you
> should consider reporting this problem to the Trac team.
>
> Go tohttp://trac.edgewall.org/and create a new ticket where you
> describe the problem, how to reproduce it. Don't forget to include the
> Python traceback found below.
>
> TracGuide - The Trac User and Administration Guide
> Python Traceback
>
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
> in dispatch_request
> dispatcher.dispatch(req)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
> in dispatch
> chosen_handler = self._pre_process_request(req, chosen_handler)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
> in _pre_process_request
> chosen_handler = f.pre_process_request(req, chosen_handler)
> File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> line 73, in pre_process_request
> self.get_repository(req.authname) # triggers a sync if applicable
> File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> line 91, in get_repository
> raise TracError('Unsupported version control system "%s"'
> TracError: Unsupported version control system "svn"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


yinglcs at gmail

Jan 15, 2007, 6:43 AM

Post #3 of 7 (2884 views)
Permalink
Re: Unsupported version control system 'svn' [In reply to]

Can you please tell me how can i fix it?
I did download subversion 1.4.2 source and compiles on my machine.

On 1/15/07, thinker0 <thinker0 [at] gmail> wrote:
>
> difference version(APR,APR-URIL)
>
> Subversion APR, APR-UTIL and Apache APR, APR-UTIL
>
> On 1 15 , 11 48 , "ying lcs" <ying...@gmail.com> wrote:
> > Hi,
> >
> > I am trying these steps to setup Trac on Fedora 5.
> >
> > http://www.darronschall.com/weblog/archives/000202.cfm
> >
> > I think the default repository type is 'svn' during the 'trac-admin
> > /srv/svn/tracenv/sample/ initenv' script. If you can please tell me
> > what am I missing, i appreciate it.
> >
> > Here is the web page I get when I hithttp://localhost:8000/snapshot
> > with my browser
> >
> > If you think this really should work and you can reproduce it, you
> > should consider reporting this problem to the Trac team.
> >
> > Go tohttp://trac.edgewall.org/and create a new ticket where you
> > describe the problem, how to reproduce it. Don't forget to include the
> > Python traceback found below.
> >
> > TracGuide - The Trac User and Administration Guide
> > Python Traceback
> >
> > Traceback (most recent call last):
> > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
> > in dispatch_request
> > dispatcher.dispatch(req)
> > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
> > in dispatch
> > chosen_handler = self._pre_process_request(req, chosen_handler)
> > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
> > in _pre_process_request
> > chosen_handler = f.pre_process_request(req, chosen_handler)
> > File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> > line 73, in pre_process_request
> > self.get_repository(req.authname) # triggers a sync if applicable
> > File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> > line 91, in get_repository
> > raise TracError('Unsupported version control system "%s"'
> > TracError: Unsupported version control system "svn"
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


yinglcs at gmail

Jan 15, 2007, 6:50 AM

Post #4 of 7 (2878 views)
Permalink
Re: Unsupported version control system 'svn' [In reply to]

When I compile subversion, it uses APR version 0.9.14 .

apr configured properly
checking APR version... 0.9.14
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... reconfig
configure: configuring package in apr-util now

any idea how to make Trac to work with that version?



On 1/15/07, ying lcs <yinglcs [at] gmail> wrote:
> Can you please tell me how can i fix it?
> I did download subversion 1.4.2 source and compiles on my machine.
>
> On 1/15/07, thinker0 <thinker0 [at] gmail> wrote:
> >
> > difference version(APR,APR-URIL)
> >
> > Subversion APR, APR-UTIL and Apache APR, APR-UTIL
> >
> > On 1 15 , 11 48 , "ying lcs" <ying...@gmail.com> wrote:
> > > Hi,
> > >
> > > I am trying these steps to setup Trac on Fedora 5.
> > >
> > > http://www.darronschall.com/weblog/archives/000202.cfm
> > >
> > > I think the default repository type is 'svn' during the 'trac-admin
> > > /srv/svn/tracenv/sample/ initenv' script. If you can please tell me
> > > what am I missing, i appreciate it.
> > >
> > > Here is the web page I get when I hithttp://localhost:8000/snapshot
> > > with my browser
> > >
> > > If you think this really should work and you can reproduce it, you
> > > should consider reporting this problem to the Trac team.
> > >
> > > Go tohttp://trac.edgewall.org/and create a new ticket where you
> > > describe the problem, how to reproduce it. Don't forget to include the
> > > Python traceback found below.
> > >
> > > TracGuide - The Trac User and Administration Guide
> > > Python Traceback
> > >
> > > Traceback (most recent call last):
> > > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
> > > in dispatch_request
> > > dispatcher.dispatch(req)
> > > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
> > > in dispatch
> > > chosen_handler = self._pre_process_request(req, chosen_handler)
> > > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
> > > in _pre_process_request
> > > chosen_handler = f.pre_process_request(req, chosen_handler)
> > > File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> > > line 73, in pre_process_request
> > > self.get_repository(req.authname) # triggers a sync if applicable
> > > File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> > > line 91, in get_repository
> > > raise TracError('Unsupported version control system "%s"'
> > > TracError: Unsupported version control system "svn"
> >
> >
> > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


adam.griffis at gmail

Feb 3, 2007, 12:39 PM

Post #5 of 7 (2847 views)
Permalink
Re: Unsupported version control system 'svn' [In reply to]

Did you find any solution to this? I'm having the same issue where
stuff seems to work from the command line, but not from the TRAC web
frontend...

On Jan 15, 9:50 am, "ying lcs" <ying...@gmail.com> wrote:
> When I compile subversion, it uses APR version 0.9.14 .
>
> apr configured properly
> checking APR version... 0.9.14
> configure: Apache Portable Runtime Utility (APRUTIL) library configuration
> checking for APR-util... reconfig
> configure: configuring package in apr-util now
>
> any idea how to make Trac to work with that version?
>
> On 1/15/07, ying lcs <ying...@gmail.com> wrote:
>
> > Can you please tell me how can i fix it?
> > I did download subversion 1.4.2 source and compiles on my machine.
>
> > On 1/15/07, thinker0 <think...@gmail.com> wrote:
>
> > > difference version(APR,APR-URIL)
>
> > > Subversion APR, APR-UTIL and Apache APR, APR-UTIL
>
> > > On 1 15 , 11 48 , "ying lcs" <ying...@gmail.com> wrote:
> > > > Hi,
>
> > > > I am trying these steps to setup Trac on Fedora 5.
>
> > > >http://www.darronschall.com/weblog/archives/000202.cfm
>
> > > > I think the default repository type is 'svn' during the 'trac-admin
> > > > /srv/svn/tracenv/sample/ initenv' script. If you can please tell me
> > > > what am I missing, i appreciate it.
>
> > > > Here is the web page I get when I hithttp://localhost:8000/snapshot
> > > > with my browser
>
> > > > If you think this really should work and you can reproduce it, you
> > > > should consider reporting this problem to the Trac team.
>
> > > > Go tohttp://trac.edgewall.org/andcreate a new ticket where you
> > > > describe the problem, how to reproduce it. Don't forget to include the
> > > > Python traceback found below.
>
> > > > TracGuide - The Trac User and Administration Guide
> > > > Python Traceback
>
> > > > Traceback (most recent call last):
> > > > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
> > > > in dispatch_request
> > > > dispatcher.dispatch(req)
> > > > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
> > > > in dispatch
> > > > chosen_handler = self._pre_process_request(req, chosen_handler)
> > > > File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
> > > > in _pre_process_request
> > > > chosen_handler = f.pre_process_request(req, chosen_handler)
> > > > File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> > > > line 73, in pre_process_request
> > > > self.get_repository(req.authname) # triggers a sync if applicable
> > > > File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> > > > line 91, in get_repository
> > > > raise TracError('Unsupported version control system"%s"'
> > > > TracError:Unsupported version control system"svn"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

Feb 3, 2007, 5:07 PM

Post #6 of 7 (2855 views)
Permalink
Re: Unsupported version control system 'svn' [In reply to]

> Did you find any solution to this? I'm having the same issue where
> stuff seems to work from the command line, but not from the TRAC web
> frontend...

Check that the python interpreter is actually the same when you run it
from the command line and from the web server, and double-check the
pythonpath that the web server is using.

You can add a trace in the web front-end to dump the python sys.path
either to the stderr output or to a temporary file.

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


vpaziran at gmail

Feb 3, 2007, 7:29 PM

Post #7 of 7 (2834 views)
Permalink
Re: Unsupported version control system 'svn' [In reply to]

Are you getting: TracError: Unsupported version control system
"svn" ???
Or how about: ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0:
undefined symbol: gss_delete_sec_context ?
If you are getting the first error mentioned, go to the command prompt
and type: python -c 'from svn import fs'

Well, it took me several hours of pain to figure out a solution. So
I've decided to reply to every thread in the Trac mailing list so that
others will be sure to stumble upon a (possible) answer. I installed
Trac 0.10.3 on RHEL4.

Here's the site that cured my pain: http://www.liucougar.net/blog/
archives/53/
Basically, recompile subversion but edit the Makefile so that neon
will explicitly link against gssapi lib:

vi subversion-1.4.2/Makefile
old: SVN_APR_LIBS = .../subversion-1.4.2/apr/libapr-0.la -lrt -lm -
lcrypt -lnsl -lpthread -ldl
new: SVN_APR_LIBS = .../subversion-1.4.2/apr/libapr-0.la -lrt -lm -
lcrypt -lnsl -lpthread -ldl -lgssapi
then compile + install again.

You can always not compile neon, but don't you want to browse your
code online? ;-)

Btw, if you apply the above solution but get the new error:
ImportError: libsvn_swig_py-1.so.0: cannot open shared object file: No
such file or directory
Then just reboot your box. Something is cached and needs to be
restarted.

keywords: red hat enterprise linux 4, rhel4, rhel, trac, subversion,
rpm, source code,
more keywords:

see also:
http://trac.edgewall.org/ticket/3706?format=rss
http://trac.edgewall.org/ticket/3706
http://pacopablo.com/irclogs/2007/01/28




2007-02-02 18:29:45,878 Trac[main] ERROR: Unsupported version control
system "svn"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
in dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
in _pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 73, in pre_process_request
self.get_repository(req.authname) # triggers a sync if applicable
File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 91, in get_repository
raise TracError('Unsupported version control system "%s"'
TracError: Unsupported version control system "svn"


Python 2.4.4 (#1, Feb 2 2007, 16:33:34)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn
>>> from svn import fs
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/svn-python/svn/fs.py", line 19, in ?
from libsvn.fs import *
File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
import _fs
ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
gss_delete_sec_context
>>>

------------------------------------------------------------
Quick-and-dirty notes on installing Trac from source code...
------------------------------------------------------------
[installed on RHEL4 - Nahant]


wget http://mirror.x10.com/mirror/apache/httpd/httpd-2.0.59.tar.gz
./configure --enable-dav --enable-so --enable-maintainer-mode --
prefix=/usr/local/apache2 && make && make install


wget http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz
./configure --prefix=/usr && make && make install


# no need to get swig - subversion-1.4 have the wrappers in its own
code
#wget 'http://downloads.sourceforge.net/swig/swig-1.3.25.tar.gz?
modtime=1118577644&big_mirror=0'
#./configure --prefix=/usr/local && make && make install


wget http://subversion.tigris.org/downloads/subversion-1.4.2.tar.gz
wget http://subversion.tigris.org/downloads/subversion-
deps-1.4.2.tar.gz
sh autogen.sh
./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/
local && make && make install
make swig-py && make install-swig-py
ls /usr/local/lib/svn-python # you should see "svn" and "libsvn"
dirs here
echo /usr/local/lib/svn-python > /usr/lib/python2.4/site-packages/
subversion.pth


wget http://www.clearsilver.net/downloads/clearsilver-0.10.4.tar.gz
./configure && make && make install


wget http://peak.telecommunity.com/dist/ez_setup.py
python2.4 ez_setup.py


wget http://docutils.sourceforge.net/docutils-snapshot.tgz
python2.4 setup.py build
python2.4 setup.py install


wget http://www.iki.fi/mtr/genscript/enscript-1.6.4.tar.gz
./configure --prefix=/usr/local && make && make install


wget http://mirror.olnevhost.net/pub/apache/httpd/modpython/
mod_python-3.2.10.tgz
./configure --with-apxs=/usr/local/apache2/bin/apxs && make && make
install


wget http://www.sqlite.org/sqlite-3.3.11.tar.gz
./configure --prefix=/usr/local && make && make install


wget http://initd.org/pub/software/pysqlite/releases/2.3/2.3.3/
pysqlite-2.3.3.tar.gz
python2.4 setup.py build
python2.4 setup.py install


wget http://ftp.edgewall.com/pub/trac/trac-0.10.3.tar.gz
python2.4 setup.py build
python2.4 setup.py install




On Jan 14, 6:48 pm, "ying lcs" <ying...@gmail.com> wrote:
> Hi,
>
> I am trying these steps to setup Trac on Fedora 5.
>
> http://www.darronschall.com/weblog/archives/000202.cfm
>
> I think the default repository type is 'svn' during the 'trac-admin
> /srv/svn/tracenv/sample/ initenv' script. If you can please tell me
> what am I missing, i appreciate it.
>
> Here is the web page I get when I hithttp://localhost:8000/snapshot
> with my browser
>
> If you think this really should work and you can reproduce it, you
> should consider reporting this problem to the Trac team.
>
> Go tohttp://trac.edgewall.org/and create a new ticket where you
> describe the problem, how to reproduce it. Don't forget to include the
> Python traceback found below.
>
> TracGuide - The Trac User and Administration Guide
> Python Traceback
>
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
> in dispatch_request
> dispatcher.dispatch(req)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
> in dispatch
> chosen_handler = self._pre_process_request(req, chosen_handler)
> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
> in _pre_process_request
> chosen_handler = f.pre_process_request(req, chosen_handler)
> File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> line 73, in pre_process_request
> self.get_repository(req.authname) # triggers a sync if applicable
> File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> line 91, in get_repository
> raise TracError('Unsupportedversioncontrolsystem"%s"'
> TracError:Unsupportedversioncontrolsystem"svn"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.