OK, I found the source of the error. PDF2-Anki is apparently generating large IDs that AnkiHub canβt handle and this was causing a database error. Please follow the steps to fix the issue:
- Back up your collection to be safe using File > Create Backup.
- Select all PDF2-Anki notes in the browser.
- Open the debug console and paste the following code:
from anki.utils import guid64
from aqt import dialogs, mw
browser = dialogs.open("Browser", mw)
notes = []
for nid in browser.selected_notes():
note = mw.col.get_note(nid)
note.guid = guid64()
notes.append(note)
mw.col.update_notes(notes)
- Press Ctrl+Enter and close the debug console.
You should now able to suggest the notes.