edalcin / DarwinCoreJSON

1 stars 0 forks source link

Novo erro na atualização das ocorrências #58

Closed edalcin closed 10 months ago

edalcin commented 10 months ago
Downloading funed_01 [https://ipt.sibbr.gov.br/sibbr/archive.do?r=funed_01] 
Archive:  .temp/[temp.zip](https://temp.zip/) 
  inflating: .temp/eml.xml            
  inflating: .temp/extendedmeasurementorfact.txt   
  inflating: .temp/occurrence.txt     
  inflating: .temp/meta.xml           
error: Uncaught (in promise) TypeError: archive.extension?.map is not a function 
      extensions: archive.extension?.map(_parseJsonEntry) ?? [] 
                                     ^ 
    at buildSqlite (file:///tmp/github-runner-your-repo/DarwinCoreJSON/DarwinCoreJSON/src/lib/dwca.ts:186:38) 
    at eventLoopTick (ext:core/01_core.js:181:11) 
    at async processaZip (file:///tmp/github-runner-your-repo/DarwinCoreJSON/DarwinCoreJSON/src/lib/dwca.ts:295:7) 
    at async file:///tmp/github-runner-your-repo/DarwinCoreJSON/DarwinCoreJSON/src/ocorrencia.ts:95:25 
Error: Process completed with exit code 1.