Hey,
Im trying to create an independent application to collect some logs for me. How can I get notifications from the master scheduler? I tried to recreate the code from the dashboard, but so far I was not able to get any notifications.
def notify(message):
print(message)
def main():
app = QtW.QApplication(sys.argv)
loop = QEventLoop(app)
asyncio.set_event_loop(loop)
client = Receiver("log", [], notify)
loop.run_until_complete(client.connect("127.0.0.1", 3250))
client.notify_cbs.append(notify)
I assume that errors like
ERROR:worker(1883,LED.py):root:Terminating with exception (TimeoutError: [WinError 10060] Ein Verbindungsversuch ist fehlgeschlagen
ERROR:master:artiq.master.scheduler:got worker exception in run stage, deleting RID 1883
should have shown up?