FastWordQuery icon indicating copy to clipboard operation
FastWordQuery copied to clipboard

上传本地mdx 执行报错

Open open6400 opened this issue 5 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is. 上传本地mdx牛津高阶词典后,字段只有默认选项,无法选择其他值, 执行后报错 Error An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site. Debug info: Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2 Platform: Mac 10.15.7 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2020-11-23 08:14:45 Add-ons possibly involved: ⁨Fast Word Query Multi-threaded queries for words from local or web dictionaries⁩

type object 'Template' has no attribute 'miss_css' Traceback (most recent call last): File "/Users/tianhua/Library/Application Support/Anki2/addons21/1807206748/common.py", line 259, in c['name'], lambda i=c['def']: query_from_editor_hook(i)) File "/Users/tianhua/Library/Application Support/Anki2/addons21/1807206748/common.py", line 250, in query_from_editor_hook query_from_editor_fields( File "/Users/tianhua/Library/Application Support/Anki2/addons21/1807206748/query/init.py", line 90, in query_from_editor_fields query_all([editor.note], flush, fields) File "/Users/tianhua/Library/Application Support/Anki2/addons21/1807206748/query/init.py", line 117, in query_all promot_choose_css(work_manager.missed_css) File "/Users/tianhua/Library/Application Support/Anki2/addons21/1807206748/query/common.py", line 127, in promot_choose_css Template.miss_css.format(dict=css['title'], css=css['file'])) AttributeError: type object 'Template' has no attribute 'miss_css' To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

open6400 avatar Nov 23 '20 11:11 open6400