0 votes
868 views
Hi all,

I'm having an issue with exporting/importing JSON-LD files between Mac and Windows.

When I export the file from my Mac and try to open it in another Mac, it imports just fine. If someone on a Windows machine trys to import it, the operation fails.

Has anyone else had this problem? Is there a workaround?

Mik
in openLCA by (320 points)
by (170 points)
Hi were you able to solve this issue ?

3 Answers

0 votes
by (125k points)
My suspicion would be that Mac modifies the zip archive that wraps the JSON-LD. Can you maybe share details for the MAC machine - thanks a lot.
by (140 points)
Is there a way to bypass that you think?
0 votes
by (140 points)
Hello,

I am trying to import, on a Mac, a JSON-LD exported from a PC, and it doesn't seem to work. Anyone could debug that?

Thanks

Nathalie
by (7.0k points)
See my comment above, maybe it solves your issue.
0 votes
by (7.0k points)
When you import and export JSON-LD files directly from openLCA and directly into openLCA there should be no issues between Windows and MacOS because the architecture of the file is the same (better use the same openLCA version). If there is still an issue, please let us know the details (openLCA version, Windows version, MacOS version, a step-by-step guide to reproduce the issue, maybe sharing the JSON-LD file ...).

However, there is problems from the MacOS system when you create your own zip-file with the MacOS build-in archive tool, or when you unzip and recreate a JSON-LD file manually with the MacOS build-in archive tool, outside of openLCA. The problem is that MacOS is adding special data (resources) to their zip-files, which can make the file unreadable/corrupted for some software. When you want to create your own zip-files with an archive tool from the operating system outside of openLCA, you can use for example Keka (open source) on MacOS which is excluding these system resources/data in the zip-files. Windows does not have these system resources/data in their build-in zip tool.
...