-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataType 0x40/0x41 crashes in eds.py line 152 #146
Comments
I'm not familiar with how these complex data types are used. How should the data be interpreted in this case? |
Apparently they are defined as I'm wondering whether the clause |
I'm not sure it is specific to CANFestival though, it's just a non-standard data type that has to be specified somehow, preferably in the Object Dictionary itself. The current solution is not complete however, more of a workaround. For now we could check if the item exist in the Object Dictionary, if not we could assume it is a DOMAIN type and require the application to parse the raw binary data instead since we don't know what the data is. |
I managed to work around it for now, but I'm not sure that's future proof. (I added a I don't know enough of the OD or DOMAIN types to validate your last statement. :) |
I'm currently working with an EDS file that has objects with DataType 0x40 and 0x41. For instance:
(I have changed the parameter name.) Because of an earlier bug fix that seems to involve CANFestival (which we don't use), it tries to
eds.get
a non-existing section. This crashes the application with aNoSectionError
. Seeeds.py
line 152.I don't quite understand the reason for the original bug fix, but it seems to be a bit too indiscriminate in what it tackles?
Let me know if you need any more information, I'd be happy to help.
The text was updated successfully, but these errors were encountered: