Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.5.0 Beta3
-
None
-
-
13b910394 (dev)
Description
A user tried to install qmake2cmake system-wide on Linux - by packaging it for Arch.
At runtime, qmake2cmake fails with the following error:
> Exception ignored in atexit callback: <function simplify_condition_memoize.<locals>.update_cache_file at 0x7f70da62b880> > Traceback (most recent call last): > File "/usr/lib/python3.10/site-packages/qmake2cmake/condition_simplifier_cache.py", line 112, in update_cache_file > os.makedirs(os.path.dirname(cache_path), exist_ok=True) > File "/usr/lib/python3.10/os.py", line 225, in makedirs > mkdir(name, mode) > PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.10/site-packages/qmake2cmake/.pro2cmake_cache'
It looks like qmake2cmake tries to create its cache directory relative to the script's location, which is not writable.
The cache directory should be created somewhere user-writable.
Attachments
Issue Links
- mentioned in
-
Page Loading...