Package Details: ulwgl-git 0.1.RC3.149.g551556a-2

Git Clone URL: https://aur.archlinux.org/ulwgl-git.git (read-only, click to copy)
Package Base: ulwgl-git
Description: Unified launcher for Windows games on Linux in progress using Steam Runtime Tools, independent of Steam.
Upstream URL: https://github.com/Open-Wine-Components/ULWGL-launcher
Keywords: games proton steam wine
Licenses: custom
Conflicts: ulwgl
Provides: ulwgl
Submitter: bziemons
Maintainer: bziemons
Last Packager: bziemons
Votes: 1
Popularity: 0.74
First Submitted: 2024-02-12 13:45 (UTC)
Last Updated: 2024-02-27 14:51 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

ManlyMaid commented on 2024-02-29 20:28 (UTC) (edited on 2024-02-29 20:32 (UTC) by ManlyMaid)

Traceback (most recent call last): File "/usr/bin/ulwgl-run", line 317, in <module> sys.exit(main()) ^^^^^^ File "/usr/bin/ulwgl-run", line 290, in main setup_ulwgl(root, local) File "/usr/share/ULWGL/ulwgl_util.py", line 181, in setup_ulwgl return _update_ulwgl(root, local, steam_compat, json, _get_json(local, CONFIG)) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/ULWGL/ulwgl_util.py", line 408, in _get_json json = load(file) ^^^^^^^^^^ File "/usr/lib/python3.11/json/__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

bziemons commented on 2024-02-20 12:08 (UTC) (edited on 2024-02-20 12:22 (UTC) by bziemons)

@holy_elbow I did some more digging and it seems to be an upstream issue that correlates to usernames containing non alphabet characters (e.g. numbers). For now, it is safe to run makepkg with --nocheck.
Upstream issue to follow: https://github.com/Open-Wine-Components/ULWGL-launcher/issues/35

holy_elbow commented on 2024-02-20 02:29 (UTC)

@bziemons I am using my useraccount to build packages with a writable home directory, I have also tried to build the package manually by cloning and running makepkg with the same error. As for the python commands, both print out my home directory path.

bziemons commented on 2024-02-19 11:55 (UTC) (edited on 2024-02-19 12:10 (UTC) by bziemons)

@holy_elbow I am also using yay to build & install, but I cannot reproduce that issue. Just guessing, but are you using a separate user to build packages? Does the user have a regular writable home directory? You should get the same error by running python -c 'import pathlib; print(pathlib.Path.home())' as the user that builds the package.
Also, try running python -c 'import os.path; print(os.path.expanduser("~"))'. In my case, both print the expanded home directory path.
Please let me know more details on how you build the package so that I can adjust the PKGBUILD if necessary.

holy_elbow commented on 2024-02-19 05:24 (UTC)

Running into this issue on install

ERROR: test_env_vars_paths (__main__.TestGameLauncher.test_env_vars_paths)
Test check_env when setting unexpanded paths for $WINEPREFIX and $PROTONPATH.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_test.py", line 1502, in test_env_vars_paths
    result = ulwgl_run.check_env(self.env)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_run.py", line 109, in check_env
    if not Path(os.environ["WINEPREFIX"]).expanduser().is_dir():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/pathlib.py", line 1385, in expanduser
    raise RuntimeError("Could not determine home directory.")
RuntimeError: Could not determine home directory.

======================================================================
ERROR: test_set_env_toml_paths (__main__.TestGameLauncher.test_set_env_toml_paths)
Test set_env_toml when specifying unexpanded file path values in the config file.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_test.py", line 940, in test_set_env_toml_paths
    Path(toml_path).expanduser().touch()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/pathlib.py", line 1385, in expanduser
    raise RuntimeError("Could not determine home directory.")
RuntimeError: Could not determine home directory.

======================================================================
ERROR: test_setup_pfx_mv (__main__.TestGameLauncher.test_setup_pfx_mv)
Test setup_pfx when moving the WINEPREFIX after creating it.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_test.py", line 1288, in test_setup_pfx_mv
    result = ulwgl_run.setup_pfx(unexpanded_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_run.py", line 48, in setup_pfx
    pfx: Path = Path(path).joinpath("pfx").expanduser()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/pathlib.py", line 1385, in expanduser
    raise RuntimeError("Could not determine home directory.")
RuntimeError: Could not determine home directory.

======================================================================
ERROR: test_setup_pfx_symlinks (__main__.TestGameLauncher.test_setup_pfx_symlinks)
Test _setup_pfx for valid symlinks.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_test.py", line 1354, in test_setup_pfx_symlinks
    result = ulwgl_run.setup_pfx(unexpanded_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/.cache/yay/ulwgl-git/src/ULWGL-launcher/ulwgl_run.py", line 48, in setup_pfx
    pfx: Path = Path(path).joinpath("pfx").expanduser()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/pathlib.py", line 1385, in expanduser
    raise RuntimeError("Could not determine home directory.")
RuntimeError: Could not determine home directory.

----------------------------------------------------------------------
Ran 41 tests in 0.066s

FAILED (errors=4)
==> ERROR: A failure occurred in check().
    Aborting...

bziemons commented on 2024-02-14 01:13 (UTC)

Should be fixed now :)

texer22 commented on 2024-02-13 22:22 (UTC)

I cannot install...

python: can't open file '/home/username/.cache/paru/clone/ulwgl-git/src/ULWGL-launcher/gamelauncher_test.py': [Errno 2] No such file or directory
==> ERROR: A failure occurred in check().
    Aborting...