Traceback (most recent call last):
File "/home/bercio/.local/share/Anki2/addons/wquery/init.py", line 38, in callback
return func(obj)
File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 126, in query_from_editor_current_field
results = query_single_fld(editor.note, fld_index)
File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 204, in wrap
query_func(*args, **kwargs)
File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 243, in query_single_fld
return QueryResult()
File "/home/bercio/.local/share/Anki2/addons/wquery/service/base.py", line 425, in init
if self['result'] == None:
KeyError: 'result'
When it happened
using the addon to query a field both from the browser window and the add window
Anki v. :Traceback (most recent call last):
File "/home/bercio/.local/share/Anki2/addons/wquery/__init__.py", line 38, in callback
return func(obj)
File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 126, in query_from_editor_current_field
results = query_single_fld(editor.note, fld_index)
File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 204, in wrap
query_func(*args, **kwargs)
File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 243, in query_single_fld
return QueryResult()
File "/home/bercio/.local/share/Anki2/addons/wquery/service/base.py", line 425, in __init__
if self['result'] == None:
KeyError: 'result'
anki version: 2.0.52,Qt 4.8.1 PyQt 4.9.1
ubuntu version 17.04
Wrong behavior
Traceback (most recent call last): File "/home/bercio/.local/share/Anki2/addons/wquery/init.py", line 38, in callback return func(obj) File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 126, in query_from_editor_current_field results = query_single_fld(editor.note, fld_index) File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 204, in wrap query_func(*args, **kwargs) File "/home/bercio/.local/share/Anki2/addons/wquery/query.py", line 243, in query_single_fld return QueryResult() File "/home/bercio/.local/share/Anki2/addons/wquery/service/base.py", line 425, in init if self['result'] == None: KeyError: 'result'
When it happened
using the addon to query a field both from the browser window and the add window
anki version: 2.0.52,Qt 4.8.1 PyQt 4.9.1 ubuntu version 17.04