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

Re: 'youngest_rev' not recognized by python scripts

From: Kevin McBride <kmcbr_at_ptd.net>
Date: 2007-09-13 13:50:21 CEST

Has anyone had a chance to look into this yet? I noticed that this
thread has not had a reply since its initial posting.

- KJM

Kevin McBride wrote:
> I am unable to run programs such as ViewVC on my system due to a few
> variables that are missing from a 1.4.5 distribution I downloaded
> yesterday. I was told by the ViewVC developers to send an e-mail to
> the subversion's users lists regarding this problem.
>
> The error I get when running ViewVC is:
>
> An Exception Has Occurred Python Traceback
>
> Traceback (most recent call last): File
> "/usr/local/viewvc-1.0.4/lib/viewvc.py", line 3665, in main
> request.run_viewvc() File "/usr/local/viewvc-1.0.4/lib/viewvc.py",
> line 256, in run_viewvc cfg.general.svn_path) File
> "/usr/local/viewvc-1.0.4/lib/vclib/svn/__init__.py", line 576, in
> __init__ self.youngest = fs.youngest_rev(self.fs_ptr, self.pool)
> AttributeError: 'module' object has no attribute 'youngest_rev'
>
> and fs.py has only the following in regards to youngest_rev:
>
> def svn_fs_youngest_rev(*args): """svn_fs_youngest_rev(svn_revnum_t
> youngest_p, svn_fs_t fs, apr_pool_t pool) -> svn_error_t""" return
> apply(_fs.svn_fs_youngest_rev, args)
>
> After using grep to double-check where the definition might lie, I
> find that only the following files have a mention of youngest_rev
> exactly as shown above:
>
> ./tests/repository.py ./tests/trac/versioncontrol/tests/svn_fs.py
> ./tests/trac/versioncontrol/svn_fs.py
> ./tests/trac/versioncontrol/main.py ./fs.py ./.libs/_fs.so
> ./.libs/_fs.a ./.libs/_fs.soT ./svn_fs.o ./libsvn/fs.py
>
> I am running Python-2.3.4-11, ViewVC 1.0.4, and Swig swig-1.3.24-2 on
> a Fedora Core 3.
>
> Does any one know what may have happened here?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For
> additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 13 13:41:17 2007

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.