Open MerlinSmiles opened 8 years ago
I also get these error messages with it:
---------------------------------------------------------------------------
Empty Traceback (most recent call last)
E:\Git\Qcodes\qcodes\widgets\widgets.py in do_update(self, content, buffers)
44
45 def do_update(self, content=None, buffers=None):
---> 46 self._message = str(self._fn())
47
48 def halt(self):
E:\Git\Qcodes\qcodes\plots\base.py in update(self)
161 any_updates = False
162 for updater in self.data_updaters:
--> 163 updates = updater()
164 if updates is not False:
165 any_updates = True
E:\Git\Qcodes\qcodes\data\data_set.py in sync(self)
413
414 with self.data_manager.query_lock:
--> 415 if self.is_on_server:
416 # TODO: can we reduce the amount of data to send?
417 # seems like in the most general case this would need to
E:\Git\Qcodes\qcodes\data\data_set.py in is_on_server(self)
383
384 with self.data_manager.query_lock:
--> 385 live_location = self.data_manager.ask('get_data', 'location')
386 return self.location == live_location
387
E:\Git\Qcodes\qcodes\utils\multiprocessing.py in ask(self, timeout, *query)
332 if self._error_queue.empty():
333 # only raise if we're not about to find a deeper error
--> 334 raise e
335 self._check_for_errors(self._expect_error)
336
E:\Git\Qcodes\qcodes\utils\multiprocessing.py in ask(self, timeout, *query)
324
325 try:
--> 326 res = self._check_response(timeout)
327
328 while not self._response_queue.empty():
E:\Git\Qcodes\qcodes\utils\multiprocessing.py in _check_response(self, timeout)
301
302 def _check_response(self, timeout):
--> 303 res = self._response_queue.get(timeout=timeout)
304 if res == SERVER_ERR:
305 self._expect_error = True
c:\users\qdev\anaconda3\lib\multiprocessing\queues.py in get(self, block, timeout)
103 timeout = deadline - time.time()
104 if timeout < 0 or not self._poll(timeout):
--> 105 raise Empty
106 elif not self._poll():
107 raise Empty
Empty:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
E:\Git\Qcodes\qcodes\widgets\widgets.py in do_update(self, content, buffers)
44
45 def do_update(self, content=None, buffers=None):
---> 46 self._message = str(self._fn())
47
48 def halt(self):
E:\Git\Qcodes\qcodes\plots\base.py in update(self)
161 any_updates = False
162 for updater in self.data_updaters:
--> 163 updates = updater()
164 if updates is not False:
165 any_updates = True
E:\Git\Qcodes\qcodes\data\data_set.py in sync(self)
419 # changed since that particular client last synced
420 # (at least first and last pt)
--> 421 live_data = self.data_manager.ask('get_data').arrays
422 for array_id in self.arrays:
423 self.arrays[array_id].ndarray = live_data[array_id].ndarray
AttributeError: 'str' object has no attribute 'arrays'
While doing a long measurement, I often get errors from the live-plotting:
Is it really reading the file? I thought it would sync the data from the measurement server? If I look at the file itself, I cannot find a
1.8953e-
that is broken, only a few occurrences but they look fine. So is one process reading the file while another one is writing to it?