olca-app icon indicating copy to clipboard operation
olca-app copied to clipboard

missing END header Error when loading ecoinvent database into openLCA

Open GaunerReibi opened this issue 9 months ago • 2 comments

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

GaunerReibi avatar May 07 '24 07:05 GaunerReibi

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.

msrocka avatar May 07 '24 08:05 msrocka

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?

GaunerReibi avatar May 07 '24 09:05 GaunerReibi