chr233 / ASFEnhance

ASF 扩展命令插件 / External commands for ASF
GNU Affero General Public License v3.0
516 stars 41 forks source link

2.0.15.0 error #225

Closed Botan626 closed 8 months ago

Botan626 commented 8 months ago

Again lots of files in zip! image

and ASF error after update: 2024-03-08 17:41:15|ArchiSteamFarm-1|INFO|ASF|Update() Local version: 5.5.3.4 | Remote version: 6.0.0.3 2024-03-08 17:41:15|ArchiSteamFarm-1|INFO|ASF|Update() New ASF version is available! Consider updating yourself! 2024-03-08 17:41:20|ArchiSteamFarm-1|ERROR|ASF|LoadAssembliesFrom() C:\ASF\TargetDirectory\plugins\System.Composition.AttributedModel.dll is invalid! 2024-03-08 17:41:20|ArchiSteamFarm-1|WARN|ASF|LoadAssembliesFrom() System.IO.FileLoadException: 0x80131621 at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr, UInt16*, UInt16*, ObjectHandleOnStack) at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr, String, String, ObjectHandleOnStack) at System.Runtime.Loader.AssemblyLoadContext.InternalLoadFromPath(String, String) at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String) at System.Reflection.Assembly.LoadFrom(String) at ArchiSteamFarm.Plugins.PluginsCore.LoadAssembliesFrom(String path)

chr233 commented 8 months ago

delete lib dlls may help

Msearla commented 8 months ago

我使用最新版asfV6.0.0.3时也遇到了报错,与之类似,是否最新版asfe2.0.15.0并不支持asf6.0.0.3

chr233 commented 8 months ago

我使用最新版asfV6.0.0.3时也遇到了报错,与之类似,是否最新版asfe2.0.15.0并不支持asf6.0.0.3

6.0.0.x请使用2.1.0.0

chr233 commented 8 months ago

我使用最新版asfV6.0.0.3时也遇到了报错,与之类似,是否最新版asfe2.0.15.0并不支持asf6.0.0.3

6.0.0.x请使用2.1.0.0

2.1.0.0 中不包含最近2个版本中更新的购物车功能,得等我出院了才能更新,明天要住院动手术

guihkx commented 8 months ago

Disregard this post. I translated your post and I now understand that only ASFEnhance 2.1.x will work with ASF 6.x.

Sorry.

chr233 commented 8 months ago

use 2.1.1.0, now ASFEnhance support 6.0.0.3

guihkx commented 8 months ago

I'm getting an error with ASFE 2.1.1.0 and ASF 6.0.0.3 (don't know how important it is):

2024-03-10 02:58:45|ArchiSteamFarm-12798|INFO|ASF|InitCore() ArchiSteamFarm V6.0.0.3 (linux-x64/11ca978d6242445fa33dcce561264a47 | .NET 8.0.2; linux-x64; Arch Linux) in [/home/gui/.config/asf]
2024-03-10 02:58:45|ArchiSteamFarm-12798|INFO|ASF|InitCore() Copyright © 2015-2024 JustArchiNET
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() Initializing Plugins...
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() Loading ASFEnhance V2.1.1.0...
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() ASFEnhance has been loaded successfully!
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V6.0.0.3...
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V6.0.0.3...
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2024-03-10 02:58:56|ArchiSteamFarm-12798|INFO|ASF|OnASFInit() 
==========================================================================
 █████╗ ███████╗███████╗███████╗███╗   ██╗██╗  ██╗ █████╗ ███╗   ██╗ ██████╗███████╗
██╔══██╗██╔════╝██╔════╝██╔════╝████╗  ██║██║  ██║██╔══██╗████╗  ██║██╔════╝██╔════╝
███████║███████╗█████╗  █████╗  ██╔██╗ ██║███████║███████║██╔██╗ ██║██║     █████╗  
██╔══██║╚════██║██╔══╝  ██╔══╝  ██║╚██╗██║██╔══██║██╔══██║██║╚██╗██║██║     ██╔══╝  
██║  ██║███████║██║     ███████╗██║ ╚████║██║  ██║██║  ██║██║ ╚████║╚██████╗███████╗
╚═╝  ╚═╝╚══════╝╚═╝     ╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝╚══════╝
==========================================================================
ASFEnhance Version 2.1.1.0
Developed by Chr_, email chr@chrxw.com
Donate: https://afdian.net/@chr233
==========================================================================
未加载外部模块
==========================================================================
使用 "PLUGINVERSION [插件名]" / "PV [插件名]" 检查插件可用更新
使用 "PLUGINUPDATE [插件名]" / "PU [插件名]"  自动更新指定插件
不指定插件名时, 可为所有支持的插件检查更新 / 安装更新
==========================================================================

2024-03-10 02:58:56|ArchiSteamFarm-12798|ERROR|ASF|OnASFInitModules() System.TypeInitializationException: The type initializer for 'ASFEnhance.Utils' threw an exception.
 ---> System.MissingMethodException: Method not found: 'Void System.Text.Json.JsonSerializerOptions.set_NumberHandling(System.Text.Json.Serialization.JsonNumberHandling)'.
   --- End of inner exception stack trace ---
   at ASFEnhance.Utils.set_Config(PluginConfig value)
   at ASFEnhance.ASFEnhance.OnASFInit(IReadOnlyDictionary`2 additionalConfigProperties)
   at ArchiSteamFarm.Plugins.PluginsCore.<>c__DisplayClass12_0.<OnASFInitModules>b__0(IASF plugin)
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at System.Threading.Tasks.Task.WhenAll(IEnumerable`1)
   at ArchiSteamFarm.Core.Utilities.InParallel(IEnumerable`1 tasks)
   at ArchiSteamFarm.Plugins.PluginsCore.OnASFInitModules(IReadOnlyDictionary`2 additionalConfigProperties)

EDIT: Fixed in 2.1.1.1.