splor-mg / dados-aux-classificadores

0 stars 0 forks source link

Falha na execução do workflow em 2024-03-19T16:02:18Z #8

Closed github-actions[bot] closed 5 months ago

github-actions[bot] commented 5 months ago
make: python: No such file or directory
Rscript scripts/extract.R
INFO [2024-03-19 16:02:16] Extracting attachment tbl-aux-uo-sigla-2024-2024-03-19-06-10-14.csv
Error in `map()`:
ℹ In index: 1.
Caused by error in `file()`:
! cannot open the connection
Backtrace:
     ▆
  1. ├─purrr::walk(...)
  2. │ └─purrr::map(.x, .f, ..., .progress = .progress)
  3. │   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
  4. │     ├─purrr:::with_indexed_errors(...)
  5. │     │ └─base::withCallingHandlers(...)
  6. │     ├─purrr:::call_with_cleanup(...)
  7. │     └─global .f(.x[[i]], ...)
  8. │       └─gmailr::gm_save_attachment(result, paste0("data-raw/", filename))
  9. │         └─base::writeBin(object = data, con = filename)
 10. │           └─base::file(con, "wb")
 11. └─base::.handleSimpleError(...)
 12.   └─purrr (local) h(simpleError(msg, call))
 13.     └─cli::cli_abort(...)
 14.       └─rlang::abort(...)
Warning message:
In file(con, "wb") :
  cannot open file 'data-raw/tbl-aux-uo-sigla-2024.csv': No such file or directory
fjuniorr commented 5 months ago

Adicionei o arquivo data-raw/.gitkeep em https://github.com/splor-mg/tabelas-auxiliares/commit/ac658d12943d4c3d625769c4c7b5ba8bfae6d523 conforme documentado no tutorial mas ficou faltando os dados de 2023 que existem somente na máquina do @hslinhares gerando um novo erro https://github.com/splor-mg/tabelas-auxiliares/issues/9