Lutris 0.5.13 Wine config for BattleNet

I was running BattleNet fine in the 0.5.12 version but in the latest version (0.5.13), I’m having issues installing it.

Before installing it I got a message saying that Wine is not installed but if I run wine --version it shows: wine-8.0.1. Also, I can see Wine under the Runners section in the Lutris left panel.

I try to proceed and then it starts The Wine configuration is being updated, please wait.

After a while I got the error:

2023-06-12 14:28:08,779: Creating a win64 prefix in /home/myuser/snap/lutris/common/Games/battlenet
INFO:lutris.util.log:Creating a win64 prefix in /home/myuser/snap/lutris/common/Games/battlenet
2023-06-12 14:33:09,408: win64 Prefix created in /home/myuser/snap/lutris/common/Games/battlenet
INFO:lutris.util.log:win64 Prefix created in /home/myuser/snap/lutris/common/Games/battlenet

Started initial process 8026 from /home/myuser/snap/lutris/90/.local/share/lutris/runtime/winetricks/winetricks --unattended arial
Start monitoring process.
Traceback (most recent call last):
  File "/snap/lutris/90/usr/share/lutris/bin/lutris-wrapper", line 202, in <module>
    main()
  File "/snap/lutris/90/usr/share/lutris/bin/lutris-wrapper", line 167, in main
    if not watcher.is_alive():
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/util/process_watcher.py", line 75, in is_alive
    return next(self.iterate_processes(), None) is not None
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/util/process_watcher.py", line 64, in iterate_processes
    for child in self.iterate_children():
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/util/process.py", line 131, in iter_children
    for child in self.children:
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/util/process.py", line 125, in children
    for child_pid in self.get_children_pids_of_thread(tid):
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/util/process.py", line 71, in get_children_pids_of_thread
    with open(children_path, encoding='utf-8') as children_file:
PermissionError: [Errno 13] Permission denied: '/proc/8020/task/8020/children'
2023-06-12 14:33:09,692: No file /tmp/lutris-51c657cf-d130-4111-bb46-03817c465c95
WARNING:lutris.util.log:No file /tmp/lutris-51c657cf-d130-4111-bb46-03817c465c95
2023-06-12 14:33:10,518: Command exited with code 
ERROR:lutris.util.log:Command exited with code 
2023-06-12 14:33:10,518: Command exited with code 
Traceback (most recent call last):
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/exceptions.py", line 61, in wrapper
    return function(*args, **kwargs)
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/installer/commands.py", line 446, in _monitor_task
    raise ScriptingError(_("Command exited with code %s") % command.return_code)
lutris.installer.errors.ScriptingError: Command exited with code 
ERROR:lutris.util.log:Command exited with code 
Traceback (most recent call last):
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/exceptions.py", line 61, in wrapper
    return function(*args, **kwargs)
  File "/snap/lutris/90/usr/lib/python3/dist-packages/lutris/installer/commands.py", line 446, in _monitor_task
    raise ScriptingError(_("Command exited with code %s") % command.return_code)
lutris.installer.errors.ScriptingError: Command exited with code

Logs when starting Lutris:

update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/boot /boot none bind,ro 0 0): permission denied
ERROR:dbus.proxies:Introspect error on :1.49:/org/gnome/Mutter/DisplayConfig: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.101" (uid=1000 pid=5513 comm="python3 /snap/lutris/90/usr/bin/lutris " label="snap.lutris.lutris (enforce)") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.49" (uid=1000 pid=3324 comm="/usr/bin/gnome-shell " label="unconfined")
2023-06-12 14:24:19,953: Starting Lutris 0.5.13
INFO:lutris.util.log:Starting Lutris 0.5.13
2023-06-12 14:24:19,955: Could not access /proc/driver/nvidia/version. Falling back to glxinfo.
INFO:lutris.util.log:Could not access /proc/driver/nvidia/version. Falling back to glxinfo.
2023-06-12 14:24:20,013: Using NVIDIA Corporation drivers 530.41.03 for x86_64
INFO:lutris.util.log:Using NVIDIA Corporation drivers 530.41.03 for x86_64
2023-06-12 14:24:20,013: Permission denied to /proc/driver/nvidia/gpus. Using lspci instead.
INFO:lutris.util.log:Permission denied to /proc/driver/nvidia/gpus. Using lspci instead.
2023-06-12 14:24:20,015: GPU: 10DE:1F9F 17AA:22E9 (nvidia drivers)
INFO:lutris.util.log:GPU: 10DE:1F9F 17AA:22E9 (nvidia drivers)
2023-06-12 14:24:20,015: GPU: 8086:46A6 17AA:22E9 (i915 drivers)
INFO:lutris.util.log:GPU: 8086:46A6 17AA:22E9 (i915 drivers)
2023-06-12 14:24:20,015: Could not access /proc/driver/nvidia/version. Falling back to glxinfo.
INFO:lutris.util.log:Could not access /proc/driver/nvidia/version. Falling back to glxinfo.
2023-06-12 14:24:20,443: Can't read contents of /usr/share
ERROR:lutris.util.log:Can't read contents of /usr/share

Any clues?

1 Like
Can't read contents of /usr/share

That’s a real WTF?! regardless of anything else that’s going on.

Does running

ls /usr/share

work ?

I’m strictly guessing, but the number of access issues you are seeing makes me think something on your file system permissions is borked.

PermissionError: [Errno 13] Permission denied: '/proc/8020/task/8020/children'

That just shouldn’t happen :frowning:

Double check permissions on the file/directory tree. Make really sure that the “x” bit is set on the directories. I’ve had goofy problems like this as a result of a “chmod -R” gone wrong.