好好,大牛,你那个chinese_search.py中文分词,在conf.py中写入extensions = ['chinese_search'],在make html后总出现以下错误,这是因为SPHINX版本问题还是我人品问题哈? ... copying static files... Exception occurred: File "C:\Documents and Settings\zhiyong.wang\Application Data\Python\Python27\site-packages\sphinx \builders\html.py", line 553, in copy_static_files ctx.update(self.indexer.context_for_searchtool()) AttributeError: 'IndexBuilder' object has no attribute 'context_for_searchtool' The full traceback has been saved in d:\temp\sphinx-err-yk0igq.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>;, or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>;. Thanks!
回复 wzy 2012年01月04日 星期三 11:39
...
copying static files...
Exception occurred:
File "C:\Documents and Settings\zhiyong.wang\Application Data\Python\Python27\site-packages\sphinx
\builders\html.py", line 553, in copy_static_files
ctx.update(self.indexer.context_for_searchtool())
AttributeError: 'IndexBuilder' object has no attribute 'context_for_searchtool'
The full traceback has been saved in d:\temp\sphinx-err-yk0igq.log, if you want to report the issue
to the developers.
Please also report this if it was a user error, so that a better error message can be provided next
time.
Either send bugs to the mailing list at <http:
or report them in the tracker at <http:
回复 张若愚 2012年01月04日 星期三 11:55
http:
回复 张若愚 2012年01月04日 星期三 11:47
回复 wzy 2012年01月04日 星期三 12:56