gbif / ipt

GBIF Integrated Publishing Toolkit (IPT)
https://www.gbif.org/ipt
Apache License 2.0
127 stars 57 forks source link

Excel file issue - cannot generate archive #2231

Closed ManonGros closed 7 months ago

ManonGros commented 10 months ago

This is something that two users reported separately on two different files and dataset. They upload and map their excel files in the IPT but when they click on the publish button, they get an error message.

This is the error message:

Publishing version #1.16 of resource griis-brunei-norway failed: Archive generation for resource griis-brunei-norway failed: Error writing data file for mapping Darwin Core Taxon in source griisgbif_norway_2023, line 99

If the data is exported to CSV and that CSV file is uploaded to the IPT, there is no issue. See the examples here:

ktotsum commented 10 months ago

This is the other example: https://ipt.gbif.no/resource?r=conflux

You also get an error message on the preview of Darwin Core Mappings with Excel files. image

mike-podolskiy90 commented 10 months ago

Thanks for reporting, I'll have a look

SophiePamerlon commented 8 months ago

Hi, I've had this issue several times too: it seems to be solved by saving the excel file into another format but it can be really troublesome (this morning i had to import the file into Openrefine, export it as a Google sheet, then save it locally from Google sheet as a csv file in order for it to be accepted by the IPT...). Direct converting in Excel/other table managers from xlsx to csv/tsv/txt files didn't work.

mike-podolskiy90 commented 8 months ago

Oh, I see now, it's another thing. Looking into it

mike-podolskiy90 commented 7 months ago

This should be fine now, deployed to ipt.gbif-uat.org