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: CLOSED EOL
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: 2024-05-28 13:17 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:17:55 UTC
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

Comment 8 Aoife Moloney 2024-05-28 13:17:55 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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