Re: [viewvc-users] attempting to use remove SVN repo

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4AF8771D.5000307__2679.43182630024$1257797422$gmane$org@collab.net>
SVN_PROP_ENTRY_COMMITTED_REV is a property that Subversion passes around
internally, not a user-visible one.  ViewVC is obviously expecting to find
that value where it isn't.  I haven't had a chance to look more deeply at it
the matter, though.

Mark Anderson wrote:
> I see what the problem is, on my SVN there is no property set for 
> SVN_PROP_ENTRY_COMMITTED_REV (in fact there are no properties set at all 
> unless you set them).
> 
> this is SVN server version 1.3.0
> 
> 
> 
> Mark Anderson wrote:
>> Ubuntu server running apache2 runs cgi as user www-data
>>
>>  From command line as user www-data on this server I am able to access 
>> remote SVN repository with:
>>
>> svn list svn://svn.kearfott.com/airbus
>>
>> using cached login for user www-data
>>
>> my viewvc.conf contains this repository config line:
>>
>> svn_roots = KGN: svn://svn.kearfott.com/airbus
>>
>> (the tag name is KGN)
>>
>> the cvs_roots is commented out
>>
>> when I try to access this from the web server, I can see the top level 
>> page for viewvc showing KGN as a selection, when I click KGN I get the 
>> following Python exception:
>>
>> An Exception Has Occurred
>> Python Traceback
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/viewvc/viewvc.py", line 3628, in main
>>     request.run_viewvc()
>>   File "/usr/lib/viewvc/viewvc.py", line 387, in run_viewvc
>>     self.view_func(self)
>>   File "/usr/lib/viewvc/viewvc.py", line 1517, in view_directory
>>     tree_rev = vclib.svn.created_rev(request.repos, request.where, rev)
>>   File "/usr/lib/viewvc/vclib/svn_ra/__init__.py", line 105, in created_rev
>>     return int(props[core.SVN_PROP_ENTRY_COMMITTED_REV])
>> TypeError: list indices must be integers
>>
>>
>>
>> Is this trying to tell me about a configuration error or is there some 
>> issue?  This is Ubuntu 8.04 LTS, with viewvc installed from Ubuntu 
>> repository.   1.0.3-2.1
>>
>> thanks
>> Mark
>>
>>
> 
> ------------------------------------------------------
> http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2414525
> 
> To unsubscribe from this discussion, e-mail: [[email protected]].


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2415893

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkr4dx0ACgkQokEGqRcG/W5g9ACfWSkALexixolXmb9hvD1uj4wl
rA8AoM9NgHtRP+ax9sXNTpcXH7L5h13q
=Bab9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.