When I try to paste any image from Stable Diffusion AI into Anki from google chrome gives this error even in safe mode:
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 to the add-on author.
Debug info:
Anki 2.1.61 (0c1eaf4c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0
Platform: Linux-6.2.6-76060206-generic-x86_64-with-glibc2.35
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-06-16 09:06:18
Caught exception:
Traceback (most recent call last):
File "aqt.webview", line 46, in cmd
File "aqt.webview", line 153, in _onCmd
File "aqt.webview", line 662, in _onBridgeCmd
File "aqt.editor", line 474, in onBridgeCmd
File "aqt.editor", line 966, in onPaste
File "aqt.editor", line 1251, in onPaste
File "aqt.editor", line 1248, in _onPaste
File "aqt.editor", line 946, in doPaste
File "aqt.editor", line 940, in _pastePreFilter
File "aqt.editor", line 824, in inlinedImageToFilename
File "base64", line 86, in b64decode
binascii.Error: Non-base64 digit found
However, if I just screenshot the image from browser and paste it, it just works.
Just curious why, and if helps someone else. Since I can just scrnshot the image and paste it, there is no loss in functionality, pragmatically speaking.