eclipse-velocitas / vehicle-app-python-sdk

vehicle-app-python-sdk
Apache License 2.0
7 stars 17 forks source link

[Bug]: Velocitas APP runtime crash recently #58

Closed aricwang88 closed 1 year ago

aricwang88 commented 1 year ago

What happened?

Don't know which python packages upgrade cause this issue? I can build successfully, but try to deploy on Rpi4B, it crash at startup , PyInstaller sdv/util/log.py line:22

More details, please find in logs.

Operating System

Linux

What release version or branch did you use?

sdk 0.7.1

Relevant log output

{"stream":"stderr","log":"Traceback (most recent call last):\n","time":"2023-02-20T23:41:54.901405725Z"}
{"stream":"stderr","log":"  File \"src/main.py\", line 26, in \u003cmodule\u003e\n","time":"2023-02-20T23:41:54.901573632Z"}
{"stream":"stderr","log":"  File \"PyInstaller/loader/pyimod02_importers.py\", line 352, in exec_module\n","time":"2023-02-20T23:41:54.901850502Z"}
{"stream":"stderr","log":"  File \"sdv/util/log.py\", line 22, in \u003cmodule\u003e\n","time":"2023-02-20T23:41:54.902372799Z"}
{"stream":"stderr","log":"  File \"PyInstaller/loader/pyimod02_importers.py\", line 352, in exec_module\n","time":"2023-02-20T23:41:54.902976095Z"}
{"stream":"stderr","log":"  File \"opentelemetry/sdk/trace/__init__.py\", line 58, in \u003cmodule\u003e\n","time":"2023-02-20T23:41:54.903288669Z"}
{"stream":"stderr","log":"  File \"PyInstaller/loader/pyimod02_importers.py\", line 352, in exec_module\n","time":"2023-02-20T23:41:54.903810077Z"}
{"stream":"stderr","log":"  File \"opentelemetry/sdk/resources/__init__.py\", line 138, in \u003cmodule\u003e\n","time":"2023-02-20T23:41:54.904067928Z"}
{"stream":"stderr","log":"  File \"importlib/metadata.py\", line 551, in version\n","time":"2023-02-20T23:41:54.904406632Z"}
{"stream":"stderr","log":"  File \"importlib/metadata.py\", line 524, in distribution\n","time":"2023-02-20T23:41:54.90484728Z"}
{"stream":"stderr","log":"  File \"importlib/metadata.py\", line 187, in from_name\n","time":"2023-02-20T23:41:54.905142317Z"}
{"stream":"stderr","log":"importlib.metadata.PackageNotFoundError: opentelemetry-sdk\n","time":"2023-02-20T23:41:54.905457928Z"}
{"stream":"stderr","log":"[8] Failed to execute script 'main' due to unhandled exception!\n","time":"2023-02-20T23:41:54.905520947Z"}
{"stream":"stderr","log":"Error in sys.excepthook:\n","time":"2023-02-20T23:41:55.082321836Z"}
{"stream":"stderr","log":"\n","time":"2023-02-20T23:41:55.082474465Z"}
{"stream":"stderr","log":"Original exception was:\n","time":"2023-02-20T23:41:55.08252128Z"}

Code of Conduct

MP91 commented 1 year ago

Fixed with #60.

The latest version of Opentelemetry seems to be incompatible.