fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
177 stars 24 forks source link

Webpage to PDF. #379

Open EarthHealer opened 6 months ago

EarthHealer commented 6 months ago

https://mp.weixin.qq.com/s/up6smAHgne8PfdeRfY9MuQ

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.64 (581f82c5) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0 Platform: Windows-10-10.0.22621 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2023-12-16 09:12:45

Caught exception: Traceback (most recent call last): File "E:\0000_0Memory\Ankidata\addons21\1781298089\src\utility\misc.py", line 341, in save_pdf printer = QPrinter() NameError: name 'QPrinter' is not defined

Vilhelm-Ian commented 5 months ago

https://github.com/fonol/anki-search-inside-add-card/pull/363

this pull request solves the issue