Project

General

Profile

Actions

Bug #7686

open

Kombajn: 7785U3-2025 Hafnia Shanghai - karta MC nie chce sie wgrać

Added by ticket bot 9 days ago. Updated 8 days ago.

Status:
New
Priority:
High
Start date:
Due date:
% Done:

0%

Estimated time:

Description

PG: Hejka podczas fill dla taska: 7785U3-2025 Hafnia Shanghai, zauwazylem że załoga wysłała trzy karty pomiarowe, patrząc na pliki tylko jeden jest wypelniony: measurementCard_Hafnia Shanghai_2026-01-13_12-02-19.json, probowałem go wrzucić prze API ale niestety cały czas wyskakuje ten sam błąd, probowalismy też z plikiem pobranym i wrzuconym jako json file również nie działa.
Poniżej komunikat błędu z flowera i plik ktory chciałem wrzucić. Możliwe że chodzi o znaki które system traktuje jako separator kolejnej lini ale to tylko moje podejrzenie.

'Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1751, in _execute_context self.dialect.do_executemany( File "/usr/local/lib/python3.8/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 962, in do_executemany context._psycopg2_fetched_rows = xtras.execute_values( File "/usr/local/lib/python3.8/site-packages/psycopg2/extras.py", line 1281, in execute_values cur.execute(b\'\'.join(parts)) psycopg2.errors.InvalidTextRepresentation: invalid input syntax for type numeric: "." LINE 1: ...38\', 72943, ARRAY[\'unit\'], \'2026-01-13 12:02:19\', \'.\', \'2\'),... ^ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/queue/modules/MeasurementsCardNewModules/measurementsCard.py", line 58, in upload_measurements_card self.save_measurements_device_df( File...'


Files

Actions

Also available in: Atom PDF