Author Topic: OSError: Unable to open file  (Read 2099 times)

0 Members and 1 Guest are viewing this topic.

Offline sigourneyanderson

  • New QuantumATK user
  • *
  • Posts: 1
  • Reputation: 0
    • View Profile
OSError: Unable to open file
« 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)

Offline mlee

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: dk
  • Reputation: 6
    • View Profile
Re: OSError: Unable to open file
« Reply #1 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?   

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5394
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: OSError: Unable to open file
« Reply #2 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.