Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelStoreTGZ exception <class 'OSError'> #548

Open
riyasj327 opened this issue Jan 7, 2025 · 0 comments
Open

ModelStoreTGZ exception <class 'OSError'> #548

riyasj327 opened this issue Jan 7, 2025 · 0 comments
Labels

Comments

@riyasj327
Copy link

riyasj327 commented Jan 7, 2025

Hi,

I am recently facing this issue while running medaka consensus on flye assembly. This never happened before.

Error message:
[14:36:34 - MdlStrTGZ] ModelStoreTGZ exception <class 'OSError'>

Logging
Traceback (most recent call last):
File "/{to path}/envs/medaka/lib/python3.10/site-packages/h5py/_hl/files.py", line 247, in make_fid
fid = h5f.open(name, h5f.ACC_RDWR, 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 = 'consensus_probs.hdf', errno = 2, error message = 'No such file or directory', flags = 1, o_flags = 2)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/{to path}/miniconda3/envs/medaka/bin/medaka", line 11, in
sys.exit(main())
File "/{to path}/miniconda3/envs/medaka/lib/python3.10/site-packages/medaka/medaka.py", line 836, in main
args.func(args)
File "/{to path}/miniconda3/envs/medaka/lib/python3.10/site-packages/medaka/prediction.py", line 115, in predict
model_store.copy_meta(args.output)
File "/{to path}/miniconda3/envs/medaka/lib/python3.10/site-packages/medaka/datastore.py", line 212, in copy_meta
with DataStore(hdf, 'a') as ds:
File "/{to path}/miniconda3/envs/medaka/lib/python3.10/site-packages/medaka/datastore.py", line 239, in init
self.fh = h5py.File(self.filename, self.mode)
File "/{to path}/miniconda3/envs/medaka/lib/python3.10/site-packages/h5py/_hl/files.py", line 562, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/{to path}/miniconda3/envs/medaka/lib/python3.10/site-packages/h5py/_hl/files.py", line 261, in make_fid
fid = h5f.create(name, h5f.ACC_EXCL, fapl=fapl, fcpl=fcpl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper

Installation method:
using conda
Version used:
medaka 2.0.1

Any insights on this would be helpful!
thanks,
Riya

@riyasj327 riyasj327 added the bug label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant