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

Error on downloading auxiliaries #2

Open
NixBio opened this issue Oct 11, 2024 · 0 comments
Open

Error on downloading auxiliaries #2

NixBio opened this issue Oct 11, 2024 · 0 comments

Comments

@NixBio
Copy link

NixBio commented Oct 11, 2024

Base Information

Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
Python 3.7.12
snakemake 8.20.6

call
./modr install --ref-path /mypath/software/ngs/BioinfCore/modr_auxilaries/ --force --threads 12

output:

./modr install --ref-path /mypath/software/ngs/BioinfCore/modr_auxilaries/ --force --threads 12
modr (0.6.1)
Merging chunks...
Extracting tarball... /mypath/software/ngs/BioinfCore/modr_auxilaries/merged_chunks.tar.gz
Traceback (most recent call last):
  File "/mypath/software/package/miniconda3/lib/python3.7/shutil.py", line 932, in _unpack_tarfile
    tarobj = tarfile.open(filename)
  File "/mypath/software/package/miniconda3/lib/python3.7/tarfile.py", line 1580, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./modr", line 1236, in <module>
    main()
  File "./modr", line 1232, in main
    args.func(args)
  File "./modr", line 360, in install
    unpack_archive(tarball, sub_args.ref_path)
  File "/mypath/software/package/miniconda3/lib/python3.7/shutil.py", line 1002, in unpack_archive
    func(filename, extract_dir, **kwargs)
  File "/mypath/software/package/miniconda3/lib/python3.7/shutil.py", line 935, in _unpack_tarfile
    "%s is not a compressed or uncompressed tar file" % filename)
shutil.ReadError: /mypath/software/ngs/BioinfCore/modr_auxilaries/merged_chunks.tar.gz is not a compressed or uncompressed tar file

checking the download

ls -ahl
drwxrwxr-x+  2 ID group   42 Oct 11 15:50 .
drwxrwxr-x+ 16 ID group 4.0K Oct 11 15:48 ..
-rw-rw-r--+  1 ID group    0 Oct 11 16:30 merged_chunks.tar.gz

I could not find a hint where this should be pulled from, the install.json does not contain much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant