当前位置: 技术问答>linux和unix
viewvc show annotations 失败
来源: 互联网 发布时间:2016-09-24
本文导语: 错误信息为 An Exception Has Occurred Python Traceback ...
错误信息为
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "/usr/local/viewvc/lib/viewvc.py", line 4322, in main
request.run_viewvc()
File "/usr/local/viewvc/lib/viewvc.py", line 397, in run_viewvc
self.view_func(self)
File "/usr/local/viewvc/lib/viewvc.py", line 1769, in view_annotate
markup_or_annotate(request, 1)
File "/usr/local/viewvc/lib/viewvc.py", line 1696, in markup_or_annotate
path[-1], mime_type)
File "/usr/local/viewvc/lib/viewvc.py", line 1589, in markup_stream_pygments
encoding='utf-8'), ps)
File "/usr/local/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg/pygments/__init__.py", line 86, in highlight
return format(lex(code, lexer), formatter, outfile)
File "/usr/local/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg/pygments/__init__.py", line 69, in format
formatter.format(tokens, outfile)
File "/usr/local/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg/pygments/formatter.py", line 92, in format
return self.format_unencoded(tokensource, outfile)
File "/usr/local/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg/pygments/formatters/html.py", line 723, in format_unencoded
outfile.write(piece)
File "/usr/local/lib/python2.6/codecs.py", line 352, in write
self.stream.write(data)
File "/usr/local/viewvc/lib/viewvc.py", line 1578, in write
self.blame_data[self.line_no].text = buf
IndexError: list index out of range
==================
文件内容:
==================
1 #
2 # $Header: /home/cvsd/kobus/libkobus/Makefile,v 1.3 2010/08/15 14:21:38 kobus Exp $
3 #
4 # $Log: Makefile,v $
5 # Revision 1.3 2010/08/15 14:21:38 kobus
6 # Add Log
7 #
8 #
9
10 all:
11
12 clean:
下面的网站页也有类似的情况
http://www.rtems.org/viewvc/osmonweb/htmlprintf.h
http://www.rtems.org/viewvc/osmonweb/htmlprintf.h?view=annotate
|
不懂,友情up~
|
没用过viewvc这个工具 不会是工具本身的问题吧
|
我也没用过,但看异常出现的方式,我也怀疑是一个BUG
|
这个,没用过。
|
没用过。。 友情up~
|
又上网查了查 你试试这个
修改viewcvs.conf文件 让CVSNT来代替RCS解析你的CVS仓库
修改viewcvs.conf文件 让CVSNT来代替RCS解析你的CVS仓库
|
File "/usr/local/viewvc/lib/viewvc.py", line 1578, in write
self.blame_data[self.line_no].text = buf
IndexError: list index out of range
好像是在说 self.line_no 这个下标越界了?
self.blame_data[self.line_no].text = buf
IndexError: list index out of range
好像是在说 self.line_no 这个下标越界了?
|
楼主用的是python吗? 小弟开始学用python。呵呵
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。