-
Notifications
You must be signed in to change notification settings - Fork 367
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
Draft: Update address space to 1.05.02 #1444
base: master
Are you sure you want to change the base?
Conversation
@ZuZuD client HR client failing with that update @schroeder- @AndreasHeine or anyone knowing events. What is that failing test supposed to test? I have no idea what is correct. I did not change anything apart from updating address space |
If i find free time i can look into the event stuff. |
@oroulet did they add/remove eventfields in 1.05? |
Zero ideas but it looks like something like that. It is probably just a matter of adapting the tests.. |
self.add_property('ConditionClassId', None, ua.VariantType.NodeId) | ||
self.add_property('ConditionClassName', None, ua.VariantType.LocalizedText) | ||
self.add_property('ConditionSubClassId', None, ua.VariantType.NodeId) | ||
self.add_property('ConditionSubClassName', None, ua.VariantType.LocalizedText) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These optional Fields got added to every event.
Hello, I'm started using asyncio/asyncua for the first time in a project. The given custom NodeSet depends on 1.05.02 and I wonder what is preventing this merge request from being done. |
My programming skills are probably to little to actively help, but i would also highly appreciate if 1.05.02 would be supported as it is blocking our development as the 05.02 is a requirement for the modules we would like to load to our OPC UA Server. |
I really should finish that one. I was hoping to get help for parts of the code I do not know but maybe I should just remove the failing code |
For the failing test, you need to add these event fields, that got added in 1.05.02 for every event: 'ConditionClassId', None, ua.VariantType.NodeId |
Thanks, but to add where? I could not find out where. everything in event code seems to be read from the address space. Where are the hard coded things? |
Maybe because they are optional? Or just remove them from the comparison list. |
The properties get added mutliple times: opcua-asyncio/asyncua/common/event_objects.py Lines 34 to 37 in 8cd5493
and opcua-asyncio/asyncua/common/event_objects.py Lines 393 to 396 in 8cd5493
this could be the error. |
removing these, did not help, Did not change anything in fact. but I still do not understand anything of that event code ;-( |
Ok its not the lines. |
From the spec: Maybe just use convert the list to sets and compare those? |
seems to break some stuff that need to be fixed somehow...