[viewvc-users] Error submission?

Matt Berry <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
Not sure if this is an acceptable way of submitting an error for viewvc, but could not find any help on the IRC channel. I am getting the following error trying to annotate certain files in viewvc. It does not happen with all files in the cvs repo, but it does with some :
An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/viewvc/lib/viewvc.py", line 4452, in main
    request.run_viewvc()
  File "/usr/lib/python2.7/site-packages/viewvc/lib/viewvc.py", line 394, in run_viewvc
    self.view_func(self)
  File "/usr/lib/python2.7/site-packages/viewvc/lib/viewvc.py", line 1849, in view_annotate
    markup_or_annotate(request, 1)
  File "/usr/lib/python2.7/site-packages/viewvc/lib/viewvc.py", line 1770, in markup_or_annotate
    path[-1], mime_type, encoding)
  File "/usr/lib/python2.7/site-packages/viewvc/lib/viewvc.py", line 1651, in markup_stream_pygments
    encoding='utf-8'), ps)
  File "/usr/lib/python2.7/site-packages/pygments/__init__.py", line 86, in highlight
    return format(lex(code, lexer), formatter, outfile)
  File "/usr/lib/python2.7/site-packages/pygments/__init__.py", line 69, in format
    formatter.format(tokens, outfile)
  File "/usr/lib/python2.7/site-packages/pygments/formatter.py", line 92, in format
    return self.format_unencoded(tokensource, outfile)
  File "/usr/lib/python2.7/site-packages/pygments/formatters/html.py", line 723, in format_unencoded
    outfile.write(piece)
  File "/usr/lib64/python2.7/codecs.py", line 352, in write
    self.stream.write(data)
  File "/usr/lib/python2.7/site-packages/viewvc/lib/viewvc.py", line 1640, in write
    self.blame_data[self.line_no].text = buf
IndexError: list index out of range

I am running Fedora Core 14, with apache2, viewvc 1.1.10, python 2.7

If additional information is needed please let me know.


Matt Berry
System Administrator

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

To unsubscribe from this discussion, e-mail: [[email protected]].
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.