Bug #2537
closedneed to catch error in z stage correction out of range better.
0%
Description
This happened when I didn't raise the main screen
Exception in thread Thread-119:
Traceback (most recent call last):
File "/usr/lib64/python2.4/threading.py", line 442, in bootstrap
self.run()
File "/usr/lib64/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/ami/sw/packages/myamitrunk/leginon/acquisition.py", line 976, in simulateTarget
ret = self.processTargetData(targetdata=proctargetdata, attempt=1)
File "/ami/sw/packages/myamitrunk/leginon/acquisition.py", line 387, in processTargetData
ret = self.acquire(presetdata, emtarget, attempt=attempt, target=targetdata)
File "/ami/sw/packages/myamitrunk/leginon/focuser.py", line 471, in acquire
status = self.processFocusSetting(setting, emtarget=emtarget)
File "/ami/sw/packages/myamitrunk/leginon/focuser.py", line 418, in processFocusSetting
correctmethod(setting, resultdata)
File "/ami/sw/packages/myamitrunk/leginon/focuser.py", line 531, in correctZ
self.instrument.tem.StagePosition = {'z': newz}
File "/ami/sw/packages/myamitrunk/leginon/remotecall.py", line 235, in __setattr
return self._objectservice._call(*args)
File "/ami/sw/packages/myamitrunk/leginon/remotecall.py", line 354, in _call
return self.clients[node].send(request)
File "/ami/sw/packages/myamitrunk/leginon/datatransport.py", line 62, in send
raise result
ValueError: no extended error information, assuming stage limit was hit