Bug 2218999 - [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
Summary: [abrt] lutris: save(): registry.py:157:save:OSError: Invalid Wine prefix path...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: lutris
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris King
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a23155fc2c6050ed5f744663b7b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-30 21:20 UTC by alod123
Modified: 2023-06-30 21:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (682 bytes, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details
File: environ (1.38 KB, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details
File: mountinfo (3.67 KB, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details
File: open_fds (2.66 KB, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details
File: namespaces (171 bytes, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details
File: backtrace (1.21 KB, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details
File: cpuinfo (2.80 KB, text/plain)
2023-06-30 21:20 UTC, alod123
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.