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

Placeholder of length limit #106

Open
KailunZM opened this issue Mar 4, 2024 · 3 comments
Open

Placeholder of length limit #106

KailunZM opened this issue Mar 4, 2024 · 3 comments

Comments

@KailunZM
Copy link

KailunZM commented Mar 4, 2024

Hello! Thanks a lot for sharing this powerful tool.

I got the error below when testing the program installation with hecatomb test

PaddingError: Placeholder of length '255' too short in package /ref/gdlab/software/spack-0.18.0/opt/spack/linux-rocky8-x86_64/gcc-8.5.0/miniconda3-4.10.3-buvzc6uug3orkopkzbq3muf4f2o7c32y/envs/hecatomb/lib/python3.12/site-packages/heca
tomb/snakemake/conda/984a2c62df4691818afcb8b7a0ec4cc3_/lib/python3.12/site-packages/trimnami/workflow/conda/1e503641665bf5d3c4de834fc9a4c013_/lib/libtinfo.so.6.4.
The package must be rebuilt with conda-build > 2.0.

Is there a way to change the length limit or fix the error within the conda evnn?

@beardymcjohnface
Copy link
Collaborator

beardymcjohnface commented Mar 5, 2024

Hi, what version of conda are you running?
EDIT: I think the issue is that the prefix filepath is just too long. Can you please try and run the following?

hecatomb test build_envs --conda-prefix hecatomb.out/conda/

If that works, for your production run just add --conda-prefix hecatomb.out/conda/ to the command. It might fail though; I can patch in a fix but you could also try and install miniconda on a shorter path e.g. /home/users/USERNAME/miniconda/

@KailunZM
Copy link
Author

KailunZM commented Mar 7, 2024 via email

@beardymcjohnface
Copy link
Collaborator

Thanks Kailun, can you please try with the custom conda prefix?
hecatomb test build_envs --conda-prefix hecatomb.out/conda/ or if you haven't installed the databases yet: hecatomb install --conda-prefix hecatomb.out/conda/

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