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

Mailing List Archive: Trac: Users

Unsupported version control system "svn"

 

 

First page Previous page 1 2 Next page Last page  View All Trac users RSS feed   Index | Next | Previous | View Threaded


anuradha.moturi at gmail

Nov 21, 2006, 7:33 PM

Post #26 of 33 (1462 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

I'm got the same error on my trac 0.10 on ubuntu, my issue got fixed when i
installed the python-subversion package. Hope if works for u as well.

cheers!

On 11/22/06, Fabiano Freitas <fabsiqueira[at]yahoo.com.br> wrote:
>
> I all.
>
> When I click in "Browser Source" the error is raise:
> >>> Unsupported version control system "svn"
>
> When I type de command:
>
> $ python
> >> from svn import core
> The error is raised
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/svn-python/svn/core.py", line 19, in ?
> from libsvn.core import *
> File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in ?
> import _core
> ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
> gss_delete_sec_context
>
>
> I use Red Hat EL 4, SVN 1.4.0, Apache 2.0.59, Swig 1.3.29, ClearSilver
> 0.9.3, Silvercity 0.9.6 and Trac 0.10.2
>
> Anyone knows how I resolve this error ?????
>
> Thanks
> Fabiano Freitas
>
>
> ------------------------------
> Yahoo! Search
> Música para ver e ouvir: You're Beautiful, do James Blunt<http://us.rd.yahoo.com/mail/br/tagline/search/video/*http://br.search.yahoo.com/search/video?p=james+blunt&ei=UTF-8&cv=g&x=wrt&vm=r&fr=intl-mail-br-b>
> >
>


--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


cboos at neuf

Nov 22, 2006, 12:13 AM

Post #27 of 33 (1449 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

Fabiano Freitas wrote:
> ...
>>> from svn import core
>>>
> The error is raised
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/svn-python/svn/core.py", line 19, in ?
> from libsvn.core import *
> File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in ?
> import _core
> ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol: gss_delete_sec_context
>
>
> I use Red Hat EL 4, SVN 1.4.0, Apache 2.0.59, Swig 1.3.29, ClearSilver 0.9.3, Silvercity 0.9.6 and Trac 0.10.2
>
> Anyone knows how I resolve this error ?????
>

See http://trac.edgewall.org/wiki/TracSubversion#ra_dav-undefined-symbol

-- Christian

--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


vpaziran at gmail

Feb 3, 2007, 7:27 PM

Post #28 of 33 (1406 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 Feb 3, 1:07 pm, "Adam Griffis" <adam.grif...@gmail.com> wrote:
> I submitted a similar message a bit ago, but it didn't seem to show up
> in the list. Forgive me if this ends up being a duplicate...
>
> I just finished installing TRAC on Dreamhost (my hosting provider),
> but it doesn't seem to be connecting to SVN properly. I've seen
> similar problems searching around with solutions referencing SWIG
> stuff, but all of that seems to be working for me as when I run python
> -c "from svn import core" from the command line I don't get any
> errors. However, when I load up trac, this is what I get:
>
> Traceback (most recent call last):
> File "/home/adgriffi/packages/lib/python2.3/site-packages/trac/web/
> main.py", line 387, in dispatch_request
> dispatcher.dispatch(req)
> File "/home/adgriffi/packages/lib/python2.3/site-packages/trac/web/
> main.py", line 191, in dispatch
> chosen_handler = self._pre_process_request(req, chosen_handler)
> File "/home/adgriffi/packages/lib/python2.3/site-packages/trac/web/
> main.py", line 263, in _pre_process_request
> chosen_handler = f.pre_process_request(req, chosen_handler)
> File "/home/adgriffi/packages/lib/python2.3/site-packages/trac/
> versioncontrol/api.py", line 73, in pre_process_request
> self.get_repository(req.authname) # triggers a sync if applicable
> File "/home/adgriffi/packages/lib/python2.3/site-packages/trac/
> versioncontrol/api.py", line 91, in get_repository
> raise TracError('Unsupported version control system "%s"'
> TracError: Unsupported version control system "svn"
>
> Any help will be greatly appreciated...
>
> --
> :wq


--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


kantrn at rpi

May 7, 2008, 9:21 PM

Post #29 of 33 (988 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

arrowes wrote:
> Hi,
>
> I installed Trac 0.11rc1 from easy_install on debian etch with
> python2.5 and apache2 with mod_wsgi and I get this message when I try
> to load Trac:
>
> Warning: Can't synchronize with the repository (Unsupported version
> control system "svn". Check that the Python support libraries for
> "svn" are correctly installed.)
>
> I have installed python-subversion 1.4.2dfsg1-2 and seems that in this
> package there aren't the subversion bindings for python 2.5, only for
> 2.4 :(
>
> I tried to install the python-subversion from testing but I can't
> because of the dependences.

I really hope you just sent this before asking the exact same question
in #trac, and receiving a clear answer.

--Noah
Attachments: signature.asc (0.24 KB)


asmodai at in-nomine

May 8, 2008, 12:24 AM

Post #30 of 33 (982 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

-On [20080508 06:22], Noah Kantrowitz (kantrn[at]rpi.edu) wrote:
>I really hope you just sent this before asking the exact same question in
>#trac, and receiving a clear answer.

Which was the following, summarized:

Debian Etch' system Python is 2.4, so basically moving to 2.5 brings you in
not-vendor (Debian) supported territory. (You want up to date packages?
Don't follow Debian. At least that's my impression of witnessing Linux from
the side of the BSDs.)

Also, there is no Debian Etch supported mod_wsgi for 2.5.

So all in all the conclusion was that trying to compile things by yourself
on Debian gets hairy at best.

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
If Winter comes, can Spring be far behind..?

--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


eirik.schwenke at nsd

May 8, 2008, 10:33 AM

Post #31 of 33 (989 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeroen Ruigrok van der Werven skrev 08-05-2008 09:24:
| -On [20080508 06:22], Noah Kantrowitz (kantrn[at]rpi.edu) wrote:
|> arrowes wrote:
|>> I installed Trac 0.11rc1 from easy_install on debian etch with
|>> python2.5 and apache2 with mod_wsgi and I get this message when I try
|>> to load Trac:

(...)

For more on getting python2.5+mod_wsgi to work, see below

I have trac 0.11rc1 running on Debian etch with apache2, mod_python and
python2.4. I recently did an upgrade (easy_install -U Trac), to follow along
with upstream. If you are able to either run a different apache instance, or
use mod_python, you shouldn't have any problems running trac 0.11rc1 on Debian.

Note that you can have both python2.5 and python2.4 installed on Debian.

Whether or not this helps you, depends on your reason for running mod_wsgi, of
course.

|> I really hope you just sent this before asking the exact same question in
|> #trac, and receiving a clear answer.
|
| Which was the following, summarized:
|
| Debian Etch' system Python is 2.4, so basically moving to 2.5 brings you in
| not-vendor (Debian) supported territory. (You want up to date packages?
| Don't follow Debian. At least that's my impression of witnessing Linux from
| the side of the BSDs.)

Well, no. If you want stable packages follow Debian stable. If you want to
"follow along with" upstream and can live with potential api-changes and other
problems between upgrades, run Debian testing.

(For example, Debian would never allow the kind of changes made to genshi in
~ a stable release -- now I *know* that genshi isn't considered to be stable
~ yet, just making the point that if you tested your package on a given Debian
~ stable release a year ago it will work (or fail:) the same way today as then).

If you want binary packages that are essentially following upstream, use Debian
unstable.

(Ok, I'm a Debian fan, so I get a bit too easily annoyed when people comment on
~ the state of packages i Debian -- Please do not think that I'm
~ flaming/trolling, I've for a long time wanted to give *bsd a serious try, but
~ haven't gotten around to it yet).

You are of course correct in your assertion that running anything outside of
Debian stable, moves you into "non-vendor" territory. But it's not a bad such
place to be, at least not on Debian :-)

Besides, using easy_install/source-packages directly from upstream puts you in
this position regardless of you distribution. If you can't live with the level
of testing done in Debian Testing, you probably shouldn't be using any upstream
packages at all.

| Also, there is no Debian Etch supported mod_wsgi for 2.5.
|
| So all in all the conclusion was that trying to compile things by yourself
| on Debian gets hairy at best.

Well, being on Debian stable, means living with a stable feature set, frozen in
time, waiting for next release. There are a couple of ways around this:

* It's very easy to run a chroot with testing or unstable on your otherwise
~ stable server, I'd recommend using this with the linux-vserver patch, but
~ that is optional. Running a xen vm is also an option, ofcourse.

* You could install lenny packages directly on your stable server, pulling only
~ needed dependencies from lenny (this is hard to do for things like python,
~ that are so tightly integrated with the distribution, and depends on newer
~ libc...)

* You could pull source-packages from testing, and build them on your stable
~ system - this usually works quite well.

* You could simply run lenny (testing) on the server serving trac

Unfortunately http://www.debian-administration.org appears to be down at the
moment, for some information on vserver on Debian see:

~ http://wiki.debian.org/LinuxVserver

For some information on Debootstrap see:

~ http://wiki.debian.org/Debootstrap

Note that all these solutions, with the possible exception of just sticking
with debian testing -- might be considered "advanced". One important thing to
keep in mind if you choose to go with testing (or especially unstable) is that
you cannot like in stable, simply "update and forget" every night -- things
might break!

So list the updates, have a look at the changelogs, before upgrading your
packages, and you should be fine.


Best regards,

- --
~ .---. Eirik Schwenke <eirik.schwenke[at]nsd.uib.no>
( NSD ) Harald Hårfagresgate 29 Rom 150
~ '---' N-5007 Bergen tlf: (555) 889 13

~ GPG-key at pgp.mit.edu Id 0x8AA3392C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIIzlixUW7FIqjOSwRAvMeAKDFN/SFT5to3AMweRTcUW+CQrglYACfUbpe
Z+RTGDGGg6TKyoBGkNPnK5o=
=srkK
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


jordi.feca at gmail

May 9, 2008, 1:29 PM

Post #32 of 33 (993 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

Finally I upgraded to lenny and all works fine.

Thanks for your replies

--
View this message in context: http://www.nabble.com/Unsupported-version-control-system-%22svn%22-tp17119816p17155889.html
Sent from the Trac Users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


joseph.h.dayney at rrd

Mar 3, 2009, 11:40 AM

Post #33 of 33 (497 views)
Permalink
Re: Unsupported version control system "svn" [In reply to]

Manu,

Does trac have a Facebook page ? I see that Subversion, Michael Pilato,
just posted that SVN has one now ? Might be a good option for trac users
to keep connected ...



Best Regards,

Joe

________________________________________________________________________________________

Joseph H. Dayney | Software Engineer | RR Donnelley
630W 1000N | Logan, UT 84321 | (: 435-755-4278 | 801-453-5015 |È:
435-770-7244 | Ê: 435-755-4210 | *: joseph.h.dayney[at]rrd.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the original message.






"Emmanuel Blot" <manu.blot[at]gmail.com>
Sent by: trac-users[at]googlegroups.com
10/30/2006 05:12 PM
Please respond to
trac-users[at]googlegroups.com


To
trac-users[at]googlegroups.com
cc

Subject
[Trac] Re: Unsupported version control system "svn"







> I did build subversion myself - 1.4.0 - and explicitly did the SWIG
> bindings.

Search the ML archive: there is a special 'make' target to install the
bindings (I keep forgetting it, sorry). "make install" does not
install the bindings.

Cheers,
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.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

First page Previous page 1 2 Next page Last page  View All Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.