Hi,
I've tried to connect my Windows 10 Computer to a Kasli Core with an Urukul and Mirny. The setup has been tried in both my Anaconda and Nix (using Windows Subsystem for Linux) installations with Python 3.7, in which both the same problem occurred.
Running
artiq_run on.py
where on.py is a minimal code that sets and turns on one frequency on an Urukul DDS Channel won't finish but also won't crash, it just hangs up. The same setup and code have been proved to work on my colleague's Windows 10 Computer. However, his machine uses Python 3.5 and a few older libraries, but I don't think the issue is related to that.
I was able to track down the issue to
~\anaconda3\envs\artiq\Lib\site-packages\artiq\coredevice\comm_kernel.py line 226
where the self.socket.recv function blocks further code. Adding following to the relevant (here third) line
print(self.read_buffer)
print(self.socket.getpeername())
new_buffer = self.socket.recv(8192, flag)
print(new_buffer)
outputs
(artiq) D:\dev\artiq>artiq_run on.py
bytearray(b'')
('192.168.0.21', 1381)
The third print call won't be reached anymore.
Despite successfully establishing the socket connection to the Kasli, my Machine doesn't seem able to receive any response.
I've also tried to completely turn off my firewall.
ping 192.168.0.21
answers without issues, where 192.168.0.21 is the Kasli's IP address.
Maybe there is a known issue related to my problem that will help me. 😄
Best regards,
Kaisky