-
Notifications
You must be signed in to change notification settings - Fork 416
Open
Description
Describe the bug
Unknown datatype for field: StructureField(Name='State', Description=LocalizedText(Locale=None, Text=None), DataType=NodeId(Identifier=3023, NamespaceIndex=5, NodeIdType=<NodeIdType.FourByte: 1>), ValueRank=-1, ArrayDimensions=None, MaxStringLength=0, IsOptional=False) in structure:SystemStateDescriptionDataType, please report
Failed to resolve datatype StructureDefinition(DefaultEncodingId=NodeId(Identifier=5278, NamespaceIndex=5, NodeIdType=<NodeIdType.FourByte: 1>), BaseDataType=NodeId(Identifier=22, NamespaceIndex=0, NodeIdType=<NodeIdType.TwoByte: 0>), StructureType_=<StructureType.StructureWithOptionalFields: 1>, Fields=[StructureField(Name='State', Description=LocalizedText(Locale=None, Text=None), DataType=NodeId(Identifier=3023, NamespaceIndex=5, NodeIdType=<NodeIdType.FourByte: 1>), ValueRank=-1, ArrayDimensions=None, MaxStringLength=0, IsOptional=False), StructureField(Name='StateDescription', Description=LocalizedText(Locale=None, Text=None), DataType=NodeId(Identifier=12, NamespaceIndex=0, NodeIdType=<NodeIdType.TwoByte: 0>), ValueRank=-1, ArrayDimensions=None, MaxStringLength=0, IsOptional=True)])
To Reproduce
set up a server, add namespace https://reference.opcfoundation.org/v104/MachineVision/v100/
call await client.load_data_type_definitions() on the client
SystemStateDescriptionDataType:

which is using i=3023 in it's first field
Expected behavior
all type definitions being loaded
Version
Python-Version: 3.10
opcua-asyncio Version: 1.1.8
Metadata
Metadata
Assignees
Labels
No labels