tpill90 / epic-lancache-prefill

CLI tool to automatically prime a Lancache with Epic Launcher games
https://tpill90.github.io/epic-lancache-prefill/
MIT License
45 stars 4 forks source link

System.InvalidOperationException: Sequence contains no matching element #30

Closed billthecatt closed 2 months ago

billthecatt commented 1 year ago

Describe the bug When I run EpicPrefill prefill -f I get the error: "System.InvalidOperationException: Sequence contains no matching element"

Additional Details

Screenshots user1@lancache:~/EpicPrefill$ ./update.sh Checking for latest version Found latest version : 1.1.1 Downloading... EpicPrefill-1.1.1-linux-x64.zip 100%[======================================================================================================================>] 12.67M --.-KB/s in 0.1s Unzipping... Complete! user1@lancache:~/EpicPrefill$ ./EpicPrefill clear-cache [10:25:49 AM] Found 3 cached files, totaling 2.61 MiB [10:25:50 AM] Done! user1@lancache:~/EpicPrefill$ ./EpicPrefill prefill -f [10:26:06 AM] Reusing existing auth session... [10:26:06 AM] Retrieving owned apps [10:26:10 AM] Loaded new app metadata for 16 apps [10:26:10 AM] Retrieved 16 apps 03.7645

[10:26:10 AM] Starting Satisfactory Early Access [10:26:10 AM] Downloaded manifest 00.0498 [10:26:11 AM] Downloading 9.02 GiB [10:26:11 AM] Detected Lancache server at localhost [127.0.0.1] [10:26:17 AM] Finished in 06.3728 - 12.15 Gbit/s

[10:26:17 AM] Starting Satisfactory Experimental [10:26:17 AM] Downloaded manifest 00.0437 [10:26:17 AM] Downloading 9.02 GiB [10:26:23 AM] Finished in 05.9489 - 13.02 Gbit/s

ERROR System.InvalidOperationException: Sequence contains no matching element at System.Linq.ThrowHelper.ThrowNoMatchException() at System.Linq.Enumerable.First[TSource](IEnumerable1 , Func2 ) at EpicPrefill.EpicGamesManager.DownloadMultipleAppsAsync(Boolean downloadAllOwnedGames, List1 manualIds) at EpicPrefill.CliCommands.PrefillCommand.ExecuteAsync(IConsole console) at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in /D:\a\CliFx\CliFx\CliFx\CliApplication.cs:147 at CliFx.CliApplication.RunAsync(IReadOnlyList1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables) in /D:\a\CliFx\CliFx\CliFx\CliApplication.cs:191 user1@lancache:~/EpicPrefill$

Hamsterman commented 1 year ago

I got the same error - but on a fresh install.

Hamsterman commented 1 year ago

I got the same error - but on a fresh install.

Not the same error - I just didn't have any games on the account

tpill90 commented 1 year ago

I got the same error - but on a fresh install.

Not the same error - I just didn't have any games on the account

Added a check to make sure that at least 1 game is installed as part of this issue https://github.com/tpill90/epic-lancache-prefill/issues/40

tpill90 commented 4 months ago

@billthecatt I know its been a year since you opened this, but have you seen this pop up since?

tpill90 commented 2 months ago

Closed since its been over a year since this was opened, and I haven't received any additional info. Please feel free to reopen if it happens again.