internal-references
internal-references copied to clipboard
Crash on Anki 2.1.54
Awesome addon but seems to need an update as it crashes browser when clicking on either:
Reopening the browser and trying to create a reference again you would get:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2023-02-23 00:23:45
Caught exception:
Traceback (most recent call last):
File "C:\Users\vailrodo\AppData\Roaming\Anki2\addons21\323026909\main.py", line 32, in on_result
if not data_tuple[1] or isinstance(data_tuple[1], QPyNullVariant):
TypeError: 'NoneType' object is not subscriptable
Strangely enough you can reset the error by opening the html editing mode of the card. But the issue will remain though
Not selecting cards and clicking 'ok' too early when creating a reference crashes as well:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2023-02-23 00:23:45
Caught exception:
Traceback (most recent call last):
File "C:\Users\vailrodo\AppData\Roaming\Anki2\addons21\323026909\insertlink.py", line 189, in accept
self.insertAnchor()
File "C:\Users\vailrodo\AppData\Roaming\Anki2\addons21\323026909\insertlink.py", line 143, in insertAnchor
self.editor.web.eval("focusField(%d);" % self.editor.currentField)
TypeError: %d format: a number is required, not NoneType