Hello, I have purchased the Artiq Sinara Control System. I followed the instructions of artiq-8 for installation, and everything went smoothly until I opened the dashboard through artiq_dashboard. At this point, the first error occurred, which seemed to be related to moninj. The specific errors are as follows:
artiq.dashboard.moninj:failed to connect to moninj. Is aqctl_moninj_proxy running?
Traceback (most recent call last):
File "/nix/store/wyc02awzrip3r3q2fmlgax85m1wgmmgw-python3-3.9.16-env/lib/python3.9/site-packages/artiq/dashboard/moninj.py", line 724, in mi_connector
await new_mi_connection.connect(self.mi_addr, self.mi_port)
File "/nix/store/wyc02awzrip3r3q2fmlgax85m1wgmmgw-python3-3.9.16-env/lib/python3.9/site-packages/artiq/coredevice/comm_moninj.py", line 32, in connect
self.reader, self.writer = await async_open_connection(
File "/nix/store/wyc02awzrip3r3q2fmlgax85m1wgmmgw-python3-3.9.16-env/lib/python3.9/site-packages/sipyco/keepalive.py", line 80, in async_open_connection
reader, writer = await asyncio.open_connection(host, port, *args, **kwargs)
File "/nix/store/3yn3fb99d9d5br9ghrviwzcvkdxpkmvx-python3-3.9.16/lib/python3.9/asyncio/streams.py", line 52, in open_connection
transport, _ = await loop.create_connection(
File "/nix/store/3yn3fb99d9d5br9ghrviwzcvkdxpkmvx-python3-3.9.16/lib/python3.9/asyncio/base_events.py", line 1065, in create_connection
raise exceptions[0]
File "/nix/store/3yn3fb99d9d5br9ghrviwzcvkdxpkmvx-python3-3.9.16/lib/python3.9/asyncio/base_events.py", line 1050, in create_connection
sock = await self._connect_sock(
File "/nix/store/3yn3fb99d9d5br9ghrviwzcvkdxpkmvx-python3-3.9.16/lib/python3.9/asyncio/base_events.py", line 961, in _connect_sock
await self.sock_connect(sock, address)
File "/nix/store/3yn3fb99d9d5br9ghrviwzcvkdxpkmvx-python3-3.9.16/lib/python3.9/asyncio/selector_events.py", line 500, in sock_connect
return await fut
File "/nix/store/3yn3fb99d9d5br9ghrviwzcvkdxpkmvx-python3-3.9.16/lib/python3.9/asyncio/selector_events.py", line 535, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('::1', 1383, 0, 0)
The second error was when I ran the example, Adding an argument,
def build(self):
self.setattr_argument("count", NumberValue(ndecimals=0, step=1))
def run(self):
for i in range(self.count):
print("Hello World", i)
The error message is:
root:Terminating with exception (DefaultMissing)
Traceback (most recent call last):
File "/home/rabi/Downloads/artiq-master/artiq/master/worker_impl.py", line 349, in main
exp_inst = exp((device_mgr, dataset_mgr, argument_mgr, {}))
File "/home/rabi/Downloads/artiq-master/artiq/language/environment.py", line 274, in init
self.build(*args, **kwargs)
File "/home/rabi/Downloads/artiq-master/repository/mgmt_tutorial.py", line 6, in build
self.setattr_argument("count", NumberValue(precision=0, step=1))
File "/home/rabi/Downloads/artiq-master/artiq/language/environment.py", line 342, in setattr_argument
setattr(self, key, self.get_argument(key, processor, group, tooltip))
File "/home/rabi/Downloads/artiq-master/artiq/language/environment.py", line 335, in get_argument
return self.__argument_mgr.get(key, processor, group, tooltip)
File "/home/rabi/Downloads/artiq-master/artiq/language/environment.py", line 242, in get
r = processor.default()
File "/home/rabi/Downloads/artiq-master/artiq/language/environment.py", line 47, in default
raise DefaultMissing
artiq.language.environment.DefaultMissing
May I ask if you can provide me with some assistance? thank you