jdlorimer / incremental-reading

Anki add-on providing incremental reading features
https://ankiweb.net/shared/info/935264945
ISC License
216 stars 38 forks source link

Reading queue stuck while trying open a pdf file #124

Closed karolszk closed 1 year ago

karolszk commented 2 years ago

When I ran from the Anki menu SIAC/Read first queue the plugin window appeared with centered message box saying " PDF.js was not loaded. Retrying (NaN / 5)" and stuck forever. The problem is repeatable.

Below the Anki's console output:

Starting main loop... [SIAC] on_webview_will_set_content() insert_scripts() on_load_note > right_side_html() JS info /_addons/1781298089/web/dist/siac.min.js:25 [SIAC] cacheFields(): .editing-area not found, retrying in 30ms. JS info /_addons/1781298089/web/dist/siac.min.js:25 [SIAC] cacheFields(): .editing-area not found, retrying in 30ms. JS info :14 [SIAC] right_side_html(): wrapping fields. [106845:106883:0714/222002.472203:ERROR:nss_util.cc(286)] After loading Root Certs, loaded==false: NSS error code: -8018 JS info /_addons/1781298089/web/dist/siac.min.js:25 [SIAC] cacheFields(): .editing-area not found, retrying in 30ms. [SIAC] setup_ui_after_index_built() JS info /_addons/1781298089/web/dist/siac.min.js:29 [SIAC] Mathjax typeset fn not found. JS error /_addons/1781298089/web/pdfjs/2.4.456/pdf.js:1105 Uncaught Error: Invalid parameter object: need either .data, .range or .url

Platform and program details as below:

Anki 2.1.54 (b6a7760c) Python 3.9.10 Qt 6.3.1 PyQt 6.3.1
Platform: Linux
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2022-07-14 20:26:08

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2022-06-29T08:14, 'None', mod]

===IDs of active AnkiWeb add-ons===
1781298089

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Regards,

tvhong commented 1 year ago

This GitHub repo is for the Incremental Reading add-on. I believe the add-on you're looking for is:

tvhong commented 1 year ago

Looks like you created another issue there (https://github.com/fonol/anki-search-inside-add-card/issues/335) and it was fixed.