From d1e54c86b109a4d4743d43863cf34a89271e0a70 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 8 Feb 2016 22:39:20 +0100 Subject: [PATCH] gui/applets: log warning if IPC address not in command --- artiq/gui/applets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/artiq/gui/applets.py b/artiq/gui/applets.py index 868842018..a9fc4acf5 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -98,6 +98,9 @@ class AppletDock(dockarea.Dock): async def start(self): self.ipc = AppletIPCServer(self.datasets_sub) + if "{ipc_address}" not in self.command: + logger.warning("IPC address missing from command for %s", + self.applet_name) command = self.command.format(python=sys.executable, ipc_address=self.ipc.get_address()) logger.debug("starting command %s for %s", command, self.applet_name)