[cvsnt] Re: ViewCvs problem with CVSNT build68

Robert Sauer dave.loper at web.de
Thu Jan 23 07:36:31 GMT 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi Bo,

I had this, toom since some earlier revisions.

The cause is, that rlog writes some warnings on those unknown fields,
thus vonfusing the ViewCvs rlog parser. After adding the '-q' option
to the rlog-calls everything is working fine.
Had to do this twice in viewcvs.py.

Sorry, but I just did not have the time to prepare a patch against
ViewCvs. Hopefully next week.

CvsGraph has basically the same problem, but the warnings just clutter
it's display without breaking functionality.

Ciao,
Robert

> 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)
> ------------------------------
> 
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 
> 
> End of cvsnt Digest, Vol 1, Issue 215
> *************************************
> 



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook