-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
OnPersonaState() System.InvalidOperationException: descriptions is empty! #3171
Comments
Longer log file to show how often the error is thrown. |
ASF version
Is not accurate information as per logs you are on pre-release. |
@C-O-S thanks for report, please wait a few minutes for CI to build a test release for you, then grab it from https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8391712122 I'd appreciate if you could let me know if this build fixes the issue for you. Since the root cause of this is not easy to reproduce on our side, the objective is to find a value low enough for you to work. Thanks in advance! |
Sorry about that - I initially tried to put a longer log file in and it balked at the size and reset some of the selected options. I didn't catch that one. |
Still seems to be tossing the error at this point. |
@C-O-S thanks, please check out https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392158735 in another 10 minutes or so, then let me know 🙂 |
Still generating errors for some reason. |
Thanks, last two builds left, next one: https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392521797 🙂 |
@JustArchi - Again, sorry to report that the error is still presenting itself. Wish there was more I could do to help address this. |
Thanks, despite best efforts it seems impossible for ASF to fetch more items than 5k for your inventory, which means that our experimental approach that landed in last pre-release still needs to be artificially limited to the limits we had before. Feel free to confirm with https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392756395 that it works for you now, I don't expect any problems anymore (please let me know if I'm wrong). Thanks again for extensive testing and reporting this issue 🙂. You can keep using this version, it'll automatically update as per your release channel. |
@JustArchi - Confirming that with https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392756395 - The errors are no longer thrown in the console logs. This appears to be resolved at this point. |
New method randomly returns an empty inventory which is something the old method never did
Checklist
ASF version
Latest pre-release
ASF variant
win-x64
Bug description
Through the last few patch updates this error has persisted:
[09:22:49] ERROR Cos > OnPersonaState() System.InvalidOperationException: descriptions is empty! at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+MoveNext() at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable
1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36at System.Linq.AsyncEnumerable.g__Core|424_0[TSource](IAsyncEnumerable
1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36 at ArchiSteamFarm.OfficialPlugins.ItemsMatcher.RemoteCommunication.OnPersonaState(String nickname, String avatarHash)
Expected behavior
That normal processing would occur, with this error being trapped in a way that doesn't generate this behavior.
Actual behavior
Error is exhibited - filling up the console screen periodically.
Steps to reproduce
Start ASF normally
Possible reason/solution
This behavior only manifested recently - so I would surmise that some of the recent changes produced introduced it.
Can you help us with this bug report?
Testing
Full log.txt recorded during reproducing the problem
Global ASF.json config file
BotName.json config of all affected bot instances
Additional info
No response
The text was updated successfully, but these errors were encountered: