Skip to content

DataType 0x40/0x41 crashes in eds.py line 152 #146

@Sandyman

Description

@Sandyman

I'm currently working with an EDS file that has objects with DataType 0x40 and 0x41. For instance:

[2020sub4]
ParameterName=@XyzXyzXyz
ObjectType=0x7
AccessType=RW
DataType=0x40
DefaultValue=0x0
LowLimit=0x3
HighLimit=0x1
PDOMapping=0

(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 a NoSectionError. See eds.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions