Gerador de Relatorios de Contagem

ID 52fc815c-df4b-4deb-8747-d7960fb6ea6e
Status Falhou
Criado em 12/08/2026 17:54:45
Finalizado em 12/08/2026 17:54:47
Progresso 0,0%
Etapa atual Ponto 13 (1/1) — 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': 13, 'num_points': 1, 'starting_figure': 3, 'starting_table': 2, 'figure_template': 'Movimentos Contados', 'table_template': 'Volumes Contados', 'interval': 'hr', 'effective_num_points': 1, 'num_croquis': 1, 'num_sheets': 1}

Log Detalhado

[2026-08-12 20:54:45] [INFO] Job criado. session_key=tvi7p6azsad5ykyweomicizitcoxkd46
[2026-08-12 20:54:45] [INFO] Config: {'report_mode': 'anexo', 'chapter': 2, 'starting_point': 13, 'num_points': 1, 'starting_figure': 3, 'starting_table': 2, 'figure_template': 'Movimentos Contados', 'table_template': 'Volumes Contados', 'interval': 'hr'}
[2026-08-12 20:54:45] [INFO] Arquivos: 1 croquis, 1 planilhas
[2026-08-12 20:54:45] [INFO] Thread de geracao iniciada
[2026-08-12 20:54:45] [INFO] Output dir: /app/outputs/52fc815c-df4b-4deb-8747-d7960fb6ea6e
[2026-08-12 20:54:45] [INFO] Pontos a processar: [13]
[2026-08-12 20:54:45] [INFO] Croquis encontrados: 1 arquivos em 1 pontos
[2026-08-12 20:54:45] [INFO] Planilhas encontradas: 1
[2026-08-12 20:54:46] [INFO] Ponto 13: 1 croqui(s)
[2026-08-12 20:54:46] [INFO] Ponto 13 [hr]: lendo planilha Ponto 13.jpg (mov=4, tipo=1d_8h)
[2026-08-12 20:54:47] [ERROR] Ponto 13 [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-12 20:54:47] [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-12 20:54:47] [ERROR] Traceback (most recent call last):
  File "/app/reports/views.py", line 541, 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