Describe the bug
Anki abruptly closes when trying to add a note from a weblink with conversion to pdf using SAIC
To Reproduce
Steps to reproduce the behavior:
Add note
Enter link
Choose conversion to pdf type
Expected behavior
Should just add the link content as pdf
Screenshots
not applicable
Environment (please complete the following information):
OS:
macOS Chip Apple M2 Pro
Memory 16 GB
macos Ventura 13.4.1
Anki version (Help > About)
Version 2.1.65 (aa9a734f)
Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Copied Error Report
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.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-07-07 14:16:21
Add-ons possibly involved: Searching PDF Reading Note-Taking in Add Dialog
Caught exception:
Traceback (most recent call last):
File "/Users/maikbraun/Library/Application Support/Anki2/addons21/1781298089/src/utility/misc.py", line 341, in save_pdf
printer = QPrinter()
NameError: name 'QPrinter' is not defined
Describe the bug Anki abruptly closes when trying to add a note from a weblink with conversion to pdf using SAIC
To Reproduce Steps to reproduce the behavior:
Expected behavior Should just add the link content as pdf
Screenshots not applicable
Environment (please complete the following information):
Copied Error Report
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.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0 Platform: macOS-13.4.1-arm64-arm-64bit Flags: frz=True ao=True sv=3 Add-ons, last update check: 2023-07-07 14:16:21 Add-ons possibly involved: Searching PDF Reading Note-Taking in Add Dialog
Caught exception: Traceback (most recent call last): File "/Users/maikbraun/Library/Application Support/Anki2/addons21/1781298089/src/utility/misc.py", line 341, in save_pdf printer = QPrinter() NameError: name 'QPrinter' is not defined