Re: [viewvc-dev] Issue with annotation

"C. Michael Pilato" <[email protected]> Fri, 02 May 2014 09:44:08 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 05/01/2014 04:06 PM, Emmanuel Stapf wrote:
> Hi,
> 
> I had an issue with annotation which would not show up because of the following
> error:
> 
> Error occurred while calculating annotation data.
> 
> I pinpointed the problem to the following line #1819 in lib/viewvc.py:
> 
>   if blame_data and (len(file_lines) != len(blame_data)):

Manu,

Thanks so much for the report.  Sorry for what appears like a regression
in ViewVC's functionality.

In looking at the file you pointed me to (thanks!), it looks like
there's just a bunch of empty lines at the end of the file that are
getting dropped.  I'm comparing the "annotate" view and the "markup"
view of that 'ev_dialog_i.e' file -- the "markup" view lacks the
trailing blank lines.  Does that seem to always be the case when this
error has cropped up for you?

I checked out a copy of your source at the revision you pointed me to,
and the blank lines are certainly present there at the end of the file.
 I was able even to replicate the history of the file into a local
repository so I can more easily diagnose the problem.  I'll let you know
what I find, hoping that this one file is exemplary of the problems seen
elsewhere in your data set.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

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

To unsubscribe from this discussion, e-mail: [[email protected]].