2015版系统如何安装ldoce5
Tofloor
poster avatar
haiyang2015
deepin
2015-12-17 20:16
Author
按照原先论坛提示的安装方法已经无法朗文当代第五版英文词典,请高人帮忙帮忙啊。
Reply Favorite View the author
All Replies
cxbii
deepin
2015-12-17 21:29
#1
https://github.com/ciscorn/ldoce5viewer
这个软件吗?贴下你说的论坛安装方法
Reply View the author
haiyang2015
deepin
2016-01-21 03:54
#2
https://bbs.deepin.org/post/34154
https://github.com/ciscorn/ldoce5viewer
这个软件吗?贴下你说的论坛安装方法

对啊,是这个软件,安装按照readme文档的要求。但是到导入ldoce5.data 编制索引出错,信息如下,请帮忙看一下:
Error occurred
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ldoce5viewer/qtgui/indexer.py", line 438, in run
self._make_index()
File "/usr/local/lib/python2.7/dist-packages/ldoce5viewer/qtgui/indexer.py", line 397, in _make_index
make_full_hp(scan_temp)
File "/usr/local/lib/python2.7/dist-packages/ldoce5viewer/qtgui/indexer.py", line 356, in make_full_hp
label, path, prio, sortkey)
File "/usr/local/lib/python2.7/dist-packages/ldoce5viewer/fulltext.py", line 176, in add_item
data=(label, path, prio, normalize_index_key(sortkey))
File "/usr/lib/python2.7/dist-packages/whoosh/writing.py", line 750, in add_document
for tbytes, freq, weight, vbytes in items:
File "/usr/lib/python2.7/dist-packages/whoosh/fields.py", line 164, in index
for tstring, freq, wt, vbytes in word_values(value, ana, **kwargs):
File "/usr/lib/python2.7/dist-packages/whoosh/formats.py", line 146, in word_values
wordset = set(t.text for t in tokens(value, analyzer, kwargs))
File "/usr/lib/python2.7/dist-packages/whoosh/formats.py", line 125, in tokens
gen = analyzer(value, **kwargs)
TypeError: 'NoneType' object is not callable
Removing files...
Failed to create index
Reply View the author