QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: sigourneyanderson on September 7, 2021, 05:06

Title: OSError: Unable to open file
Post by: sigourneyanderson on September 7, 2021, 05:06
Hi everypne,

During the execution  it shows the following error. Plz Help
Traceback (most recent call last):

  File "zipdir\NL\GUI\Menus\SendToMenu.py", line 233, in showWindow
  File "zipdir\NL\GUI\MainWindow\MainWindow.py", line 1011, in jobManager
  File "zipdir\NL\GUI\MainWindow\MainWindow.py", line 1026, in jobManagerReference
  File "zipdir\NL\GUI\MainWindow\MainWindow.py", line 1043, in singletonTool
  File "zipdir\NL\GUI\Tools\JobManager\JobManager.py", line 271, in __init__
  File "zipdir\NL\GUI\Tools\JobManager\JobManager.py", line 421, in loadSettings
  File "zipdir\NL\GUI\Tools\JobManager\JobManager.py", line 390, in settings
  File "zipdir\NL\IO\NLSaveUtilities.py", line 902, in nlread
  File "zipdir\NL\IO\HDF5.py", line 531, in readHDF5
  File "zipdir\NL\IO\HDF5.py", line 409, in __init__
  File "zipdir\NL\IO\HDF5.py", line 163, in __init__
  File "build\lib\site-packages\h5py-2.7.1-py3.6-win-amd64.egg\h5py\_hl\files.py", line 269, in __init__
  File "build\lib\site-packages\h5py-2.7.1-py3.6-win-amd64.egg\h5py\_hl\files.py", line 99, in make_fid
  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 79, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
Title: Re: OSError: Unable to open file
Post by: mlee on September 8, 2021, 12:46
Can you describe more details?
- What kind of file did you want to open?
- Which version do you use?
- Is it Linux or windows?   
Title: Re: OSError: Unable to open file
Post by: Anders Blom on September 15, 2021, 21:13
Looks like the Job Manager settings file(s) have been corrupted somehow. Unfortunately this happens now and then, and can usually be resolved by removing the "job" files in $HOME/.vnl/job_manager_<version>, and if that doesn't work try to also remove the "state.hdf5" file.