jupyter / jupyter-drive

Google drive for jupyter notebooks
BSD 2-Clause "Simplified" License
418 stars 78 forks source link

Try to work around double stringify. #124

Closed Carreau closed 9 years ago

Carreau commented 9 years ago

This is a weird issues due to combinaison of upgrades that will be tricky to work around.

for some reason gulp-typescript do not warn of not-matching types, and a String end up being used as an object, leading to double serialisation, and late faillure at deserialisation.

so now to work around you have (sometime) to work around the doubled serialized notebook by JSON.parse twice. Which is a bit brittle, I think but should work.

Carreau commented 9 years ago

Merging for now to test more.