TRON-Bioinformatics / env2sif

Python script for creating and editing Singularity images on a HPC servers without sudo rights.
Other
0 stars 0 forks source link

Could not use fakeroot: no mapping entry found #1

Open pritampanda15 opened 5 months ago

pritampanda15 commented 5 months ago

I tried using the tool to build test image (sif) using the test.yml file but got this error as

python3 env2sif.py --input_file test/test_conda.yml --output_file test.sif --environment_type conda could not use fakeroot: no mapping entry found in /etc/subuid for userx Problem with running Singularity! Check your fakeroot rights!

IvanBaksic commented 3 months ago

Hi @pritampanda15 , Thank you for your report. This error can have many causes. Could you please check your fakeroot permissions first. You can find them in /etc/subgid and /etc/subuid. There you can check if your username or UID is present. To find out your UID you can enter id -u <username> in your terminal.