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
Make sure no duplicated issue has already been reported. You should look for closed issues, too.
Make sure you are not asking us to help to solve your specific issue. GitHub issues are opened mainly for development purposes. If you want to ask someone to help to solve your problem, go to some community site like StackOverflow, etc.
Make sure your problem is not derived from packaging (e.g. Homebrew).
Describe the bug
My application will need a folder named as "cache" for image display purposes. In my setup.py, I added it so the folder is also included during packaging:
However, when I try to run the resulting AppImage, the following error message occurs:
$./test.AppImage
2024-01-29 20:39:45.963723: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
WARNING:tensorflow:AutoGraph is not available in this environment: functions lack code information. This is typical of some environments like the interactive Python shell. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/autograph/g3doc/reference/limitations.md#access-to-source-code for more information.
Traceback (most recent call last):
File "/usr/share/miniconda/envs/cz/lib/python3.11/site-packages/cx_Freeze/initscripts/__startup__.py", line 132, in run
File "/usr/share/miniconda/envs/cz/lib/python3.11/site-packages/cx_Freeze/initscripts/console.py", line 16, in run
File "main_GUI.py", line 414, in<module>
File "main_GUI.py", line 406, in main
File "/home/runner/work/CaImAn/CaImAn/src/src_pipeline.py", line 178, in __init__
File "/usr/share/miniconda/envs/cz/lib/python3.11/pathlib.py", line 1116, in mkdir
OSError: [Errno 30] Read-only file system: '/tmp/.mount_CalciuWLDPTV/lib/cache'
Are there any further steps in setup.py I need to take to get rid of permission issues? Thank you.
Prerequisite
Describe the bug
My application will need a folder named as "cache" for image display purposes. In my
setup.py
, I added it so the folder is also included during packaging:However, when I try to run the resulting AppImage, the following error message occurs:
Are there any further steps in
setup.py
I need to take to get rid of permission issues? Thank you.To Reproduce
The AppImage can be found here.
Expected behavior
There should be without permission issue.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: