You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I serialized an object (with InlineStrings inside) on one machine, and wanted to read it from another computer. Sometimes it works, sometimes doesn't. The minimal example I found is this:
Same package versions, same Julia version. Computer 1 is linux x64, computer 2 is macbook m2.
I have a bunch of files like this, so had to re-read them on computer 1, get rid of inlinestrings (they just happened to be there, not on purpose), and write back. If others encounter this issue, that's an easy way to convert all inlinestrings to strings:
using AccessorsExtra, InlineStrings
obj =modify(String, obj, RecursiveOfType(InlineString))
Would be nice to make serialization of inlinestrings more compatible!
The text was updated successfully, but these errors were encountered:
This does not seem specific to InlineStrings but is in fact the case for all isbits objects (JuliaLang/julia#11135) so based on that I think this can be closed and it should instead be fixed upstream.
I serialized an object (with InlineStrings inside) on one machine, and wanted to read it from another computer. Sometimes it works, sometimes doesn't. The minimal example I found is this:
Same package versions, same Julia version. Computer 1 is linux x64, computer 2 is macbook m2.
I have a bunch of files like this, so had to re-read them on computer 1, get rid of inlinestrings (they just happened to be there, not on purpose), and write back.
If others encounter this issue, that's an easy way to convert all inlinestrings to strings:
Would be nice to make serialization of inlinestrings more compatible!
The text was updated successfully, but these errors were encountered: