FreeOpcUa / opcua-client-gui

OPC-UA GUI Client
GNU General Public License v3.0
527 stars 172 forks source link

How to active the opcuaclient in Linux system #55

Open jake1026 opened 3 years ago

jake1026 commented 3 years ago

I have installed the PYQT5 and opcua client, but when I run the command "uaclient" it say'Traceback (most recent call last): File "/usr/local/bin/uaclient", line 11, in sys.exit(uaclient()) File "/home/sinoma-ld/.local/lib/python3.6/site-packages/opcua/tools.py", line 477, in uaclient client.connect() File "/home/sinoma-ld/.local/lib/python3.6/site-packages/opcua/client/client.py", line 272, in connect self.connect_socket() File "/home/sinoma-ld/.local/lib/python3.6/site-packages/opcua/client/client.py", line 307, in connect_socket self.uaclient.connect_socket(self.server_url.hostname, self.server_url.port) File "/home/sinoma-ld/.local/lib/python3.6/site-packages/opcua/client/ua_client.py", line 266, in connect_socket return self._uasocket.connect_socket(host, port) File "/home/sinoma-ld/.local/lib/python3.6/site-packages/opcua/client/ua_client.py", line 155, in connect_socket sock = socket.create_connection((host, port), timeout=self.timeout) File "/usr/lib/python3.6/socket.py", line 724, in create_connection raise err File "/usr/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused '

oroulet commented 3 years ago

well. you do not have any server running or wrong ip addr/port

jake1026 commented 3 years ago

well. you do not have any server running or wrong ip addr/port

Does it have a GUI screen? I thought it was configured on the open page, How to use command to active the GUI

Thank very much from China...Jake

JoeyFaulkner commented 3 years ago

Not sure if this is the problem @jake1026 but on my ubuntu machine i have to run opcua-client not uaclient :)