macOS 10.15.5
Anki Version 2.1.26 (70784154)
Python 3.8.0
Qt 5.13.1
PyQt 5.14.1
MikTeX Console 2.9.7429
on the add new card screen when I change the card type I get the following error
It doesn’t matter if the cards field are blank or not
I have disabled all other add-ons so that "Show LaTeX and MathJax result in editorbrowser" is the only one.
When I disable "Show LaTeX and MathJax result in editorbrowser" Ankis internal LaTex support works.
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, repeat 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-ons section of our support site.
Debug info:
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.15.5
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-06-06 15:36:43
Add-ons possibly involved: Show LaTeX and MathJax result in editorbrowser
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 34, in cmd
File "aqt/webview.py", line 114, in _onCmd
File "aqt/webview.py", line 512, in _onBridgeCmd
File "aqt/gui_hooks.py", line 2091, in call
File "/Users/auser/Library/Application Support/Anki2/addons21/882784122/init.py", line 34, in onBridgeCmd
ord = onBlur(editor, message)
File "/Users/auser/Library/Application Support/Anki2/addons21/882784122/anki_code.py", line 30, in onBlur
if gui_hooks.editor_did_unfocus_field(False, self.note, int(ord)):
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
macOS 10.15.5 Anki Version 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1 MikTeX Console 2.9.7429
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, repeat 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-ons section of our support site. Debug info: Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1 Platform: Mac 10.15.5 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2020-06-06 15:36:43 Add-ons possibly involved: Show LaTeX and MathJax result in editorbrowser
Caught exception: Traceback (most recent call last): File "aqt/webview.py", line 34, in cmd File "aqt/webview.py", line 114, in _onCmd File "aqt/webview.py", line 512, in _onBridgeCmd File "aqt/gui_hooks.py", line 2091, in call File "/Users/auser/Library/Application Support/Anki2/addons21/882784122/init.py", line 34, in onBridgeCmd ord = onBlur(editor, message) File "/Users/auser/Library/Application Support/Anki2/addons21/882784122/anki_code.py", line 30, in onBlur if gui_hooks.editor_did_unfocus_field(False, self.note, int(ord)): TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'