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

Loss of python package content in saw-8.1.2.tar.gz #183

Open
Rong-ao opened this issue Jan 11, 2025 · 4 comments
Open

Loss of python package content in saw-8.1.2.tar.gz #183

Rong-ao opened this issue Jan 11, 2025 · 4 comments

Comments

@Rong-ao
Copy link

Rong-ao commented Jan 11, 2025

Hi SAW team!

Thanks for noticing! I got two issues when using saw count from saw-8.1.2:

  1. My saw count process failed twice because of errors:

First time:

cannot import name '_kind_name' from 'numpy.core._dtype'

Second time:

'numpy.lib.arraysetops' has no attribute '__all__'

I tried to check these two .py files: /saw-8.1.2/anaconda/lib/python3.8/site-packages/numpy/core/_dtype.py and /saw-8.1.2/anaconda/lib/python3.8/site-packages/numpy/lib/arraysetops.py, which are totally empty.

After manually replace them with proper non-empty numpy file, those errors didn't appear then.

Does it mean that there is anything wrong in my SAW installation? I just followed installation instruction from https://www.stomics.tech/service/new-saw-operation-manual.html and directly unzip downloaded saw-8.1.2.tar.gz.

  1. In log file from saw count, it reported:

Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 16
Rules claiming more threads will be scaled down.
Select jobs to execute...
application-specific initialization failed: Can't find a usable init.tcl in the following directories:
/home/zhanhaojia/miniconda3/envs/saw-8.1.0a5_clone/lib/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library /tcl8.6.13/library /tcl8.6.13/library

This probably means that Tcl wasn't installed properly.

Where does Tcl applied in saw count? Is there any impact on analysis with that initialization failure?

Thanks again for your help and great tools! :)

@Clouate
Copy link
Collaborator

Clouate commented Jan 11, 2025

Hi, have you tried to check the MD5 value of saw-8.1.2.tar.gz? Is there any error during the decompression process?

@Rong-ao
Copy link
Author

Rong-ao commented Jan 13, 2025

@Clouate Thanks for reply! Yes I do checked md5 value of my downloaded tar.gz package, which is 9a895f3364d4e0cd5faaaaa909e4d3eb, same as the one provided in offical instruction. It seems that there's nothing wrong in my downloading and I didn't accept error in decompression. Could there be any other problem leading to this issue?

Besides, could you tell me something about my second question?

@Clouate
Copy link
Collaborator

Clouate commented Jan 13, 2025

@Rong-ao Hi, could you upload the complete log file? We have tested it and it does not affect the process operation. In addition, we recommend that you could re-decompress saw-8.1.2.tar.gz.

@Rong-ao
Copy link
Author

Rong-ao commented Jan 15, 2025

I'm glad with that but my process is still running...I will upload that after it finish. Thanks for your suggestions!

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

2 participants