mentheosis / anki-scanner-chinese-redux

adding text scanning features for chinese redux in anki
GNU General Public License v3.0
5 stars 5 forks source link

anki_db_path #11

Open k9frame opened 4 years ago

k9frame commented 4 years ago

Hi there,

No matter my attempts I run into this error when running a scan on text. "Running the scan... Could not open your anki collection, try changing the anki_db_path in the config file of this addon"

Can you clarify what the anki_db_path is expecting to see? The default has not worked for me. Assuming it was because I have multiple anki profiles. However changing the name from "User" to the profile name has not helped. Additionally the direct path has not worked: C:/Users/user/AppData/Roaming/Anki2/Profile Chinese

Latest Anki version with no other add-ons.

mentheosis commented 4 years ago

Hello

You mentioned that C:/Users/user/AppData/Roaming/Anki2/Profile Chinese did not work, but it should include the filename. Did you try this for example? C:/Users/user/AppData/Roaming/Anki2/Profile Chinese/collection.anki2

Also if you look inside that folder do you see the collection.anki2 file? It could be in a different place on windows, in a nearby folder.

Let me know how it goes, happy to help debug and get it working correctly for Windows