BNLNPPS / esi-shell

Apache License 2.0
0 stars 0 forks source link

Python environment not set after mounting $HOME #113

Closed ggalgoczi closed 2 months ago

ggalgoczi commented 2 months ago

Once I run: ./esi-shell -- -v $HOME

Then I try to run "opticks-full-prepare"

I get:

2024-08-19 17:51:21.761 INFO [298] [QCurandState::download@64] after copy_device_to_host
2024-08-19 17:51:22.703 INFO [298] [QCurandState::save@69] saved to scs.path /home/galgoczi/.opticks/rngcache/RNG/QCurandState_10000000_0_0.bin 2024-08-19 17:51:22.703 INFO [298] [main@9] QCurandState::desc cs.num 10000000 cs.seed 0 cs.offset 0 cs.states 0x7fe5f2000000 d_cs 0x7fe60ea00000 scs.path /home/galgoczi/.opticks/rngcache/RNG/QCurandState_10000000_0_0.bin === opticks-prepare-InputPhotons : used by some tests

Poetry could not find a pyproject.toml file in /home/galgoczi/esi-g4ox/build/src or its parents /etc/profile.d/z20_opticks.sh: line 1: /bin/activate: No such file or directory DIR : /esi/opticks/ana script : /esi/opticks/ana/input_photons.py defarg : info_run_ls arg : info_run_ls dtypes : np.float32 np.float64 Traceback (most recent call last): File "/esi/opticks/ana/input_photons.py", line 11, in import numpy as np ModuleNotFoundError: No module named 'numpy' /esi/opticks/ana/input_photons.sh run error

plexoos commented 2 months ago

The changes in #114 should take care of this issue. It would be great, if you could confirm by using the updated image:

esi-shell -t PR-114
ggalgoczi commented 2 months ago

I am trying to test it out but for that I would need the personal access token, right? Is it in ./runner/.docker/config.json: Permission denied ?

When I try to more: cannot open ./runner/.docker/config.json: Permission denied

I get Permission denied


When I try to run

esi-shell -t PR-114

I get

==> Using esi-shell image: ghcr.io/bnlnpps/esi-shell:PR-114 Unable to find image 'ghcr.io/bnlnpps/esi-shell:PR-114' locally docker: Error response from daemon: manifest unknown. See 'docker run --help'.