本帖最后由 bdqq 于 2020-5-5 00:38 编辑
L0 Q$ R" T8 X& R& P# G
. ]5 u+ _6 j3 i2 {* r请求fast wq 可以支持的 英文 朗文6 地址,我用windows10, anki ,安装了
0 V+ ?, }; j7 q( H+ L4 M- z: ohttps://ankiweb.net/shared/info/18072067483 v0 g8 y- A6 }+ [1 g+ g
" H" }& `3 b) d8 y( [5 F' ^: L+ P+ S' A% H0 y! U
+ U% A- i, `' }1 h H3 A
5 O$ b- R. x8 v3 x, `! A# P
/ T! r2 F3 }9 @. Z" O0 z' Q3 N4 T ?: `" X! N9 M- y& V
我的anki版本是2.1.22
" ?2 H* s' x$ z% U. R
7 y; D1 F( P# s# q# |' n"
1 j2 J: H. g+ ?& Q7 c7 j" ?6 r b( z0 h' _ Z; ?
2 F8 D# r: C& i. H1 r3 J& s! N C5 W) J R% F
我在网上下载了一个朗文6,其中有这样5个文件4 g* I0 \2 {( w) R
& j2 e( i. I& e8 G; L) g
entry.js | 1,206 | L6mp3.mdd | 1,297,932,816 | L6mp3.mdx | 124,057,083 | LDOCE6.css | 12,642 | 拷贝wquery目录和wordquery.py文件到addon目录里.zip | 90,860 |
$ t- v. |/ W6 Q7 h' w' `& E我可以用mdx-server 本地浏览,说明词典文件未损坏; n- @ J. _3 Y
我也修改了LDOCE6.py 中词典文件地址+ K5 t: l9 c Z; N( |+ S( Y( [$ Q
...( g- Z* T6 ^2 I1 o) p4 G
DICT_PATH = u'' # u'E:\\BaiduYunDownload\\mdx\\L6mp3.mdx'9 o" a8 g& W" ~# r% a
...但在Faswq- options 界面中下拉列表框中,没有 mdx-ldoce6 条目
& {+ V( y! x/ E& s8 ` x; |3 ~6 y @9 X8 p
我也试着把那个压缩包打开,放置文件与目录在anki中手动添加addon 但启动出错/ `" y' w# E' Z) [% t/ {5 n# z1 h
现在我fastwq中朗文6无分项,只 有default 一项。请问我该如何做?是不是我的词典文件不对?3 ^# M+ ~& u7 h1 J0 E, _, b" X
4 H6 J$ y5 k& R2 ~C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\libs\mdict\mdict_query.py我也试过删除上面文件12行的 #号.结果是出错6 {# W. ^: L0 u4 _% _! e8 K
9 x/ M* v% [7 J
错误 有一个错误发生了.请在按住shift键的同时启动Anki,这样可以临时的忽略掉你已经安装的插件。 如果仅仅是因为插件引起的问题,请选择工具>插件菜单项来将出错的的插件设置成失效,然后重启Anki,重复以上的步骤直到你发现了具体是哪个插件引起的问题。 调试信息 Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
" z6 @& p8 Q& f. ]6 a9 O$ b2 \- ]/ dPlatform: Windows 10
4 U7 w% x3 i" h) J" r; I8 W5 LFlags: frz=True ao=True sv=1
) A: p; {5 q) O6 F( ?Add-ons, last update check: 2020-05-01 11:26:580 j1 G5 l9 B3 b; N9 d" D
, Z/ s E! j. J, {4 B0 Q
unexpected indent (mdict_query.py, line 15)
2 A8 H* \ e! N+ a* @ m5 yTraceback (most recent call last):# g; f% w& O4 E0 n+ J. V" r
File "aqt\main.py", line 248, in onOpenProfile
- V5 `' j0 c, l% W/ d File "aqt\main.py", line 370, in loadProfile
; i6 H6 I% ^+ Y/ M# K% ~ File "aqt\gui_hooks.py", line 1281, in __call__
* ]$ K' W+ \5 u; Y4 g. D* X File "lib\site-packages\anki\hooks.py", line 611, in runHook
+ }' h& j. k' ^4 F, d+ u File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\__init__.py", line 37, in start_here( g- s" y. Q0 q& b1 c
from . import common as fastwq X4 y6 i2 F9 a4 O
File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\common.py", line 29, in <module>! L: s# u1 Y; s, z6 B
from .gui import show_about_dialog, show_options # , check_updates% J& t% m% h" V& k* \8 @5 E" A
File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\gui\__init__.py", line 3, in <module>
$ E. r/ p) H. T+ s/ [7 A from .common import *9 U! U8 t. ]) j
File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\gui\common.py", line 28, in <module>) j- Z0 z- e6 _% b, z7 | s4 Y F
from ..service import service_manager, service_pool! {) E1 ^* ~/ G5 K' N8 S- {
File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\service\__init__.py", line 20, in <module>
0 s# k2 K$ n) T( z from .manager import ServiceManager
, @- t, h- l8 C5 `; N& f A File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\service\manager.py", line 24, in <module>! l2 L- B0 E3 H
from .base import LocalService, MdxService, StardictService, WebService, service_wrap' F4 }( ~; J5 y* i! C) }
File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\service\base.py", line 44, in <module>
2 H8 b1 g$ k+ }0 g; d) i from ..libs import MdxBuilder, StardictBuilder
- t' h6 Y' G- B' g9 G File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\libs\__init__.py", line 1, in <module>; r5 z) f# A( ^6 m1 r2 V
from .mdict import IndexBuilder as MdxBuilder; g. |, @) W4 X1 ]3 x; D
File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\libs\mdict\__init__.py", line 1, in <module>; }6 y: G: T( _% {0 t, s# ^
from .mdict_query import IndexBuilder
# \* P: E3 S# L7 @7 t1 A1 x File "C:\Users\admin\AppData\Roaming\Anki2\addons21\1807206748\libs\mdict\mdict_query.py", line 15
( ^; A; p: x& j; f6 D# |+ V% `4 |( b3 y* ~
; j4 C2 q# k1 R( d3 v
* R% a6 R/ g! Z* j6 Z- D% y: Y* ?
4 e' x' a& C8 g$ a& \
|