Rammbock icon indicating copy to clipboard operation
Rammbock copied to clipboard

AttributeError occurs when receive message with fix pdu length

Open johnjohnbear opened this issue 12 years ago • 1 comments

I just modify atest key word " Define example protocol", and run case "Client sends server receives", got error "AttributeError: '_StaticLength' object has no attribute 'field'"

Define example protocol [Arguments] ${name}=Example New protocol ${name} u8 version 0x01 u8 reserved 0x00 u16 messageType # Empty on purpose, each message template defines the type for it Comment u16 length # Empty on purpose, the length is pdu length u16 flags 0x0000 pdu 4 End protocol

johnjohnbear avatar Sep 09 '13 10:09 johnjohnbear

I get the same error in my test. See issue #14 comments

harshm avatar Sep 09 '13 12:09 harshm