DC23 / scriptabit

Python scripting for Habitica
Apache License 2.0
8 stars 4 forks source link

bidict 0.13.0 appears to have broken trello sync #36

Closed DC23 closed 7 years ago

DC23 commented 7 years ago

AttributeError: 'bidict' object has no attribute '_BidictBase__inv'

DC23 commented 7 years ago

OK, it didn't break it, but the bidict class changed in 0.13.0, which caused the pickled bidict from an older version to fail. Deleting all tasks, deleting the task map file on disk, and then resyncing with Trello is a workaround.

The real fix will be to stop using pickle because it's evil. I wonder if bidict supports JSON serialisation?

DC23 commented 7 years ago

Resolved in #40