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

ASF error during update #2458

Closed
JustArchi opened this issue Nov 27, 2021 · 2 comments
Closed

ASF error during update #2458

JustArchi opened this issue Nov 27, 2021 · 2 comments
Labels
🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 🟢 Low priority Issues marked with this label are actively being worked on if nothing serious is on the list.

Comments

@JustArchi
Copy link
Member

I thought I would add my logs to the conversation on this - as mine is showing an empty path:

2021-11-26 21:01:57|ArchiSteamFarm-22896|INFO|ASF|InitCore() ArchiSteamFarm V5.2.0.6 (win-x64/ec249a77-c2c0-4a7c-bce7-1f2ddb0bffac | .NET 6.0.0-rtm.21522.10; win10-x64; Microsoft Windows 10.0.19043)
2021-11-26 21:01:57|ArchiSteamFarm-22896|INFO|ASF|InitCore() Copyright © 2015-2021 JustArchiNET
2021-11-26 21:01:58|ArchiSteamFarm-22896|INFO|ASF|InitPlugins() Initializing Plugins...
2021-11-26 21:01:58|ArchiSteamFarm-22896|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.2.0.6...
2021-11-26 21:01:58|ArchiSteamFarm-22896|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2021-11-26 21:01:58|ArchiSteamFarm-22896|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2021-11-26 21:01:58|ArchiSteamFarm-22896|INFO|ASF|Update() Checking for new version...
2021-11-26 21:01:58|ArchiSteamFarm-22896|INFO|ASF|Update() Local version: 5.2.0.6 | Remote version: 5.2.0.7
2021-11-26 21:01:59|ArchiSteamFarm-22896|INFO|ASF|Update() Changes since V5.1.5.3:
[!] ASF V5.2 opens a new major milestone due to significant .NET 6.0 runtime upgrade. .NET runtime upgrade brings a lot of under-the-hood changes, compatibility enhancements, performance improvements, features and bugfixes (@JustArchi @Abrynos #2388).
Breaking: renamed commands bl, ib and iq (with add and rm) to tb, fb and fq, accordingly. This further helps unifying the terms used across ASF (@JustArchi #2368).
Breaking: functions previously marked as obsolete exposed to third-party plugins have been removed from ASF as a part of B release cycle (@JustArchi).
Breaking: ASF will now refuse to run as root user by default. See wiki entry for more details (@JustArchi).
Breaking: removed password command, use encrypt instead (@JustArchi).
ASF's internal codebase has changed dramatically in regards to various .NET 6.0 improvements that we've implemented. While those changes should not cause regressions in regards to previous usage, the scope of them is huge enough to warrant a note in the changelog, as it's far more than just "usual amount of core improvements" (@JustArchi #2446).
ASF will now validate build checksum against independent remote server prior to automatically updating from GitHub, this improves overall security in case of malicious GitHub takeover (@JustArchi #2452).
.NET 6.0 allows further performance tweaking, we've updated high-performance-setup on the wiki to reflect that (@JustArchi).
Added two additional crypto methods for SteamPassword: EnvironmentVariable and File, check out security section for more details (@JustArchi).
Added osx-arm64 variant of ASF for 64-bit ARM-based (Apple silicon) OS X OSes (@JustArchi).
It's now possible to use SOCKS proxies as a WebProxy setting in ASF. Simply use socks5:// (or likewise) protocol (NET 6.0 enhancement).
Latest ASF-ui with new features, improvements and bugfixes (@MrBurrBurr).
Updated localization provided by our community (@JustArchi-ArchiBot).
Usual amount of other core improvements, optimizations and bugfixes (@JustArchi).

2021-11-26 21:01:59|ArchiSteamFarm-22896|INFO|ASF|Update() Downloading new version: 5.2.0.7 (21 MB)... While waiting, consider donating if you appreciate the work being done! :)
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 0%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 10%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 20%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 30%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 40%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 50%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 60%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 70%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 80%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 90%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|DEBUG|ASF|OnProgressChanged() 100%...
2021-11-26 21:01:59|ArchiSteamFarm-22896|INFO|ASF|Update() Verifying checksum of the downloaded binary with ASF's remote server...
2021-11-26 21:02:00|ArchiSteamFarm-22896|INFO|ASF|Update() Patching ASF files...
2021-11-26 21:02:00|ArchiSteamFarm-22896|ERROR|ASF|Update() System.IO.FileLoadException: 
File name: 'System.IO.Pipes, Culture=neutral, PublicKeyToken=null'
 ---> System.ArgumentException: The path is empty. (Parameter 'path')
   at System.IO.Path.GetFullPath(String )
   at System.Reflection.Assembly.LoadFromResolveHandler(Object , ResolveEventArgs )
   at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler , RuntimeAssembly , String )
   at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly , String )
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack , ObjectHandleOnStack , StackCrawlMarkHandle , Boolean , ObjectHandleOnStack , ObjectHandleOnStack )
   at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName , RuntimeAssembly , StackCrawlMark& , Boolean , AssemblyLoadContext )
   at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName , StackCrawlMark& , AssemblyLoadContext )
   at System.Reflection.RuntimeAssembly.InternalLoad(String , StackCrawlMark& , AssemblyLoadContext )
   at System.Reflection.Assembly.Load(String )
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at ArchiSteamFarm.Core.ASF.LoadAssembliesNeededBeforeUpdate()
   at ArchiSteamFarm.Core.ASF.UpdateFromArchive(ZipArchive archive, String targetDirectory)
   at ArchiSteamFarm.Core.ASF.Update(Boolean updateOverride)
   at ArchiSteamFarm.Core.ASF.Update(Boolean updateOverride)
2021-11-26 21:02:00|ArchiSteamFarm-22896|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2021-11-26 21:02:00|ArchiSteamFarm-22896|INFO|ASF|Start() Starting IPC server...
2021-11-26 21:02:00|ArchiSteamFarm-22896|INFO|ASF|Start() IPC server ready!
2021-11-26 21:02:01|ArchiSteamFarm-22896|INFO|ASF|OnASFInit() SteamTokenDumperPlugin has been initialized successfully, thank you in advance for your help. The first submission will happen in approximately 44 minutes from now.
2021-11-26 21:02:01|ArchiSteamFarm-22896|INFO|Cos|Start() Starting...
2021-11-26 21:02:01|ArchiSteamFarm-22896|INFO|Cos|Connect() Connecting...
2021-11-26 21:02:01|ArchiSteamFarm-22896|INFO|Cos|OnConnected() Connected to Steam!
2021-11-26 21:02:01|ArchiSteamFarm-22896|INFO|Cos|OnConnected() Logging in...

Originally posted by @C-O-S in #2457 (comment)

@JustArchi JustArchi changed the title I thought I would add my logs to the conversation on this - as mine is showing an empty path: ASF error during update Nov 27, 2021
@JustArchi
Copy link
Member Author

@C-O-S that's unrelated issue, you should open a new one (like I did) instead of posting in the problem unrelated to yours.

Thanks for report.

@JustArchi JustArchi added ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. 🟢 Low priority Issues marked with this label are actively being worked on if nothing serious is on the list. labels Nov 27, 2021
@JustArchi
Copy link
Member Author

The fix for this will land in V5.2.0.8, which means that you'll likely need to update manually to that release to work it around.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 🟢 Low priority Issues marked with this label are actively being worked on if nothing serious is on the list.
Projects
None yet
Development

No branches or pull requests

1 participant