You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched the issues and found no similar issues.
Component
Transforms/Other
What happened + What you expected to happen
When running header_cleanser ray image in openshift, I see following error.
Traceback (most recent call last):
File "/home/ray/header_cleanser_transform_ray_ibm.py", line 15, in <module>
from header_cleanser_transform_ray import HeaderCleanserRayTransformConfiguration
File "/home/ray/header_cleanser_transform_ray.py", line 18, in <module>
from header_cleanser_transform import HeaderCleanserTransformConfiguration
File "/home/ray/python-transform/src/header_cleanser_transform.py", line 23, in <module>
from scancode import api
File "/home/ray/anaconda3/lib/python3.10/site-packages/scancode/__init__.py", line 16, in <module>
from commoncode import fileutils
File "/home/ray/anaconda3/lib/python3.10/site-packages/commoncode/fileutils.py", line 21, in <module>
from scancode_config import scancode_temp_dir as _base_temp_dir
File "/home/ray/anaconda3/lib/python3.10/site-packages/scancode_config.py", line 186, in <module>
_create_dir(scancode_cache_dir)
File "/home/ray/anaconda3/lib/python3.10/site-packages/scancode_config.py", line 52, in _create_dir
os.makedirs(location)
File "/home/ray/anaconda3/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/ray/anaconda3/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/ray/.cache/scancode-tk'
we may need to add following lines to Dockerfile
RUN mkdir -p /home/ray/.cache/scancode-tk
RUN chmod -R a+r+w+x /home/ray/.cache/scancode-tk
Reproduction script
Running ray image in openshift.
Anything else
No response
OS
Red Hat Enterprise Linux (RHEL)
Python
3.10.x
Are you willing to submit a PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Component
Transforms/Other
What happened + What you expected to happen
When running header_cleanser ray image in openshift, I see following error.
we may need to add following lines to Dockerfile
Reproduction script
Running ray image in openshift.
Anything else
No response
OS
Red Hat Enterprise Linux (RHEL)
Python
3.10.x
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: