Bug 1912017 - [abrt] legendary: get_save_path(): core.py:447:get_save_path:KeyError: '4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4'
Summary: [abrt] legendary: get_save_path(): core.py:447:get_save_path:KeyError: '4C5C3...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: legendary
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL: http://retrace03.rdu-cc.fedoraproject...
Whiteboard: abrt_hash:a9bd732e966cc6188d71aeb0cf5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-02 17:56 UTC by kb1000
Modified: 2021-01-07 01:13 UTC (History)
1 user (show)

Fixed In Version: legendary-0.20.6-1.fc33 legendary-0.20.6-1.fc32
Clone Of:
Environment:
Last Closed: 2021-01-04 01:07:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.44 KB, text/plain)
2021-01-02 17:56 UTC, kb1000
no flags Details
File: cpuinfo (2.29 KB, text/plain)
2021-01-02 17:56 UTC, kb1000
no flags Details
File: environ (5.46 KB, text/plain)
2021-01-02 17:56 UTC, kb1000
no flags Details
File: mountinfo (3.30 KB, text/plain)
2021-01-02 17:56 UTC, kb1000
no flags Details
File: namespaces (172 bytes, text/plain)
2021-01-02 17:56 UTC, kb1000
no flags Details
File: open_fds (481 bytes, text/plain)
2021-01-02 17:56 UTC, kb1000
no flags Details

Description kb1000 2021-01-02 17:56:38 UTC
Description of problem:
I ran "legendary sync-saves bcbc03d8812a44c18f41cf7d5f849265"

Version-Release number of selected component:
legendary-0.20.5-1.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-0b9b3328-186d-4899-9d1c-755e49f147ee.scope
cmdline:        /usr/bin/python3 /usr/bin/legendary sync-saves bcbc03d8812a44c18f41cf7d5f849265
crash_function: get_save_path
exception_type: KeyError
executable:     /usr/bin/legendary
interpreter:    python3-3.9.1-1.fc33.x86_64
kernel:         5.9.16-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
core.py:447:get_save_path:KeyError: '4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4'

Traceback (most recent call last):
  File "/usr/bin/legendary", line 33, in <module>
    sys.exit(load_entry_point('legendary-gl==0.20.5', 'console_scripts', 'legendary')())
  File "/usr/lib/python3.9/site-packages/legendary/cli.py", line 1352, in main
    cli.sync_saves(args)
  File "/usr/lib/python3.9/site-packages/legendary/cli.py", line 359, in sync_saves
    save_path = self.core.get_save_path(igame.app_name)
  File "/usr/lib/python3.9/site-packages/legendary/core.py", line 447, in get_save_path
    path_vars['{usersavedgames}'] = wine_folders['4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4']
KeyError: '4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4'

Local variables in innermost frame:
self: <legendary.core.LegendaryCore object at 0x7f72470196d0>
app_name: 'bcbc03d8812a44c18f41cf7d5f849265'
game: <legendary.models.game.Game object at 0x7f7246cc1940>
save_path: '{AppData}/Colossal Order/Cities_Skylines/Saves/'
igame: <legendary.models.game.InstalledGame object at 0x7f7246cc1ac0>
wine_pfx: '/home/kb1000/.wine'
proton_pfx: None
wine_reg: <configparser.ConfigParser object at 0x7f7246cc1910>
wine_folders: {'Administrative Tools': '/home/kb1000/.wine/drive_c/users/kb1000/Start Menu/Programs/Administrative Tools', 'AppData': '/home/kb1000/.wine/drive_c/users/kb1000/Application Data', 'Cache': '/home/kb1000/.wine/drive_c/users/kb1000/Local Settings/Temporary Internet Files', 'Cookies': '/home/kb1000/.wine/drive_c/users/kb1000/Cookies', 'Desktop': '/home/kb1000/.wine/drive_c/users/kb1000/Desktop', 'Favorites': '/home/kb1000/.wine/drive_c/users/kb1000/Favorites', 'Fonts': '/home/kb1000/.wine/drive_c/windows/Fonts', 'History': '/home/kb1000/.wine/drive_c/users/kb1000/Local Settings/History', 'Local AppData': '/home/kb1000/.wine/drive_c/users/kb1000/Local Settings/Application Data', 'My Music': '/home/kb1000/.wine/drive_c/users/kb1000/Eigene Musik', 'My Pictures': '/home/kb1000/.wine/drive_c/users/kb1000/Eigene Bilder', 'My Videos': '/home/kb1000/.wine/drive_c/users/kb1000/Eigene Videos', 'NetHood': '/home/kb1000/.wine/drive_c/users/kb1000/NetHood', 'Personal': '/home/kb1000/.wine/drive_c/users/kb1000/Meine Dokumente', 'PrintHood': '/home/kb1000/.wine/drive_c/users/kb1000/PrintHood', 'Programs': '/home/kb1000/.wine/drive_c/users/kb1000/Start Menu/Programs', 'Recent': '/home/kb1000/.wine/drive_c/users/kb1000/Recent', 'SendTo': '/home/kb1000/.wine/drive_c/users/kb1000/SendTo', 'Start Menu': '/home/kb1000/.wine/drive_c/users/kb1000/Start Menu', 'StartUp': '/home/kb1000/.wine/drive_c/users/kb1000/Start Menu/Programs/StartUp', 'Templates': '/home/kb1000/.wine/drive_c/users/kb1000/Templates', '{374DE290-123F-4565-9164-39C4925E467B}': '/home/kb1000/.wine/drive_c/users/kb1000/Downloads', '{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}': '/home/kb1000/.wine/drive_c/users/kb1000/Saved Games', '{56784854-C6CB-462B-8169-88E350ACB882}': '/home/kb1000/.wine/drive_c/users/kb1000/Contacts', '{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}': '/home/kb1000/.wine/drive_c/users/kb1000/Searches', '{A520A1A4-1780-4FF6-BD18-167343C5AF16}': '/home/kb1000/.wine/drive_c/users/kb1000/AppData/LocalLow', '{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}': '/home/kb1000/.wine/drive_c/users/kb1000/Links'}
path_vars: {'{installdir}': '/home/kb1000/legendary/CitiesSkylines', '{epicid}': '1356780534b2450ab5dd546c47628b06', '{appdata}': '/home/kb1000/.wine/drive_c/users/kb1000/Application Data', '{userdir}': '/home/kb1000/.wine/drive_c/users/kb1000/Meine Dokumente'}

Comment 1 kb1000 2021-01-02 17:56:40 UTC
Created attachment 1743854 [details]
File: backtrace

Comment 2 kb1000 2021-01-02 17:56:41 UTC
Created attachment 1743855 [details]
File: cpuinfo

Comment 3 kb1000 2021-01-02 17:56:43 UTC
Created attachment 1743856 [details]
File: environ

Comment 4 kb1000 2021-01-02 17:56:44 UTC
Created attachment 1743857 [details]
File: mountinfo

Comment 5 kb1000 2021-01-02 17:56:45 UTC
Created attachment 1743858 [details]
File: namespaces

Comment 6 kb1000 2021-01-02 17:56:46 UTC
Created attachment 1743859 [details]
File: open_fds

Comment 7 Fedora Update System 2021-01-02 18:00:45 UTC
FEDORA-2020-3025db8766 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3025db8766

Comment 8 Fedora Update System 2021-01-02 18:00:52 UTC
FEDORA-2020-2af24d8ad9 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2af24d8ad9

Comment 9 Artem 2021-01-02 18:02:42 UTC
Hi. This should be already fixed in 0.20.6. Please try this updates.

https://github.com/derrod/legendary/releases/tag/0.20.6
> Minor hotfix to fix save path resolution on Linux (my bad, not enough testing) and make sure games are always ordered alphabetically (case-insensitively).

Comment 10 Fedora Update System 2021-01-04 01:07:27 UTC
FEDORA-2020-2af24d8ad9 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2021-01-07 01:13:23 UTC
FEDORA-2020-3025db8766 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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