You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
')
Traceback (most recent call last):
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 281, in _generate_python_class
exec(code, env)
File "", line 4, in
File "", line 10, in StructureWithOptionalFields
AttributeError: module 'asyncua.ua' has no attribute 'Bit'
uawidgets.utils - ERROR - module 'asyncua.ua' has no attribute 'Bit'')
Traceback (most recent call last):
File "C:\Users\pierluigi.bandino\AppData\Roaming\Python\Python39\site-packages\uawidgets\utils.py", line 21, in wrapper
result = func(self, *args)
File "C:\Users\pierluigi.bandino\Desktop\opcua-client-gui-master\uaclient\mainwindow.py", line 343, in connect
self.uaclient.connect(uri)
File "C:\Users\pierluigi.bandino\Desktop\opcua-client-gui-master\uaclient\uaclient.py", line 96, in connect
self.client.load_type_definitions()
File "C:\Python39\lib\site-packages\asyncua\sync.py", line 94, in wrapper
result = self.tloop.post(aio_func(*args, **kwargs))
File "C:\Python39\lib\site-packages\asyncua\sync.py", line 52, in post
return futur.result()
File "C:\Python39\lib\concurrent\futures_base.py", line 445, in result
return self.__get_result()
File "C:\Python39\lib\concurrent\futures_base.py", line 390, in __get_result
raise self._exception
File "C:\Python39\lib\site-packages\asyncua\client\client.py", line 662, in load_type_definitions
return await load_type_definitions(self, nodes)
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 223, in load_type_definitions
generator.get_python_classes(structs_dict)
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 177, in get_python_classes
return _generate_python_class(self.model, env=env)
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 281, in _generate_python_class
exec(code, env)
File "", line 4, in
File "", line 10, in StructureWithOptionalFields
AttributeError: module 'asyncua.ua' has no attribute 'Bit'
uawidgets.utils - WARNING - Error class Window has no member show_error or error')
The text was updated successfully, but these errors were encountered:
Hi, when i click on connect it provide me this error, server is running correctly, can someone identify this issue.
@DataClass
class AccessRights:
@DataClass
class StructureWithOptionalFields:
asyncua.common.structures - ERROR - Failed to execute auto-generated code from UA datatype:
@DataClass
class StructureWithOptionalFields:
')
Traceback (most recent call last):
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 281, in _generate_python_class
exec(code, env)
File "", line 4, in
File "", line 10, in StructureWithOptionalFields
AttributeError: module 'asyncua.ua' has no attribute 'Bit'
uawidgets.utils - ERROR - module 'asyncua.ua' has no attribute 'Bit'')
Traceback (most recent call last):
File "C:\Users\pierluigi.bandino\AppData\Roaming\Python\Python39\site-packages\uawidgets\utils.py", line 21, in wrapper
result = func(self, *args)
File "C:\Users\pierluigi.bandino\Desktop\opcua-client-gui-master\uaclient\mainwindow.py", line 343, in connect
self.uaclient.connect(uri)
File "C:\Users\pierluigi.bandino\Desktop\opcua-client-gui-master\uaclient\uaclient.py", line 96, in connect
self.client.load_type_definitions()
File "C:\Python39\lib\site-packages\asyncua\sync.py", line 94, in wrapper
result = self.tloop.post(aio_func(*args, **kwargs))
File "C:\Python39\lib\site-packages\asyncua\sync.py", line 52, in post
return futur.result()
File "C:\Python39\lib\concurrent\futures_base.py", line 445, in result
return self.__get_result()
File "C:\Python39\lib\concurrent\futures_base.py", line 390, in __get_result
raise self._exception
File "C:\Python39\lib\site-packages\asyncua\client\client.py", line 662, in load_type_definitions
return await load_type_definitions(self, nodes)
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 223, in load_type_definitions
generator.get_python_classes(structs_dict)
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 177, in get_python_classes
return _generate_python_class(self.model, env=env)
File "C:\Python39\lib\site-packages\asyncua\common\structures.py", line 281, in _generate_python_class
exec(code, env)
File "", line 4, in
File "", line 10, in StructureWithOptionalFields
AttributeError: module 'asyncua.ua' has no attribute 'Bit'
uawidgets.utils - WARNING - Error class Window has no member show_error or error')
The text was updated successfully, but these errors were encountered: