sobjornstad / TiddlyRemember

Embed Anki notes in your TiddlyWiki
https://sobjornstad.github.io/TiddlyRemember/
MIT License
65 stars 7 forks source link

Anki plugin 1.3.5 does not sync with TiddlyWiki 1.3.5 #82

Open emcristi opened 8 months ago

emcristi commented 8 months ago

I upgraded to version 1.3.5 of TiddlyRemember plugin in TiddlyWiki 3.5.3 but I get the following error when synchronizing from Anki.

  File "/Users/cristi/Library/Application Support/Anki2/addons21/60456529/twnote.py", line 622, in ensure_version
    raise ConfigurationError( 60456529.oops.ConfigurationError: 
Your Anki plugin is at version 1.3.5, but your TiddlyWiki plugin is at version 1.3.5. 
This version of the Anki plugin is compatible with the following TiddlyRemember plugin versions: 
1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4. 
Please update your Anki and TiddlyWiki plugins to the latest version, then try syncing again. 
emcristi commented 8 months ago

I've fixed this by adding 1.3.5 to COMPATIBLE_TW_VERSIONS as below:

sed -i.bak 's/"1.3.4"$/"1.3.4", "1.3.5"/' ~/Library/Application Support/Anki2/addons21/60456529/util.py so that it looks like

COMPATIBLE_TW_VERSIONS = [
    "", "1.2.2", "1.2.3", "1.3.0", "1.3.1", "1.3.2", "1.3.3", "1.3.4", "1.3.5"
]
surilean commented 7 months ago

Thank you, this fixed my problem!

neeldhara commented 3 months ago

This helped me too, thanks for sharing!