Open NicolasMICAUX opened 2 years ago
I get the same issue. Did you find a solution yet?
Did some digging. When I open the .apkg file with winrar, I find that collection.anki21 doesn't exist. Only collection.anki2. I modified the py file "xxx/venv/lib/python3.10/site-packages/ankisync2/apkg.py" (lines 42 and 47) to look for collection.anki2 instead of collection.anki21. It loaded, but I'm not sure if everything will work the same downstream yet.
I made the changes and made a pull request with the changes. It seems to work. pull request #14
When opening an Apkg (deck exported from Anki2.1.15 (442df9d6), with ankisync2 0.3.4 and python 3.10.6), I get the following error :
Any idea why ?