Closed roboguy222 closed 8 years ago
There seems to be a problem where names messages are received before the server that sends them is fully connected, and before self.cxn
holds a reference to them in the ADR Client. self.cxn['ADR3']
gives a KeyError
, for example. Writing a while loop that checks if it is there seems to be either all yes or all no forever, and not change from no to yes as one would expect. Waiting >0.25s before checking seems to generally fix the issue, however. Maybe a bug needs to be reported to the Martinis group.
Menu, buttons, statuses need to reset or be blanked out or something when the server stops.