Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Anki abruptly closes when trying to add a note from a weblink with conversion to pdf #365

Open
Kirchheim opened this issue Jul 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Kirchheim
Copy link

Kirchheim commented Jul 7, 2023

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:

  1. Add note
  2. Enter link
  3. 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

@Kirchheim Kirchheim added the bug Something isn't working label Jul 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant