Hello,
OSError: Unable to create file (unable to open file: name = '/net/control/mnt/datatop_spray-2_0.tmpraw.hdf5', errno = 45, error message = 'Operation not supported', flags = 15, o_flags = a02)
More information:
Out[36]: 'Summary of the h5py configuration\n---------------------------------\n\nh5py 2.10.0\nHDF5 1.10.4\nPython 3.7.5 (default, Nov 1 2019, 02:16:23) \n[Clang 11.0.0 (clang-1100.0.33.8)]\nsys.platform darwin\nsys.maxsize 9223372036854775807\nnumpy 1.19.1\n'
To assist reproducing bugs, please include the following:
* Operating System (e.g. Windows 10, MacOS 10.11, Ubuntu 16.04.2 LTS, CentOS 7)
macOS Catalina 10.15.6
* Python version (e.g. 2.7, 3.5)
Python 3.7.5 (default, Nov 1 2019, 02:16:23)
* Where Python was acquired (e.g. system Python on MacOS or Linux, Anaconda on
Windows)
* h5py version (e.g. 2.6)
In [35]: h5py.__version__
Out[35]: '2.10.0'
* HDF5 version (e.g. 1.8.17)
* The full traceback/stack trace shown (if it appears)
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
/usr/local/lib/python3.7/site-packages/h5py/_hl/files.py in make_fid(name, mode, userblock_size, fapl, fcpl, swmr)
184 try:
--> 185 fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl)
186 except IOError:
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/h5f.pyx in h5py.h5f.open()
OSError: Unable to open file (unable to open file: name = '/net/control/mnt/datatop_spray-2_0.tmpraw.hdf5', errno = 2, error message = 'No such file or directory', flags = 1, o_flags = 2)
During handling of the above exception, another exception occurred:
OSError Traceback (most recent call last)
<ipython-input-33-9b3f09345225> in <module>
----> 1 camera.recording_stop();sleep(1); camera.recording_init(256,'spray-2',True); camera.queue.reset(); camera.recording_start()
/System/Volumes/Data/net/server/C/All Projects/LaserLab/Software/lcp-video/lcp_video/flir_camera/flir_camera_DL.py in recording_init(self, N_frames, name, overwrite)
779 self.recording_chunk_pointer = 0
780 filename = self.recording_basefilename + '_' + str(self.recording_chunk_pointer) + '.tmpraw.hdf5'
--> 781 self.recording_create_file(filename = filename, N_frames = N_frames, overwrite = overwrite)
782 self.recording_Nframes = N_frames
783 self.recording_pointer = 0
/System/Volumes/Data/net/server/C/All Projects/LaserLab/Software/lcp-video/lcp_video/flir_camera/flir_camera_DL.py in recording_create_file(self, filename, N_frames, overwrite)
801 else:
802 info(f': The HDF5 was created. The file name is {filename}')
--> 803 with File(filename,file_action) as f:
804 f.create_dataset('pixel format', data = self.pixel_format)
805 f.create_dataset('exposure time', data = self.exposure_time)
/usr/local/lib/python3.7/site-packages/h5py/_hl/files.py in __init__(self, name, mode, driver, libver, userblock_size, swmr, rdcc_nslots, rdcc_nbytes, rdcc_w0, track_order, **kwds)
406 fid = make_fid(name, mode, userblock_size,
407 fapl, fcpl=make_fcpl(track_order=track_order),
--> 408 swmr=swmr)
409
410 if isinstance(libver, tuple):
/usr/local/lib/python3.7/site-packages/h5py/_hl/files.py in make_fid(name, mode, userblock_size, fapl, fcpl, swmr)
185 fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl)
186 except IOError:
--> 187 fid = h5f.create(name, h5f.ACC_EXCL, fapl=fapl, fcpl=fcpl)
188 elif mode is None:
189 warn("The default file mode will change to 'r' (read-only) in h5py 3.0. "
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/_objects.pyx in h5py._objects.with_phil.wrapper()
h5py/h5f.pyx in h5py.h5f.create()
OSError: Unable to create file (unable to open file: name = '/net/control/mnt/datatop_spray-2_0.tmpraw.hdf5', errno = 45, error message = 'Operation not supported', flags = 15, o_flags = a02)
```
```
where `python` should be substituted for the path to python used to install
`h5py` with.
Best,
Valentyn