okfn-brasil / serenata-toolbox

📦 pip module containing code shared across Serenata de Amor's projects | ** Este repositório não recebe atualizações frequentes **
MIT License
154 stars 69 forks source link

Problem when fetching data from CEAP #24

Closed jtemporal closed 7 years ago

jtemporal commented 7 years ago

When running ceap = serenata_toolbox.CEAPDataset('data/') I got this error File is not a zip file.

Same thing happened when running Rosie. I may be wrong but it is possible that is something wrong with the data.

Traceback when running Rosie with docker is here

and the error while running the fetch with the toolbox with ipython is here

any thoughts?

jonDel commented 7 years ago

Did you try to check the zip file integrity outside python, like 7za t file.zip ?

jtemporal commented 7 years ago

@jonDel I believe it was a problem with the chamber of deputies server or something like that. Today I was able to fetch the data without any problems. since this is not a problem anymore I'm closing this issue.