What would occur such that a user would see the fo...
# general
b
What would occur such that a user would see the following when `./pants run`ning a Python source 🤔
Copy code
...
"/home/firstnamelastname/.cache/pants/named_caches/pex_root/unzipped_pexes/00c6aeedd3e540664acb24335a35fdecfe180a56/.bootstrap/pex/hashing.py", line 180, in file_hash
    with open(path, "rb") as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/firstnamelastname/.cache/pants/named_caches/pex_root/venvs/00c6aeedd3e540664acb24335a35fdecfe180a56/b989780bc0156be1e5370338299e165b5396324b.b1aea9bdeda6439194d975734b2f252e/bin/spark-class'
1
I suppose if the code running (or one of its deps) was mutating the venv... but that seens unlikely?
Oh, turns out it was a permissions issue. WTF
👀 1
I suspect someone ran
sudo ./pants ...
and then the venv was created with only
root
perms
1