06-23-2022, 04:44 PM
Hi,
I am running RoboDK on my host machine (Windows 10) and trying to run a python script inside a Linux VM. I tried the following code:
When I run this, I get the following error:
I do not think the issue is firewall related. Before opening the correct ports, the above code gives a different TimeoutError. Thanks for the help!
I am running RoboDK on my host machine (Windows 10) and trying to run a python script inside a Linux VM. I tried the following code:
Code:
RDK = robolink.Robolink(robodk_ip="172.27.128.1")
item = RDK.Item('base')
When I run this, I get the following error:
Code:
item = RDK.Item('base')
File "/home/rshanor/venvs/lib/python3.10/site-packages/robodk/robolink.py", line 1394, in Item
self._send_line(command)
File "/home/rshanor/venvs/lib/python3.10/site-packages/robodk/robolink.py", line 801, in _send_line
self.COM。发送(字节(字符串+'\n', 'utf-8')) # Python 3.x only
BrokenPipeError: [Errno 32] Broken pipe
I do not think the issue is firewall related. Before opening the correct ports, the above code gives a different TimeoutError. Thanks for the help!