Skip to content
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

Latest version incompatible with opcua-asyncio and opcua-client-gui #12

Closed
kharmabum opened this issue Dec 6, 2021 · 2 comments
Closed

Comments

@kharmabum
Copy link

See related ticket: FreeOpcUa/opcua-client-gui#64

Error on connection:

uawidgets.utils - ERROR - 'SyncNode' object has no attribute 'get_attributes'')
Traceback (most recent call last):
  File "/Users/jcfoust/anaconda3/envs/opcgui_python_venv_38/lib/python3.8/site-packages/uawidgets/utils.py", line 21, in wrapper
    result = func(self, *args)
  File "/Users/jcfoust/Development/opcua-client-gui/uaclient/mainwindow.py", line 349, in connect
    self.tree_ui.set_root_node(self.uaclient.client.nodes.root)
  File "/Users/jcfoust/anaconda3/envs/opcgui_python_venv_38/lib/python3.8/site-packages/uawidgets/tree_widget.py", line 43, in set_root_node
    self.model.set_root_node(node)
  File "/Users/jcfoust/anaconda3/envs/opcgui_python_venv_38/lib/python3.8/site-packages/uawidgets/tree_widget.py", line 167, in set_root_node
    desc = self._get_node_desc(node)
  File "/Users/jcfoust/anaconda3/envs/opcgui_python_venv_38/lib/python3.8/site-packages/uawidgets/tree_widget.py", line 171, in _get_node_desc
    attrs = node.get_attributes([ua.AttributeIds.DisplayName, ua.AttributeIds.BrowseName, ua.AttributeIds.NodeId, ua.AttributeIds.NodeClass])
AttributeError: 'SyncNode' object has no attribute 'get_attributes'
@kharmabum
Copy link
Author

Nevermind I see the issue was fix but opcua-client-gui is referencing an old version on its master branch.

@oroulet
Copy link
Member

oroulet commented Dec 6, 2021

thank you for the report. There has been an issue in releae script. Everything should work now. Version should be 0,.6.0 on pip now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants