Gerador de Relatorios de Contagem

ID e4bd198f-b394-41e5-a6ac-77c9dfa06643
Status Falhou
Criado em 19/08/2026 10:19:34
Finalizado em 19/08/2026 10:19:38
Progresso 0,0%
Etapa atual Ponto 46 (1/6) — calculando...

Mensagem de erro

openpyxl does not support .jpg file format, please check you can open it with Excel first. Supported formats are: .xlsx,.xlsm,.xltx,.xltm

Configuracao

{'report_mode': 'anexo', 'chapter': 2, 'starting_point': 46, 'num_points': 6, 'starting_figure': 2, 'starting_table': 1, 'figure_template': 'Movimentos Contados', 'table_template': 'Resumo das Contagens de Tráfego', 'interval': 'hr', 'effective_num_points': 6, 'num_croquis': 6, 'num_sheets': 15}

Log Detalhado

[2026-08-19 13:19:34] [INFO] Job criado. session_key=tvi7p6azsad5ykyweomicizitcoxkd46
[2026-08-19 13:19:34] [INFO] Config: {'report_mode': 'anexo', 'chapter': 2, 'starting_point': 46, 'num_points': 6, 'starting_figure': 2, 'starting_table': 1, 'figure_template': 'Movimentos Contados', 'table_template': 'Resumo das Contagens de Tráfego', 'interval': 'hr'}
[2026-08-19 13:19:34] [INFO] Arquivos: 6 croquis, 15 planilhas
[2026-08-19 13:19:35] [INFO] Thread de geracao iniciada
[2026-08-19 13:19:35] [INFO] Output dir: /app/outputs/e4bd198f-b394-41e5-a6ac-77c9dfa06643
[2026-08-19 13:19:35] [INFO] Pontos a processar: [46, 47, 48, 49, 50, 51]
[2026-08-19 13:19:35] [INFO] Croquis encontrados: 6 arquivos em 6 pontos
[2026-08-19 13:19:36] [INFO] Planilhas encontradas: 6
[2026-08-19 13:19:37] [INFO] Ponto 46: 1 croqui(s)
[2026-08-19 13:19:37] [INFO] Ponto 46 [hr]: lendo planilha Ponto 46 A-B-C.jpg (mov=3, tipo=1d_8h)
[2026-08-19 13:19:37] [ERROR] Ponto 46 [hr]: erro ao processar planilha: openpyxl does not support .jpg file format, please check you can open it with Excel first. Supported formats are: .xlsx,.xlsm,.xltx,.xltm
[2026-08-19 13:19:38] [ERROR] ERRO FATAL: openpyxl does not support .jpg file format, please check you can open it with Excel first. Supported formats are: .xlsx,.xlsm,.xltx,.xltm
[2026-08-19 13:19:38] [ERROR] Traceback (most recent call last):
  File "/app/reports/views.py", line 568, in _run_generation_background
    blocks = read_movement_blocks(
             ^^^^^^^^^^^^^^^^^^^^^
  File "/app/reports/services/excel_reader.py", line 450, in read_movement_blocks
    wb_fmt = openpyxl.load_workbook(file_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/openpyxl/reader/excel.py", line 346, in load_workbook
    reader = ExcelReader(filename, read_only, keep_vba,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/openpyxl/reader/excel.py", line 123, in __init__
    self.archive = _validate_archive(fn)
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/openpyxl/reader/excel.py", line 93, in _validate_archive
    raise InvalidFileException(msg)
openpyxl.utils.exceptions.InvalidFileException: openpyxl does not support .jpg file format, please check you can open it with Excel first. Supported formats are: .xlsx,.xlsm,.xltx,.xltm