GreenDelta / olca-app

Source code of openLCA
openlca.org
Mozilla Public License 2.0
184 stars 41 forks source link

missing END header Error when loading ecoinvent database into openLCA #391

Open GaunerReibi opened 1 month ago

GaunerReibi commented 1 month ago

Hi everybody, I am struggling to load an older version of the ecoinvent database (v3.8) into openLCA. I tried to create a new database and the import the database by clicking import -> other -> from exported zolca file. I then receive the Error: Database import failed. Missing END header. I did rename the original 7zip file of the database into a zolca to make it possible to import it. Renamed and changed the suffix to .zolca. Is it possible, that the zip file got damaged by doing that or did it maybe got damaged by up- and downloading it to and from Microsoft Teams?

Bildschirmfoto 2024-05-06 um 07 54 49

The screenshot shows the Error displayed in the log file in openLCA.

Thanks in advance and best wishes, Jonas

msrocka commented 1 month ago

I did rename the original 7zip file of the database into a zolca

This is probably the reason? zolca is a zip compressed Derby database. 7zip is a different compression format than zip (the ecoinvent EcoSpold 2 files are distributed in this format for example; maybe it was an original EcoSpold 2 package that you renamed?). Renaming a 7zip file and read it as zolca/zip is expected to result in an error.

GaunerReibi commented 1 month ago

Thanks a lot for the response. I asked for the lci-file (a EcoSpold Package on the other persons computer) to be changed into a zolca file and then uploaded to Teams. Sadly I get the same error when trying to import it to OpenLCA. Do you have an idea what causes this?