labscript-suite-temp-2 / blacs

BLACS, part of the labscript suite, provides an interface to hardware used to control a buffered experiment. It manages a queue of shots to be run as well as providing manual control over devices between shots.
Other
0 stars 0 forks source link

Blacs stuck in queue error #46

Open philipstarkey opened 6 years ago

philipstarkey commented 6 years ago

Original report (archived issue) by Anonymous.


If server is full and BLACS can't save the data, then error message pops up. Once the server has space and the error message is gone, BLACS is stuck in en error state and needs to be closed and reopened

philipstarkey commented 6 years ago

Original comment by Philip Starkey (Bitbucket: pstarkey, GitHub: philipstarkey).


It's difficult to tell without a traceback, but I suspect the issue is that there are two places where we don't check the success of QueueManager.clean_h5_file() before attempting to move/rename the file. These cases also exist within the exception handling code, and are thus not caught by a try...except... block like everything else is.

As far as I can see, all other code that tries to write data to the H5 file is within a try except block and should be fine, but happy to dig more if a traceback is provided.