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
178 stars 24 forks source link

PDFs are not saved #338

Open CptofMySoul opened 2 years ago

CptofMySoul commented 2 years ago

Describe the bug I create a new note from a PDF. I can see it in the queue and can interact with it as expected. However, if I close Anki and open again, the Note is missing. I can find no evidence of the Note having ever been created.

I thought it might be a permissions issue so I opened the permissions of the Add-On folder. No change.

I also noted the folder listed in the Config information.

"addon.data_folder": ".../.local/share/.anki-siac-addon-data/",
"addonNoteDBFolderPath": ".../.local/share/.anki-siac-addon-data/",

This folder wasn't created so I created it manually to see if that was the issue. No change.

To Reproduce Steps to reproduce the behavior:

  1. Go to ''Create New"
  2. Choose Source->PDF and select file. Enter Title and select Priority of 100.
  3. Click on "Create"
  4. Open Queue Manager and observe PDF Note entry.
  5. Close Anki
  6. Reopen Anki
  7. Open Queue Manager and observe that PDF note is gone

Expected behavior PDF Notes to be persistent between Anki sessions.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):