0 votes
1.3k 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 (124k 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 (100 points)
Hi, I am having the same problem like you right now and i couldn't solve this problem. I read many articles but it didn't work. So have you found the answer?
...