sth2018 / FastWordQuery

Query words definitions or examples etc. from local or web dictionaries to fill into Anki cards.
https://ankiweb.net/shared/info/1807206748
GNU General Public License v3.0
270 stars 85 forks source link

每次查询选中词汇都需要重新设置一次,无法储存上次的查询方案 #161

Open insight123 opened 5 years ago

insight123 commented 5 years ago

错误 有一个错误发生了.请在按住shift键的同时启动Anki,这样可以临时的忽略掉你已经安装的插件。 如果仅仅是因为插件引起的问题,请选择工具>插件菜单项来将出错的的插件设置成失效,然后重启Anki,重复以上的步骤直到你发现了具体是哪个插件引起的问题。 当你已经发现是因为插件引起的问题,请在我们的支持网站上 add-ons section 上报告问题。 调试信息 Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Mac 10.14.5 Flags: frz=True ao=True sv=1 相关扩展:Fast Word Query Multi-threaded queries for words from local or web dictionaries

Caught exception: File "/Users/jessy/Library/Application Support/Anki2/addons21/1807206748/common.py", line 115, in lambda mid=m['id'], i=i: set_options_def(mid, i)) File "/Users/jessy/Library/Application Support/Anki2/addons21/1807206748/common.py", line 53, in set_options_def config.update(data) File "/Users/jessy/Library/Application Support/Anki2/addons21/1807206748/context.py", line 62, in update self.data, f, indent=4, sort_keys=True, ensure_ascii=False) File "json/init.py", line 179, in dump File "json/encoder.py", line 430, in _iterencode File "json/encoder.py", line 353, in _iterencode_dict <class 'TypeError'>: '<' not supported between instances of 'int' and 'str'

sth2018 commented 5 years ago

可能是因为对新版本兼容有问题吧,我晚点看看

On Tue, Sep 3, 2019 at 18:18 insight123 notifications@github.com wrote:

错误 有一个错误发生了.请在按住shift键的同时启动Anki,这样可以临时的忽略掉你已经安装的插件。 如果仅仅是因为插件引起的问题,请选择工具>插件菜单项来将出错的的插件设置成失效,然后重启Anki,重复以上的步骤直到你发现了具体是哪个插件引起的问题。 当你已经发现是因为插件引起的问题,请在我们的支持网站上 add-ons section 上报告问题。 调试信息 Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Mac 10.14.5 Flags: frz=True ao=True sv=1 相关扩展:Fast Word Query Multi-threaded queries for words from local or web dictionaries

Caught exception: File "/Users/jessy/Library/Application Support/Anki2/addons21/1807206748/common.py", line 115, in lambda mid=m['id'], i=i: set_options_def(mid, i)) File "/Users/jessy/Library/Application Support/Anki2/addons21/1807206748/common.py", line 53, in set_options_def config.update(data) File "/Users/jessy/Library/Application Support/Anki2/addons21/1807206748/context.py", line 62, in update self.data, f, indent=4, sort_keys=True, ensure_ascii=False) File "json/init.py", line 179, in dump File "json/encoder.py", line 430, in _iterencode File "json/encoder.py", line 353, in _iterencode_dict <class 'TypeError'>: '<' not supported between instances of 'int' and 'str'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sth2018/FastWordQuery/issues/161?email_source=notifications&email_token=AJWL5VHXOTCQDMR4ZUVVJRDQHY2WHA5CNFSM4ITEQLS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HI6GAPQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AJWL5VH7QHA76LJ6OSW5UUDQHY2WHANCNFSM4ITEQLSQ .

sdofuroe commented 5 years ago

anki 2.1版本遇到相同问题+1