McDermott-Group / servers

Public repo that stores LabRAD servers and other non-measurement related code
0 stars 2 forks source link

[SIM 900 Server] KeyError: 'SIM900' #12

Closed patzinak closed 8 years ago

patzinak commented 8 years ago

From the error log:

<...>
File "sim_900_server.py", line 80, in refreshDevices
  p = self.client[self.name].packet()
File "C:\Python\<...\labrad\wrappers, line 624, in __getitem__
 return self.servers[key]
<...>
exceptions.KeyErorr: 'SIM900'

I have not modified the server in any way and have been running this version without any problems on Leiden for a long time. This error does not always pop up and does not obviously interfere with the GUI performance, i.e. the temperature is read correctly whether or not this error appears. The servers were started with the LabRAD node.

roboguy222 commented 8 years ago

if this error occurs, the server now waits for 100ms and tries again. I think it is being caused by a delay in the manager recognizing the server.