Код: Выделить всё
import eel
from pathlib import Path
from asammdf import MDF
from pathlib import Path
import glob
import sys
import os
from datetime import timedelta
eel.init("path\to\folder\Python")
def python_code():
# a python script that uses asammdf
@eel.expose
Сообщение об ошибке выглядит как --
Код: Выделить всё
asammdf\mdf.py:4597: UserWarning: The argument `ignore_invalid_signals` from the method `extract_bus_logging` is no longer used and will be removed in the future
Traceback (most recent call last):
File "eel\__init__.py", line 281, in _process_message
File "converterrxd_csv.py", line 79, in pythoncode
File "asammdf\mdf.py", line 4625, in extract_bus_logging
File "asammdf\mdf.py", line 4666, in _extract_can_logging
File "asammdf\blocks\utils.py", line 1807, in load_can_database
File "canmatrix\formats\__init__.py", line 71, in loadp
File "canmatrix\formats\__init__.py", line 86, in load
KeyError: 'canmatrix.formats.dbc'
Подробнее здесь: https://stackoverflow.com/questions/753 ... -as-in-ide
Мобильная версия