OSError: Unable to open file (unable to lock file, errno = 37, error message = 'No locks available')
See original GitHub issuei got an error like title,i try to use HDF5_USE_FILE_LOCKING=FALSE in bashrc file,but it doesn’t work,what should i do? my code is following that:
import h5py
h5py.File('X.h5','r')
Issue Analytics
- State:
- Created 5 years ago
- Comments:32 (7 by maintainers)
Top Results From Across the Web
Error while accessing .hdf5 file, shows error “OSError: Unable ...
Solutions: The error could be solved for opening .hdf5 files as below: file= h5py.File(file_path,'r'). close the files using file.close() or ...
Read more >linux - What does 'no locks available' mean? - Server Fault
The NFS file system where the repository is stored may be full; The lock daemon (lockd) may not be running on the NFS...
Read more >Operations on a File System Fail With Error: 37: No Locks ...
Symptom: Operations on the file system sometimes fail with Linux-x86_64 Error: 37: No locks available . Cause: The rpc-statd service and lockd ......
Read more >OSError: Unable to open fle (unable to lock file, errno = 37 ...
OSError : Unable to open file (unable to lock file, errno = 37, error message = 'No locks available')在使用python读取h5文件时出现以上错误这一 ...
Read more >I cannot open my h5 file - HDF5 - HDF Forum
File (fpath, "r") But I get this error message: OSError: Unable to open file (file signature not found) It has worked before, but...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This worked for me. I set the environment variable HDF5_USE_FILE_LOCKING to ‘FALSE’.
Added the following line to the .bashrc file and saved it: export HDF5_USE_FILE_LOCKING=‘FALSE’
$ cd ~
$ nano .bashrc
(write in the .bashrc file => export HDF5_USE_FILE_LOCKING=‘FALSE’)
$ source .bashrc
Has anyone found a solution to this? Initially `HDF5_USE_FILE_LOCKING=‘FALSE’ worked but for some reason the error has returned