-
Notifications
You must be signed in to change notification settings - Fork 16
Description
If XDG_CACHE_HOME is not set, the program crashes with the following error:
Stacktrace
Traceback (most recent call last): File "/usr/bin/steam-cli", line 33, in sys.exit(load_entry_point('steam-cli==0.0.0', 'console_scripts', 'steam-cli')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/steam-cli", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3.11/site-packages/steam_cli.py", line 65, in CACHE_DIR = os.path.join(xdg.XDG_CACHE_HOME, "steam-cli") ^^^^^^^^^^^^^^^^^^ AttributeError: module 'xdg' has no attribute 'XDG_CACHE_HOME'