Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon Games not showing after login #4005

Closed
Terminykos opened this issue Sep 9, 2024 · 6 comments
Closed

Amazon Games not showing after login #4005

Terminykos opened this issue Sep 9, 2024 · 6 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@Terminykos
Copy link

Describe the bug

I can login with my amazon account but no games are showed in library.

Add logs

[09/09/2024, 18:01:19] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
[09/09/2024, 18:01:19] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
INFO [LIBRARY]:	 Synchronizing library
1.1.1 Will A. Zeppeli
[09/09/2024, 18:01:19] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[12934] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:01:28] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile list-updates --json
ERROR [CLI]:	 No games installed
[]
[09/09/2024, 18:01:29] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13180] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:04:01] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
[09/09/2024, 18:04:05] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13381] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:04:29] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile auth --logout
INFO [AUTH_MANAGER]:	 Successfully deregistered a device
[09/09/2024, 18:04:32] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile auth --login --non-interactive
{"client_id":"<redacted>","code_verifier":"<redacted>","serial":"<redacted>","url":"<redacted>"}
[09/09/2024, 18:04:51] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile register --code <redacted> --code-verifier sxdMZR5GSkmKKiHpjjSPuEgdJWjXeKK3jp41gnTtGok --serial 33BE78206EC511EFB2169C6B000A11E3 --client-id 3333424537383230364543353131454642323136394336423030304131314533234132554d56484f58375550345637
INFO [AUTH_MANAGER]:	 Registerring a device. ID: 3333424537383230364543353131454642323136394336423030304131314533234132554d56484f58375550345637
INFO [AUTH_MANAGER]:	 Succesfully registered a device
INFO [AUTH_MANAGER]:	 Written data to the config
INFO [LIBRARY]:	 Synchronizing library
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 331, in main
  File "nile/cli.py", line 94, in handle_register
  File "nile/api/authorization.py", line 188, in handle_login
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13450] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:04:58] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
[09/09/2024, 18:04:58] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
[09/09/2024, 18:05:02] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13463] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:05:07] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13477] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:05:23] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13483] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:05:31] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile list-updates --json
ERROR [CLI]:	 No games installed
[]
[09/09/2024, 18:05:31] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13505] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:05:54] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
1.1.1 Will A. Zeppeli
[09/09/2024, 18:06:15] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
1.1.1 Will A. Zeppeli
[09/09/2024, 18:06:18] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
INFO [LIBRARY]:	 Synchronizing library
[09/09/2024, 18:06:23] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
Traceback (most recent call last):
  File "requests/models.py", line 974, in json
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nile/cli.py", line 354, in <module>
  File "nile/cli.py", line 333, in main
  File "nile/cli.py", line 140, in handle_library
  File "nile/api/library.py", line 109, in sync
  File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[13551] Failed to execute script 'cli' due to unhandled exception!
[09/09/2024, 18:15:27] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
1.1.1 Will A. Zeppeli
[09/09/2024, 18:15:28] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
1.1.1 Will A. Zeppeli
[09/09/2024, 18:15:50] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
1.1.1 Will A. Zeppeli
[09/09/2024, 18:17:41] NILE_CONFIG_PATH=/home/nykos/.config/heroic/nile_config /opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
1.1.1 Will A. Zeppeli

Steps to reproduce

  1. Login with Amazon Account
  2. Click on Library

Expected behavior

Showing up my Amazon Games in Library

Screenshots

Schermata_20240909_182546

Heroic Version

Latest Stable

System Information

  • OS CachyOS Linux

Additional information

No response

@Terminykos Terminykos added the bug:unconfirmed Someone works on identifying the issue label Sep 9, 2024
@Scorp48
Copy link

Scorp48 commented Sep 9, 2024

I have the same error "requests.exceptions.JSONDecodeError" and looking in the nile issues i see this imLinguin/nile#50 (comment)

Try the latest commit. Amazon seems to have migrated entitlement service like they did with downloads too

@Terminykos
Copy link
Author

I have the same error "requests.exceptions.JSONDecodeError" and looking in the nile issues i see this imLinguin/nile#50 (comment)

Try the latest commit. Amazon seems to have migrated entitlement service like they did with downloads too

sorry I didn't understand how to fix it

@circlesmiler
Copy link

I tried the "Ubuntu Build" of nile on my steam deck but it couldn't read the binary. Is there a instruction on how to get this work on Steam Deck?

@circlesmiler
Copy link

You can find build for the latest commit of nile here:

https://github.com/imLinguin/nile/commits/main/

image

@circlesmiler
Copy link

There is a new nile version 1.1.2 available:

https://github.com/imLinguin/nile/releases/tag/v1.1.2

@Terminykos
Copy link
Author

There is a new nile version 1.1.2 available:

https://github.com/imLinguin/nile/releases/tag/v1.1.2

This fixed the problem, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

3 participants