[cvsnt] Re: ViewCvs problem with CVSNT build68
Manuel Gurski
nospam_gurski_ at wettermacher.de
Fri Jan 31 09:57:36 GMT 2003
Bo,
maybe i have a solution for you. I use CVSNT Build 68 and
viewcvs-1.0.dev-win-r2
after searching google for hours i found the final hint:
the rlog tool does not work if i use a colon in the CVSRoot path.
since viewcvs and the cvsroot are located on c: i just use a leading
backslash
and it worked.
Regards,
Manuel
#---------------------------------------------------------------------------
[general]
#
# This setting specifies each of the CVS roots on your system and assigns
# names to them. Each root should be given by a "name: path" value. Multiple
# roots should be separated by commas.
#
cvs_roots =
Development : \CVSRoot
# this is the name of the default CVS root.
default_root = Development
# uncomment if the RCS binaries are not on the standard path
rcs_path = c:/programme/viewcvs/rcs57nt/
#---------------------------------------------------------------------------
"Bo Berglund" <bo.berglund at telia.com> schrieb im Newsbeitrag
news:026u2vk77sn7rac8tdc15s094p802qpgug at 4ax.com...
> I switched from CVSNT 1.11.1.3 b57j to Daily 68 today.
> I committed a test file just fine, except that now ViewCvs won't touch
> this file.
> If I click a file that I have not yet committed changes to all is well
> and the file displays and I can diff it etc. But if I do the same on
> this newly committed file ViewCvs throws an error and displays this:
>
> Exception
> Python Messages:
>
> Traceback (most recent call last):
> File "c:\programs\viewcvs\lib/viewcvs.py", line 2710, in main
> view_log(request)
> File "c:\programs\viewcvs\lib/viewcvs.py", line 1774, in view_log
> show_revs, rev_map, rev_order, taginfo, rev2tag, \
> File "c:\programs\viewcvs\lib/viewcvs.py", line 1534, in read_log
> idx = string.rfind(head, '.')
> File "C:\Programs\Python22\lib\string.py", line 187, in rfind
> return s.rfind(*args)
> AttributeError: 'NoneType' object has no attribute 'rfind'
>
> I looked into the RCS file and there was new stuff in each revision
> description, three new lines like these:
> permissions 666;
> commitid 1ec3e2f12c87eee;
> kopt kv;
>
> If I removed them ViewCvs starts working again.
>
> Is there anyone with any ideas on why it happened and how to solve
> this? Is it only present in the Daily Snapshot or is this something
> permanent?
>
>
> /Bo
> (Bo Berglund, developer in Sweden)
More information about the cvsnt
mailing list