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
Describe the bug
When I run this line of code from the tutorial:
monai-deploy run simple_app-x64-workstation-dgpu-linux-amd64:latest -i $HOLOSCAN_INPUT_PATH -o output
I get the following error:
[INFO] Launching application python3 /opt/holoscan/app ...
Error processing line 1 of /home/holoscan/.local/lib/python3.10/site-packages/holoscan-2.2.0.post1.pth:
Traceback (most recent call last):
File "/usr/lib/python3.10/site.py", line 192, in addpackage
exec(line)
File "", line 1, in
File "/home/holoscan/.local/lib/python3.10/site-packages/wheel_axle/runtime/init.py", line 80, in finalize
with FileLock(lock_path):
File "/home/holoscan/.local/lib/python3.10/site-packages/filelock/_api.py", line 376, in enter
self.acquire()
File "/home/holoscan/.local/lib/python3.10/site-packages/filelock/_api.py", line 332, in acquire
self._acquire()
File "/home/holoscan/.local/lib/python3.10/site-packages/filelock/_unix.py", line 42, in _acquire
fd = os.open(self.lock_file, open_flags, self._context.mode)
PermissionError: [Errno 13] Permission denied: '/home/holoscan/.local/lib/python3.10/site-packages/holoscan-2.2.0.post1.dist-info/axle.lck'
Steps/Code to reproduce bug
Follow the tutorial for 'Create a simple image app' (shell execution) using the latest version.
Expected behavior
I expected an image to be produced without any errors stopping the execution.
Environment details (please complete the following information)
@n-johe Thanks for reporting this. This issue with the underlying holoscan sdk Wheel axle.lck permission was also found in Holoscan SDK v2.3 when the app container is built with root user package install. One of the fixes is to use explicit --root-user-action when pip installing holoscan; it was observed when doing the root user install when building the app container, not observed with building the container with default (user).
Describe the bug
When I run this line of code from the tutorial:
monai-deploy run simple_app-x64-workstation-dgpu-linux-amd64:latest -i $HOLOSCAN_INPUT_PATH -o output
I get the following error:
[INFO] Launching application python3 /opt/holoscan/app ...
Error processing line 1 of /home/holoscan/.local/lib/python3.10/site-packages/holoscan-2.2.0.post1.pth:
Traceback (most recent call last):
File "/usr/lib/python3.10/site.py", line 192, in addpackage
exec(line)
File "", line 1, in
File "/home/holoscan/.local/lib/python3.10/site-packages/wheel_axle/runtime/init.py", line 80, in finalize
with FileLock(lock_path):
File "/home/holoscan/.local/lib/python3.10/site-packages/filelock/_api.py", line 376, in enter
self.acquire()
File "/home/holoscan/.local/lib/python3.10/site-packages/filelock/_api.py", line 332, in acquire
self._acquire()
File "/home/holoscan/.local/lib/python3.10/site-packages/filelock/_unix.py", line 42, in _acquire
fd = os.open(self.lock_file, open_flags, self._context.mode)
PermissionError: [Errno 13] Permission denied: '/home/holoscan/.local/lib/python3.10/site-packages/holoscan-2.2.0.post1.dist-info/axle.lck'
Steps/Code to reproduce bug
Follow the tutorial for 'Create a simple image app' (shell execution) using the latest version.
Expected behavior
I expected an image to be produced without any errors stopping the execution.
Environment details (please complete the following information)
Additional context
I tried to fix the issue by SSH'ing into the running container and changing permissions for this part of the error:
This didnt work.
The text was updated successfully, but these errors were encountered: