0 votes
164 views

Hello,

I downloaded the openLCA software (version 1.10.3), and ECCC's Fuel LCA Model database (for Clean Fuel Regulation). I was not able to import the database to openLCA.  The error message always showed in the last step: An Internal Error Occurred, JSON import failed.

What should I do with it? Thank you very much!

3247806mainINFOorg.openlca.app.wizards.io.JsonImportWizardImport JSON LD package C:\Users\zkang\OneDrive - Suncor Energy Inc\Desktop\CFR\LCA Model\GoC-Fuel-LCA-Model-Database-Pre-publication.zip with update mode = ALWAYS
3247863mainERRORorg.openlca.app.wizards.io.JsonImportWizardJSON import failed
java.lang.reflect.InvocationTargetException
     at org.openlca.app.wizards.io.JsonImportWizard.lambda$0(JsonImportWizard.java:86)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
    Caused by: java.nio.file.AccessDeniedException: C:\Users\zkang\OneDrive - Suncor Energy Inc\Desktop\CFR\LCA Model\GoC-Fuel-LCA-Model-Database-Pre-publication.zip
     at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
     at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
     at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
     at sun.nio.fs.WindowsLinkSupport.getFinalPath(WindowsLinkSupport.java:82)
     at sun.nio.fs.WindowsLinkSupport.getRealPath(WindowsLinkSupport.java:242)
     at sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:836)
     at sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:44)
     at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:111)
     at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326)
     at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276)
     at org.openlca.jsonld.ZipStore.<init>(ZipStore.java:47)
     at org.openlca.jsonld.ZipStore.open(ZipStore.java:38)
     at org.openlca.app.wizards.io.JsonImportWizard.lambda$0(JsonImportWizard.java:81)
     ... 1 more 
in openLCA by (120 points)

1 Answer

0 votes
by (87.2k points)
It says: onedrive access denied - maybe copy first to a local drive?

Best wishes,

Andreas
by (120 points)
It works!  Thanks a lot
...