[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Unresolved svn_fs_get_locks

From: Mark Underwood <MarkU_at_avi.com>
Date: 2006-08-03 19:34:50 CEST

Andy,

You nailed it, thanks.

I installed Subversion 1.3.2.

Mark Underwood
www.avi.com

-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com]
Sent: Thursday, August 03, 2006 9:32 AM
To: Mark Underwood
Cc: users@subversion.tigris.org
Subject: Re: Unresolved svn_fs_get_locks

On 8/3/06, Mark Underwood <MarkU@avi.com> wrote:
> - Feel free to forward me to the Trac help list, but I think this is a
>
> Subversion lib configuration issue....
> A call is being issued to check or set locks. This call is made in
>
>
>
> /usr/lib/python2.4/site
>
> -packages/libsvn/fs.py
>
>
>
> and I can reproduce the Trac-induced error simply by running
>
>
>
> python fs.py
>
>
>
> The traceback follows, but I think only the last 2 lines are relevant.
Can
>
> someone point me in the right direction? Some subversion locks are
being set
>
> and/or tested here, but I don't see where that chore happens.
>
>
>
> Traceback (most recent call last):
>
> File
> "/usr/lib/python2.4/site-packages/trac/web/standalone.py",
> line
>
> 303, in _do_trac_req
>
> dispatch_request(path_info, req, env)
>
> File "/usr/lib/python2.4/site-packages/trac/web/main.py",
> line 139,
>
> in dispatch_request
>
> dispatcher.dispatch(req)
>
> File "/usr/lib/python2.4/site-packages/trac/web/main.py",
> line 107,
>
> in dispatch
>
> resp = chosen_handler.process_request(req)
>
> File
>
"/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py"
,
>
> line 78, in process_request
>
> repos = self.env.get_repository (req.authname)
>
> File "/usr/lib/python2.4/site-packages/trac/env.py", line
> 155, in
>
> get_repository
>
> from trac.versioncontrol.svn_fs import SubversionRepository
>
> File
> "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py",
>
> line 25, in ?
>
> from svn import fs, repos, core, delta
>
> File "/usr/lib/python2.4/site-packages/svn/fs.py", line
> 19, in ?
>
> from libsvn.fs import *
>
> File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line
> 5, in ?
>
> import _fs
>
> ImportError:
> /usr/lib/python2.4/site-packages/libsvn/_fs.so: undefined
>
> symbol: svn_fs_get_locks
>
>
>
> Command line usage of Subversion seems OK.
>
>
>
> Subversion 1.1.4

Given that you're using SVN 1.1.4, and locking was first introduced in
SVN 1.2, and the last error is "ImportError:
/usr/lib/python2.4/site-packages/libsvn/_fs.so: undefined symbol:
svn_fs_get_locks", this appears to be nothing more than you're using
an old version that doesn't support what you're trying to do.

So, the question for you is, do you need the locks? Maybe that's more
a Trac question. If you do, then you have to upgrade SVN to at least
1.2. Plain and simple - locking didn't exist in 1.1.4.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 3 19:36:54 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.