Created
December 4, 2017 15:36
-
-
Save thomasaarholt/7008f0e8f13efa0adbf193eefdaa43c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------- | |
ConnectionClosedError Traceback (most recent call last) | |
<ipython-input-16-248a991767f8> in <module>() | |
----> 1 SE, SI = acquirer.start() | |
/home/sparc/development/notebooks_thomas/tools_acquire.py in start(self) | |
252 ''' | |
253 #SE = self.acquire_large_SE_image() | |
--> 254 SED, SI = self.acquire_cube() | |
255 return SED, SI | |
/home/sparc/development/notebooks_thomas/tools_acquire.py in acquire_cube(self) | |
159 # works with PVCam, but is probably different with other drivers :-( | |
160 readout_time = np.prod(spectrometer_resolution) / \ | |
--> 161 self.spect.readoutRate.value + 0.01 | |
162 # 50ms to account for the overhead and extra image acquisition | |
163 self.escan.dwellTime.value = ( | |
/usr/lib/python2.7/dist-packages/odemis/model/_vattributes.pyc in value(self) | |
340 @property | |
341 def value(self): | |
--> 342 return self.__getattr__("_get_value")() | |
343 | |
344 @value.setter | |
/usr/lib/python2.7/dist-packages/Pyro4/core.pyc in __call__(self, *args, **kwargs) | |
163 | |
164 def __call__(self, *args, **kwargs): | |
--> 165 return self.__send(self.__name, args, kwargs) | |
166 | |
167 | |
/usr/lib/python2.7/dist-packages/Pyro4/core.pyc in _pyroInvoke(self, methodname, vargs, kwargs, flags) | |
317 data=MessageFactory.createMessage(MessageFactory.MSG_INVOKE, data, flags, self._pyroSeq) | |
318 try: | |
--> 319 self._pyroConnection.send(data) | |
320 del data # invite GC to collect the object, don't wait for out-of-scope | |
321 if flags & MessageFactory.FLAGS_ONEWAY: | |
/usr/lib/python2.7/dist-packages/Pyro4/socketutil.pyc in send(self, data) | |
435 | |
436 def send(self, data): | |
--> 437 sendData(self.sock, data) | |
438 | |
439 def recv(self, size): | |
/usr/lib/python2.7/dist-packages/Pyro4/socketutil.pyc in sendData(sock, data) | |
214 except socket.error: | |
215 x=sys.exc_info()[1] | |
--> 216 raise ConnectionClosedError("sending: connection lost: "+str(x)) | |
217 else: | |
218 # Socket is in non-blocking mode, use regular send loop. | |
ConnectionClosedError: sending: connection lost: [Errno 32] Broken pipe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment