Bug 2218999

Summary: [abrt] lutris: save(): registry.py:157:save:OSError: Invalid Wine prefix path /home/thek0tyara/Games/egs, make sure to create the prefix before saving to a registry
Product: [Fedora] Fedora Reporter: alod123
Component: lutrisAssignee: Chris King <bunnyapocalypse>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: alod123, bunnyapocalypse, farchord
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f0f044f35b7678b5649e79f2f31844e481c7fbe
Whiteboard: abrt_hash:a23155fc2c6050ed5f744663b7b083526eb79c47;VARIANT_ID=xfce;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description alod123 2023-06-30 21:20:41 UTC
Version-Release number of selected component:
lutris-0.5.13-2.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.3.8-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/lutris
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
uid:            1000
reason:         registry.py:157:save:OSError: Invalid Wine prefix path /home/thek0tyara/Games/egs, make sure to create the prefix before saving to a registry
executable:     /usr/bin/lutris
type:           Python3
package:        lutris-0.5.13-2.fc38
runlevel:       N 5
exception_type: OSError
crash_function: save
interpreter:    python3-3.11.3-2.fc38.x86_64

Truncated backtrace:
registry.py:157:save:OSError: Invalid Wine prefix path /home/thek0tyara/Games/egs, make sure to create the prefix before saving to a registry

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/lutris/gui/widgets/game_bar.py", line 259, in on_link_button_clicked
    callback(button)
  File "/usr/lib/python3.11/site-packages/lutris/runners/wine.py", line 776, in run_wineexec
    self.prelaunch()
  File "/usr/lib/python3.11/site-packages/lutris/runners/wine.py", line 910, in prelaunch
    self.set_regedit_keys()
  File "/usr/lib/python3.11/site-packages/lutris/runners/wine.py", line 864, in set_regedit_keys
    prefix_manager.clear_registry_subkeys(path, key)
  File "/usr/lib/python3.11/site-packages/lutris/util/wine/prefix.py", line 131, in clear_registry_subkeys
    registry.save()
  File "/usr/lib/python3.11/site-packages/lutris/util/wine/registry.py", line 157, in save
    raise OSError(
OSError: Invalid Wine prefix path /home/thek0tyara/Games/egs, make sure to create the prefix before saving to a registry

Local variables in innermost frame:
self: <lutris.util.wine.registry.WineRegistry object at 0x7fdf3acacc90>
path: '/home/thek0tyara/Games/egs/user.reg'
prefix_path: '/home/thek0tyara/Games/egs'

Comment 1 alod123 2023-06-30 21:20:44 UTC
Created attachment 1973484 [details]
File: os_info

Comment 2 alod123 2023-06-30 21:20:45 UTC
Created attachment 1973485 [details]
File: environ

Comment 3 alod123 2023-06-30 21:20:47 UTC
Created attachment 1973486 [details]
File: mountinfo

Comment 4 alod123 2023-06-30 21:20:48 UTC
Created attachment 1973487 [details]
File: open_fds

Comment 5 alod123 2023-06-30 21:20:49 UTC
Created attachment 1973488 [details]
File: namespaces

Comment 6 alod123 2023-06-30 21:20:51 UTC
Created attachment 1973489 [details]
File: backtrace

Comment 7 alod123 2023-06-30 21:20:53 UTC
Created attachment 1973490 [details]
File: cpuinfo