Bug 1911909 - [abrt] legendary: login(): core.py:155:login:ValueError: No saved credentials
Summary: [abrt] legendary: login(): core.py:155:login:ValueError: No saved credentials
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:a7a714ba998d4c3cf6512c19f05...
: 1912039 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-01 14:00 UTC by kb1000
Modified: 2021-01-07 01:13 UTC (History)
2 users (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:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (705 bytes, text/plain)
2021-01-01 14:00 UTC, kb1000
no flags Details
File: cpuinfo (2.29 KB, text/plain)
2021-01-01 14:00 UTC, kb1000
no flags Details
File: environ (5.47 KB, text/plain)
2021-01-01 14:00 UTC, kb1000
no flags Details
File: mountinfo (3.37 KB, text/plain)
2021-01-01 14:00 UTC, kb1000
no flags Details
File: namespaces (172 bytes, text/plain)
2021-01-01 14:00 UTC, kb1000
no flags Details
File: open_fds (379 bytes, text/plain)
2021-01-01 14:00 UTC, kb1000
no flags Details

Description kb1000 2021-01-01 14:00:02 UTC
Description of problem:
Using "legendary" without login causes an exception, instead of a short error that tells me I didn't log in (and how to log in)

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-c3e8d23b-28ff-422a-a0cc-260d3b4a3e6b.scope
cmdline:        /usr/bin/python3 /usr/bin/legendary install 'Jurassic World Evolution'
crash_function: login
exception_type: ValueError
executable:     /usr/bin/legendary
interpreter:    python3-3.9.1-1.fc33.x86_64
kernel:         5.9.15-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
core.py:155:login:ValueError: No saved credentials

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 1342, in main
    cli.install_game(args)
  File "/usr/lib/python3.9/site-packages/legendary/cli.py", line 529, in install_game
    if not self.core.login():
  File "/usr/lib/python3.9/site-packages/legendary/core.py", line 155, in login
    raise ValueError('No saved credentials')
ValueError: No saved credentials

Local variables in innermost frame:
self: <legendary.core.LegendaryCore object at 0x7ff1003f4730>

Comment 1 kb1000 2021-01-01 14:00:09 UTC
Created attachment 1743627 [details]
File: backtrace

Comment 2 kb1000 2021-01-01 14:00:10 UTC
Created attachment 1743628 [details]
File: cpuinfo

Comment 3 kb1000 2021-01-01 14:00:11 UTC
Created attachment 1743629 [details]
File: environ

Comment 4 kb1000 2021-01-01 14:00:13 UTC
Created attachment 1743630 [details]
File: mountinfo

Comment 5 kb1000 2021-01-01 14:00:14 UTC
Created attachment 1743631 [details]
File: namespaces

Comment 6 kb1000 2021-01-01 14:00:19 UTC
Created attachment 1743632 [details]
File: open_fds

Comment 7 Fedora Update System 2021-01-02 17:58:39 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 17:58:47 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:03:21 UTC
Please try 0.20.6 and if problem still persist could you file upstream bug please? https://github.com/derrod/legendary/issues

Comment 10 johncorreia02 2021-01-02 22:16:42 UTC
*** Bug 1912039 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Update System 2021-01-04 01:07:25 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 12 Fedora Update System 2021-01-07 01:13:21 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.