Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Fix missing socketcan in dbc2val #75

Merged

Conversation

mikehaller
Copy link
Contributor

pyinstaller seems to be unable to detect the CAN library at build time. At runtime, the dbc2val cannot use the "--use-socket-can" feature as the library is missing. Informing pyinstaller about the hidden import let's it package the CAN library properly.

pyinstaller seems to be unable to detect the CAN library at build time. At runtime, the dbc2val cannot use the "--use-socket-can" feature as the library is missing. Informing pyinstaller about the hidden import let's it package the CAN library properly.
@mikehaller
Copy link
Contributor Author

Fixes #73

Copy link
Contributor

@erikbosch erikbosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested building a docker container and running with canplayer, works.

@erikbosch erikbosch merged commit 57c6f76 into eclipse-kuksa:main Apr 6, 2023
@erikbosch erikbosch deleted the fix/dbc2val-pyinstaller-socketcan branch April 6, 2023 11:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants