Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error in loading BLACS

44 views
Skip to first unread message

Peter Brereton

unread,
Dec 13, 2024, 1:21:02 PM12/13/24
to the labscript suite
I am installing labscript-suite for first time on lab computers.  Due to security restrictions, we don't have root/admin privileges, so that might be impacting the install.

I have been getting a lot of errors when I try to run the guis (blacs, runmanager, etc.). But have followed the zmq modifications here: https://groups.google.com/g/labscriptsuite/c/q_gMVD-W8hE/m/gPk0OsLzBgAJ and now can run the guis.

However, with BLACS, we continue to get issues, in this case

FileNotFoundError: [Errno 2] Unable to synchronously open file (unable to open file: name = 'C:\Experiments\example_apparatus\connection_table.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Is there an issue to where the .ini file points to? Any suggestions?

Thanks!


Traceback (most recent call last):
  File "C:\Users\pgbreret\AppData\Local\miniforge3\envs\labcontrol\Lib\threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\pgbreret\AppData\Local\miniforge3\envs\labcontrol\Lib\site-packages\zprocess\utils.py", line 109, in _reraise
    raise value.with_traceback(traceback)
  File "C:\Users\pgbreret\AppData\Local\miniforge3\envs\labcontrol\Lib\site-packages\labscript_utils\connections.py", line 46, in __init__
    with h5py.File(h5file,'r') as hdf5_file:
         ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pgbreret\AppData\Local\miniforge3\envs\labcontrol\Lib\site-packages\labscript_utils\h5_lock.py", line 53, in __init__
    _File.__init__(self, name, mode, driver, libver, **kwds)
  File "C:\Users\pgbreret\AppData\Local\miniforge3\envs\labcontrol\Lib\site-packages\h5py\_hl\files.py", line 561, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pgbreret\AppData\Local\miniforge3\envs\labcontrol\Lib\site-packages\h5py\_hl\files.py", line 235, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "h5py\\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py\\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py\\h5f.pyx", line 102, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to synchronously open file (unable to open file: name = 'C:\Experiments\example_apparatus\connection_table.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Jan Deppe

unread,
Dec 14, 2024, 3:32:26 AM12/14/24
to the labscript suite
Did you do the first compilation of the connection_table.h5 using the runmanager ?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages