0 votes
157 views

Hi,

I am not sure why I was not able to import/restore a .zolca type database. It was from another PC (mac to windows). Same version of the openLCA software. Any suggestions? 

Thanks!

305392Worker-4: Import databaseERRORorg.openlca.app.AppFailed to run Import database
org.zeroturnaround.zip.ZipException: java.util.zip.ZipException: error in opening zip file
     at org.zeroturnaround.zip.ZipExceptionUtil.rethrow(ZipExceptionUtil.java:11)
     at org.zeroturnaround.zip.ZipUtil.iterate(ZipUtil.java:384)
     at org.zeroturnaround.zip.ZipUtil.unpack(ZipUtil.java:772)
     at org.zeroturnaround.zip.ZipUtil.unpack(ZipUtil.java:755)
     at org.openlca.app.navigation.actions.db.DbImportAction.lambda$0(DbImportAction.java:71)
     at org.openlca.app.WrappedJob.run(WrappedJob.java:30)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
    Caused by: java.util.zip.ZipException: error in opening zip file
     at java.util.zip.ZipFile.open(Native Method)
     at java.util.zip.ZipFile.<init>(ZipFile.java:225)
     at java.util.zip.ZipFile.<init>(ZipFile.java:155)
     at java.util.zip.ZipFile.<init>(ZipFile.java:169)
     at org.zeroturnaround.zip.ZipUtil.iterate(ZipUtil.java:362) 
in openLCA by (120 points)

1 Answer

0 votes
by (81.6k points)
"error in opening zip file" - it seems the zolca file is corrupted. Mac tries to support users by already modifying compressed files, this could be a reason. Maybe just retry, don't touch then the file on the Apple computer (e.g., backup to USB directly).
by (190 points)
Hi, I am having the same trouble, this time in changing over to a new computer. The problems seem to be with Ecoinvent. First I copied over the zolca files, this didnt work. So I downloaded them again from Nexus and tried again, but this didnt work either. Uninstalled and reinstalled OpenLCA a few times. Im not sure what to try next. Any suggestions?
...