Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Issues when trying to access a boltdb file from another platform #713

Open
pinfake opened this issue Aug 5, 2017 · 1 comment
Open

Issues when trying to access a boltdb file from another platform #713

pinfake opened this issue Aug 5, 2017 · 1 comment

Comments

@pinfake
Copy link

pinfake commented Aug 5, 2017

I generated and used without issues a boltdb in windows, just marshalling and unmarshalling json for values. The thing is it consistently works when created and accessed on the same platform (windows or linux) but it doesn't when i try to move a windows created boltdb to a linux machine running the same code, in my case a docker container. The error i'm having is an "unexpected end of json input" when trying to unmarshall values marshalled from windows.

Maybe it's not even related to bolt itself, but some issue with golang and json marshalling on different platforms, but I could not find anything on the internet about such an issue :/

So if you could give a light on this, it would be so appreciated!

Thanks in advance!

@heyitsanthony
Copy link

@pinfake is there a simple program that can reproduce this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants