Rare icon indicating copy to clipboard operation
Rare copied to clipboard

[BUG] Errors when syncing with EGL

Open ahempi opened this issue 11 months ago • 10 comments

Describe the bug

i have a lot of errors with syncing with EGL

To Reproduce

Steps to reproduce the behavior:

  1. Go to Sync with EGL
  2. See error

Expected behavior

Traceback (most recent call last):
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\__init__.py", line 98, in show_egl_sync
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\__init__.py", line 50, in show_egl_sync
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 84, in showEvent
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 182, in update_lists
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 356, in populate
  File "F:\Rare-1.11.3.0\legendary\core.py", line 1797, in egl_get_importable
  File "F:\Rare-1.11.3.0\legendary\lfs\egl.py", line 69, in get_manifests
  File "F:\Rare-1.11.3.0\legendary\models\egl.py", line 96, in from_json
  File "F:\Rare-1.11.3.0\legendary\utils\cli.py", line 90, in strtobool
ValueError: Error calling Python override of QGroupBox::showEvent(): invalid truth value ''

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Please complete the following information

  • Operating system: [Windows 10]
  • Version: [1.11.3]
  • Installation method: [zip]

Additional context

don't have any

Error message

 - Operating System: Windows, Python version: 3.12.8
 - Running F:\Rare-1.11.3.0\Rare.exe F:\Rare-1.11.3.0\Rare.exe
 - Qt version: 6.8.1, PySide6 version: 6.8.1.1
[LGDLFS] INFO: Using Rare's LGDLFS monkey
[Core] INFO: Using Rare's LegendaryCore monkey
[Core] INFO: Using config in C:\Users\Adam/.config/legendary
[Wrappers] INFO: C:\Users\Adam\AppData\Local\Rare\wrappers.json does not exist
[Rare] INFO: Using locale: C
[Rare] INFO: Couldn't find translation for locale: C
[Rare] INFO: Couldn't find translation for locale: C
[Core] INFO: Logging in...
[LaunchDialog] INFO: You are logged in
[FetchWorker] INFO: Requesting Windows metadata, without Unreal engine
[FetchWorker] INFO: Games: 103. Games with DLCs: 4
[FetchWorker] INFO: Entitlements: 147
[RareCore] INFO: Acquired data from ENTITLEMENTS worker
[FetchWorker] INFO: Non-asset: 14. Non-asset with DLCs: 0
[FetchWorker] INFO: Games: 117. Games with DLCs: 4
[RareCore] WARNING: Sideswipe already present in RareCore
[RareCore] INFO: Updating Game for Sideswipe
[RareCore] INFO: Acquired data from GAMESDLCS worker
[SteamShortcuts] INFO: Found most recently logged-in user ahempi(ahempi) (2025-03-26 18:48:50+00:00)
[LaunchDialog] INFO: App starting
[Rare] INFO: Renewed session expires at 2025-03-29T22:06:28.631Z
[WineResolver] INFO: Origin worker finished in 0.0s
[RareCore] INFO: Saves: 4
[StoreAPI] ERROR: 4d5ab04d-c57c-4559-9a5e-7e0eade4680c - CatalogOffer/offerMappings: Request failed with status code 404
[StoreAPI] ERROR: 4d5ab04d-c57c-4559-9a5e-7e0eade4680c - CatalogNamespace/mappings: Request failed with status code 404
[cli] ERROR: Game is already installed!
[Import] INFO: Import failed: The Forest Quartet: E:\Epic Games\ForestQuartet0dPgy (Game is already installed!)
[Import] INFO: Import error: None: E:\Epic Games\Genshin Impact game (None)
[cli] ERROR: Game is already installed!
[Import] INFO: Import failed: Core: F:\epic\Core (Game is already installed!)
[Import] INFO: Import error: None: F:\epic\UE_5.5 (None)
[cli] ERROR: Import candidate is DLC but base game "Fortnite" (App name: "Fortnite") is not installed!
[Import] INFO: Import failed: Fortnite Battle Royale: C:\Program Files (x86)\Epic Games\Games\Fortnite (Import candidate is DLC but base game "Fortnite" (App name: "Fortnite") is not installed!)
[cli] ERROR: Import candidate is DLC but base game "Fortnite" (App name: "Fortnite") is not installed!
[Import] INFO: Import failed: Fortnite Battle Royale: C:\Program Files (x86)\Epic Games\Games\Fortnite (Import candidate is DLC but base game "Fortnite" (App name: "Fortnite") is not installed!)
[cli] ERROR: Import candidate is DLC but base game "Fortnite" (App name: "Fortnite") is not installed!
[Import] INFO: Import failed: Fortnite Battle Royale: C:\Program Files (x86)\Epic Games\Games\Fortnite (Import candidate is DLC but base game "Fortnite" (App name: "Fortnite") is not installed!)
[Core] INFO: Downloading latest manifest for "Fortnite"
[cli] ERROR: No files belonging to Game "Fortnite" (Fortnite) found in the specified location, please verify that the path is correct.
[cli] INFO: Did you mean "C:\Program Files (x86)\Epic Games\Games\Fortnite"?
[RareException] CRITICAL: Traceback (most recent call last):
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\import_group.py", line 348, in __on_import_progress
  File "F:\Rare-1.11.3.0\rare\models\game.py", line 293, in set_installed
  File "F:\Rare-1.11.3.0\rare\lgndr\core.py", line 157, in egstore_delete
AttributeError: 'NoneType' object has no attribute 'app_name'

[RareException] CRITICAL: Traceback (most recent call last):
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 84, in showEvent
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 182, in update_lists
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 356, in populate
  File "F:\Rare-1.11.3.0\legendary\core.py", line 1797, in egl_get_importable
  File "F:\Rare-1.11.3.0\legendary\lfs\egl.py", line 69, in get_manifests
  File "F:\Rare-1.11.3.0\legendary\models\egl.py", line 96, in from_json
  File "F:\Rare-1.11.3.0\legendary\utils\cli.py", line 90, in strtobool
ValueError: invalid truth value ''

[RareException] CRITICAL: Traceback (most recent call last):
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\__init__.py", line 98, in show_egl_sync
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\__init__.py", line 50, in show_egl_sync
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 84, in showEvent
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 182, in update_lists
  File "F:\Rare-1.11.3.0\rare\components\tabs\library\integrations\egl_sync_group.py", line 356, in populate
  File "F:\Rare-1.11.3.0\legendary\core.py", line 1797, in egl_get_importable
  File "F:\Rare-1.11.3.0\legendary\lfs\egl.py", line 69, in get_manifests
  File "F:\Rare-1.11.3.0\legendary\models\egl.py", line 96, in from_json
  File "F:\Rare-1.11.3.0\legendary\utils\cli.py", line 90, in strtobool
ValueError: Error calling Python override of QGroupBox::showEvent(): invalid truth value ''
OS Path
Windows C:\Users\<username>\AppData\Local\Rare\Rare\cache\logs
Linux /home/<username>/.cache/Rare/Rare/logs
masOS /Users/<username>/Library/Caches/Rare/Rare/logs

ahempi avatar Mar 29 '25 14:03 ahempi

Can you describe the series of actions that lead to these errors?

loathingKernel avatar Mar 29 '25 21:03 loathingKernel

I install the zip, the error was there and then tryd the msi installer, alsow there. I have tryd to put it on a nother drive and I still get this error.

ahempi avatar Mar 30 '25 07:03 ahempi

Have you used legendary before Rare? I am asking because we disable syncing with EGL by default, Rare should also disable automatic EGL sync by default, so this can only happen if you did some action, like trying to sync with EGL manually. What login method did you use? Browser or Import from EGL? If that's not the case, I have to look how it happens despite being disabled by default.

That being said, the issue itself seems to stem from one of the files in C:\ProgramData\Epic\EpicGamesLauncher\Data\Manifests, there should be a few files in there with the suffix .item. One or more items might be malformed. Specifically, it might contain "OwnershipToken": "" which is an illegal value, instead of "OwnershipToken": "false" or true. Can you check if that's the case?

loathingKernel avatar Mar 30 '25 10:03 loathingKernel

I haven't youse legendary before. I used the browser login methode, the games that i ows are showing up. I have 9 .item files files:

  1. "OwnershipToken": "false"
  2. "OwnershipToken": "false"
  3. "OwnershipToken": ""
  4. "OwnershipToken": ""
  5. "OwnershipToken": "false"
  6. "OwnershipToken": "false"
  7. "OwnershipToken": "false"
  8. "OwnershipToken": "false"
  9. "OwnershipToken": "false"

I don't have pirated games.

ahempi avatar Mar 30 '25 12:03 ahempi

Hmm, yeah, the ones with "OwnershipToken": "" are causing this. Could you tell me which games are these?

loathingKernel avatar Mar 30 '25 12:03 loathingKernel

  1. "BuildLabel": "", "AppCategories": [ "Engine Tools" ], "ChunkDbs": [], "CompatibleApps": [ "UE_5.5" ], "DisplayName": "PCG Layered Biomes"

  2. "BuildLabel": "", "AppCategories": [ "Engine Tools" ], "ChunkDbs": [], "CompatibleApps": [ "UE_5.5" ], "DisplayName": "Niagara UI Renderer"

ahempi avatar Mar 30 '25 13:03 ahempi

Thank you, for now you can delete these faulty files and Rare should start normally.

loathingKernel avatar Mar 30 '25 14:03 loathingKernel

jes no errors. Thanks for the support. you kod make a error message for this problem or something.

ahempi avatar Mar 30 '25 14:03 ahempi

This wasn't meant as a fix, rather a work-around, so will keep the issue open for now until it has been properly fixed.

loathingKernel avatar Mar 30 '25 14:03 loathingKernel

a okaj

ahempi avatar Mar 30 '25 14:03 ahempi