Mod skipped on Linux due to missing Mod implementation even though it has one
Pathoschild opened this issue · 12 comments
Extended Minecarts 2.6.5 works fine on Windows, but is skipped on Linux and Mac with the following message:
[SMAPI] Skipped 1 mods:
[SMAPI] Extended Minecart 1.6.5 because its DLL has no 'Mod' subclass.
It does have a public Mod
subclass. Reproduced in SMAPI 1.15.1; see attached mod package.
Reported by @JudasComplex#7149
on Discord.
The attached mod package works fine in the latest 2.0 build, so I guess it's fixed?
I still have the same issue.
[SMAPI] SMAPI 2.0-beta.2 with Stardew Valley 1.2.33 on Unix 4.13.4.200
[SMAPI] Mods go here: /home/pablare/.local/share/Steam/steamapps/common/Stardew Valley/Mods
Setting breakpad minidump AppID = 413150
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198050900371 [API loaded no]
Invalid type Entoarox.ExtendedMinecart.ExtendedMinecart for instance field Entoarox.ExtendedMinecart.ExtendedMinecart+<>c__DisplayClass7_0:<>4__this
[SMAPI] Skipped 1 mods:
[SMAPI] Extended Minecart 1.6.5 because its DLL has no 'Mod' subclass.
...
This is the Beta.2 build from the release page, should I try a different build?
Personal notes about your error (you can skip this part):
This line in your log is interesting:
Invalid type Entoarox.ExtendedMinecart.ExtendedMinecart for instance field Entoarox.ExtendedMinecart.ExtendedMinecart+<>c__DisplayClass7_0:<>4__this
That
<>c__DisplayClass7_0
class is created by the compiler to store closure state:// original code // (The lambda references the `item` variable from the parent scope.) foreach(KeyValuePair<string, string> item in DestinationData) { ... Destinations.Add(..., (t, p, m) => AnswerResolver(item.Key))); }// decompiled code // (The compiler creates a temporary class to store the variable used by the lambda.) foreach (KeyValuePair<string, string> item in >Entoarox.ExtendedMinecart.ExtendedMinecart.DestinationData) { <>__DisplayClass7_0 cDisplayClass70 = new <>__DisplayClass7_0(); cDisplayClass70.<>__this = this; cDisplayClass70.item = item; ... Destinations.Add(..., new BaseInteractiveMenuComponent.ClickHandler(cDisplayClass70, >__methodptr(<GameEvents_UpdateTick>b__0)))); }Specifically, this line is failing:
cDisplayClass70.<>__this = this;This seems to be a Mono bug, since I don't see any reason why that line would fail. I'm not sure why you get the error when I don't; the game uses a bundled version of Mono, so we should have the same version.
A few questions:
- Are you using the Extended Minecart file attached to this thread, or did you download it from somewhere else?
- Are you launching the game through Steam, launching SMAPI directly, or using
mono
through the terminal?
I downloaded from this link which seems to be the official source: https://community.playstarbound.com/resources/smapi-extended-minecart.4359/
I started through steam. I'll try out the file attached to this thread and different methods of starting the game.
Using either files makes no different.
I have tried running the StardewModdingAPI.exe through mono, which just crashed the game instantly.
[pablare@localhost Stardew Valley]$ mono StardewModdingAPI.exe
[SMAPI] SMAPI 2.0-beta.2 with Stardew Valley 1.2.33 on Unix 4.13.4.200
[SMAPI] Mods go here: /home/pablare/.local/share/Steam/steamapps/common/Stardew Valley/Mods
Setting breakpad minidump AppID = 413150
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198050900371 [API loaded no]
[SMAPI] The game failed unexpectedly: System.TypeInitializationException: The type initializer for 'StardewValley.SaveGame' threw an exception. ---> System.SystemException: Error running /usr/bin/mcs: Cannot find the specified file
at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00155] in <4060ce79c1104ef2b7adf5c19d399ad4>:0
at Mono.CSharp.CSharpCodeCompiler.CompileFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) [0x0009a] in <4060ce79c1104ef2b7adf5c19d399ad4>:0
at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) [0x00011] in <4060ce79c1104ef2b7adf5c19d399ad4>:0
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) [0x00014] in <4060ce79c1104ef2b7adf5c19d399ad4>:0
at System.Xml.Serialization.Compiler.Compile (System.Reflection.Assembly parent, System.String ns, System.Xml.Serialization.XmlSerializerCompilerParameters xmlParameters, System.Security.Policy.Evidence evidence) [0x0015c] in <93d6495639eb43819fb809eace12c5f7>:0
at System.Xml.Serialization.TempAssembly.GenerateAssembly (System.Xml.Serialization.XmlMapping[] xmlMappings, System.Type[] types, System.String defaultNamespace, System.Security.Policy.Evidence evidence, System.Xml.Serialization.XmlSerializerCompilerParameters parameters, System.Reflection.Assembly assembly, System.Collections.Hashtable assemblies) [0x00524] in <93d6495639eb43819fb809eace12c5f7>:0
at System.Xml.Serialization.TempAssembly..ctor (System.Xml.Serialization.XmlMapping[] xmlMappings, System.Type[] types, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) [0x00087] in <93d6495639eb43819fb809eace12c5f7>:0
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly (System.Xml.Serialization.XmlMapping xmlMapping, System.Type type, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) [0x00000] in <93d6495639eb43819fb809eace12c5f7>:0
at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) [0x0007d] in <93d6495639eb43819fb809eace12c5f7>:0
at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace, System.String location) [0x00000] in <93d6495639eb43819fb809eace12c5f7>:0
at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Type[] extraTypes) [0x00000] in <93d6495639eb43819fb809eace12c5f7>:0
at StardewValley.SaveGame..cctor () [0x001c1] in <f67a9c4e61604d6aa5e63c3bdcd5318b>:0
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00019] in <1c2402ae98774e55934fa5c76199ce71>:0
at Microsoft.Xna.Framework.Game.Tick () [0x000eb] in <1c2402ae98774e55934fa5c76199ce71>:0
at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001c] in <1c2402ae98774e55934fa5c76199ce71>:0
at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00077] in <1c2402ae98774e55934fa5c76199ce71>:0
at Microsoft.Xna.Framework.Game.Run () [0x0000c] in <1c2402ae98774e55934fa5c76199ce71>:0
at StardewModdingAPI.Program.RunInteractively () [0x0025f] in <2208ca1568d34ff79f0dfeac2dcd65c4>:0
[SMAPI] Game has ended. Press any key to exit.
I am not sure what "launching SMAPI directly" means.
I have done that. Sorry this would go faster if I could start the game without playing at least a day.
[pablare@localhost Stardew Valley]$ ./StardewValley
command
/usr/bin/gnome-terminal
Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
Use “-- ” to terminate the options and put the command line to execute after it.
Warning: DESKTOP_STARTUP_ID not set and no fallback available.
[pablare@localhost Stardew Valley]$
The game starts and loads a save file without problem, with the following SMAPI output.
[SMAPI] SMAPI 2.0-beta.2 with Stardew Valley 1.2.33 on Unix 4.13.4.200
[SMAPI] Mods go here: /home/pablare/.local/share/Steam/steamapps/common/Stardew Valley/Mods
Setting breakpad minidump AppID = 413150
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198050900371 [API loaded no]
Invalid type Entoarox.ExtendedMinecart.ExtendedMinecart for instance field Entoarox.ExtendedMinecart.ExtendedMinecart+<>c__DisplayClass7_0:<>4__this
[SMAPI] Skipped 1 mods:
[SMAPI] Extended Minecart 1.6.5 because its DLL has no 'Mod' subclass.
[SMAPI] Loaded 6 mods:
[SMAPI] Automate 1.7 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests.
[SMAPI] Better Ranching 1.5 by Urbanyeti | Prevents failed milk/shear attempts and displays when animals can be milked/sheared and petted.
[SMAPI] NPC Map Locations Mod 1.4.6 by Bouhm | Shows NPC locations on the map
[SMAPI] Part of the Community 1.1.4 by Brandon Marquis Markail Green (Space Baby) | Lets you increase friendship by supporting the community.
[SMAPI] Tractor 4.1 by Pathoschild | Lets you buy a tractor to more efficiently work with crops, clear twigs and rocks, etc.
[SMAPI] Trainer Mod 1.15.4 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
[SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
[SMAPI] A mod failed handling the GameEvents.UpdateTick event:
System.NullReferenceException: Object reference not set to an instance of an object
at NPCMapLocations.MapModMain.GameEvents_UpdateTick (System.Object sender, System.EventArgs e) <0x4210afe0 + 0x007ba> in <filename unknown>:0
at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent (IMonitor monitor, System.String name, IEnumerable`1 handlers, System.Object sender, System.EventArgs args) <0x41ff2000 + 0x001a0> in <filename unknown>:0
[SMAPI] A mod failed handling the GameEvents.UpdateTick event:
System.NullReferenceException: Object reference not set to an instance of an object
at NPCMapLocations.MapModMain.GameEvents_UpdateTick (System.Object sender, System.EventArgs e) <0x4210afe0 + 0x007ba> in <filename unknown>:0
at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent (IMonitor monitor, System.String name, IEnumerable`1 handlers, System.Object sender, System.EventArgs args) <0x41ff2000 + 0x001a0> in <filename unknown>:0
[SMAPI] A mod failed handling the GameEvents.UpdateTick event:
System.NullReferenceException: Object reference not set to an instance of an object
at NPCMapLocations.MapModMain.GameEvents_UpdateTick (System.Object sender, System.EventArgs e) <0x4210afe0 + 0x007ba> in <filename unknown>:0
at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent (IMonitor monitor, System.String name, IEnumerable`1 handlers, System.Object sender, System.EventArgs args) <0x41ff2000 + 0x001a0> in <filename unknown>:0
[SMAPI] A mod failed handling the GameEvents.UpdateTick event:
System.NullReferenceException: Object reference not set to an instance of an object
at NPCMapLocations.MapModMain.GameEvents_UpdateTick (System.Object sender, System.EventArgs e) <0x4210afe0 + 0x007ba> in <filename unknown>:0
at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent (IMonitor monitor, System.String name, IEnumerable`1 handlers, System.Object sender, System.EventArgs args) <0x41ff2000 + 0x001a0> in <filename unknown>:0
[Part of the Community] New Entry: Lewis
[Part of the Community] New Entry: Robin
[Part of the Community] New Entry: Vincent
[Part of the Community] New Entry: Jodi
[Part of the Community] New Entry: Willy
[Part of the Community] New Entry: Elliott
[Part of the Community] New Entry: Alex
[Part of the Community] New Entry: Shane
[Part of the Community] New Entry: Pierre
[Part of the Community] New Entry: Linus
[Part of the Community] New Entry: Clint
[Part of the Community] New Entry: Wizard
[Part of the Community] New Entry: Jas
[Part of the Community] New Entry: Marnie
[Part of the Community] New Entry: Maru
[Part of the Community] New Entry: Harvey
[Part of the Community] New Entry: Caroline
[Part of the Community] New Entry: Penny
[Part of the Community] New Entry: Abigail
[Part of the Community] New Entry: Pam
[Part of the Community] New Entry: Evelyn
[Part of the Community] New Entry: George
[Part of the Community] New Entry: Demetrius
[Part of the Community] New Entry: Haley
[Part of the Community] New Entry: Sam
[Part of the Community] New Entry: Emily
[Part of the Community] New Entry: Gus
[SMAPI] A mod failed handling the TimeEvents.AfterDayStarted event:
StardewModdingAPI.Framework.Exceptions.SContentLoadException: Tractor failed loading content asset 'assets\TractorHouse.png' from ModFolder. ---> System.InvalidOperationException: This image format is not supported ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () <0x4236d8c0 + 0x00153> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Image.InitFromStream (System.IO.Stream stream) <0x4236d580 + 0x000fb> in <filename unknown>:0
at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) <0x4236d450 + 0x0002b> in <filename unknown>:0
at System.Drawing.Image.FromStream (System.IO.Stream stream) <0x4236d430 + 0x0000f> in <filename unknown>:0
at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformFromStream (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.IO.Stream stream) <0x4236cfb0 + 0x0003b> in <filename unknown>:0
at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.IO.Stream stream) <0x4236cf10 + 0x00027> in <filename unknown>:0
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.IO.Stream stream) <0x4236cf10 + 0x0007f> in <filename unknown>:0
at StardewModdingAPI.Framework.ModHelpers.ContentHelper.Load[T] (System.String key, ContentSource source) <0x4236b1f0 + 0x00813> in <filename unknown>:0
--- End of inner exception stack trace ---
at StardewModdingAPI.Framework.ModHelpers.ContentHelper.Load[T] (System.String key, ContentSource source) <0x4236b1f0 + 0x00c07> in <filename unknown>:0
at Pathoschild.Stardew.TractorMod.TractorMod.GetBlueprint () <0x423698b0 + 0x000e5> in <filename unknown>:0
at Pathoschild.Stardew.TractorMod.TractorMod.RestoreCustomData () <0x42367dc0 + 0x000a7> in <filename unknown>:0
at Pathoschild.Stardew.TractorMod.TractorMod.TimeEvents_AfterDayStarted (System.Object sender, System.EventArgs e) <0x42367d20 + 0x0002b> in <filename unknown>:0
at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent (IMonitor monitor, System.String name, IEnumerable`1 handlers, System.Object sender, System.EventArgs args) <0x41ff2000 + 0x001a0> in <filename unknown>:0
[Tractor] Something went wrong checking for a newer version:
System.Net.WebException: Error: TrustFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x4229c2b0 + 0x00107> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x4229c210 + 0x0002b> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x423814f0 + 0x0021b> in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) <0x423d9db0 + 0x000c7> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x423d9980 + 0x00086> in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0x42392cb0 + 0x00153> in <filename unknown>:0
at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (IAsyncResult asyncResult) <0x42392b70 + 0x0003e> in <filename unknown>:0
at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0x4237e980 + 0x00055> in <filename unknown>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) <0x4237e050 + 0x00146> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4213d500 + 0x0019b> in <filename unknown>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x423db170 + 0x00093> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x423de600 + 0x0002b> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x423ddee0 + 0x000cf> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x423ddb90 + 0x00097> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41fea5e0 + 0x0003b> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x423dda70 + 0x00017> in <filename unknown>:0
at Pathoschild.Stardew.Common.UpdateHelper+<GetLatestReleasesAsync>d__0.MoveNext () <0x42367370 + 0x0028b> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x423de600 + 0x0002b> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x423ddee0 + 0x000cf> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x423ddb90 + 0x00097> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41fea5e0 + 0x0003b> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x423deba0 + 0x00017> in <filename unknown>:0
at Pathoschild.Stardew.Common.UpdateHelper+<LogVersionCheckAsync>d__1.MoveNext () <0x42366940 + 0x001e7> in <filename unknown>:0
[Automate] Something went wrong checking for a newer version:
System.Net.WebException: Error: TrustFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x4229c2b0 + 0x00107> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x4229c210 + 0x0002b> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x423814f0 + 0x0021b> in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) <0x423d9db0 + 0x000c7> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x423d9980 + 0x00086> in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0x42392cb0 + 0x00153> in <filename unknown>:0
at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (IAsyncResult asyncResult) <0x42392b70 + 0x0003e> in <filename unknown>:0
at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0x4237e980 + 0x00055> in <filename unknown>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) <0x4237e050 + 0x00146> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4213d500 + 0x0019b> in <filename unknown>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x423db170 + 0x00093> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x423de600 + 0x0002b> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x423ddee0 + 0x000cf> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x423ddb90 + 0x00097> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41fea5e0 + 0x0003b> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x423dda70 + 0x00017> in <filename unknown>:0
at Pathoschild.Stardew.Common.UpdateHelper+<GetLatestReleasesAsync>d__0.MoveNext () <0x4235d9b0 + 0x0028b> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x423de600 + 0x0002b> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x423ddee0 + 0x000cf> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x423ddb90 + 0x00097> in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41fea5e0 + 0x0003b> in <filename unknown>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x423deba0 + 0x00017> in <filename unknown>:0
at Pathoschild.Stardew.Common.UpdateHelper+<LogVersionCheckAsync>d__1.MoveNext () <0x4235caf0 + 0x001e7> in <filename unknown>:0
Can you try installing Mono (ideally mono-complete
)? That should fix your Tractor Mod errors, and might affect the Extended Minecarts error.
I am on Fedora 26. After installing the mono-complete package from the centos repos http://download.mono-project.com/repo/centos/ I no longer get the tractor mod errors. The minecart extended mod still isn't loaded.
Can you post your latest SMAPI log?
Sure:
[00:05:01 INFO SMAPI] SMAPI 2.0-beta.2 with Stardew Valley 1.2.33 on Unix 4.13.4.200
[00:05:01 DEBUG SMAPI] Mods go here: /home/pablare/.local/share/Steam/steamapps/common/Stardew Valley/Mods
[00:05:01 TRACE SMAPI] Log started at 2017-10-13T22:05:01 UTC
[00:05:01 TRACE SMAPI] Overriding content manager...
[00:05:01 TRACE SMAPI] Starting game...
[00:05:07 TRACE SMAPI] Content manager 'Game1.content' disposed, disposing assets that aren't needed by any other asset loader.
[00:05:07 TRACE SMAPI] Invalidated 0 cache entries.
[00:05:10 TRACE SMAPI] Detecting common issues...
[00:05:10 TRACE SMAPI] Loading mod metadata...
[00:05:10 TRACE SMAPI] Loading mods...
[00:05:10 TRACE SMAPI] Loading Automate from Automate/Automate.dll...
[00:05:10 TRACE SMAPI] Rewriting Automate.dll for OS...
[00:05:10 TRACE SMAPI] Loading Better Ranching from BetterRanching/BetterRanching.dll...
[00:05:10 TRACE SMAPI] Rewriting BetterRanching.dll for OS...
[00:05:10 TRACE SMAPI] Loading Extended Minecart from ExtendedMinecart/ExtendedMinecart.dll...
[00:05:10 TRACE SMAPI] Rewriting ExtendedMinecart.dll for OS...
[00:05:10 TRACE SMAPI] Loading NPC Map Locations Mod from NPCMapLocations/NPCMapLocations.dll...
[00:05:10 TRACE SMAPI] Rewriting NPCMapLocations.dll for OS...
[00:05:10 TRACE SMAPI] Rewrote NPCMapLocations.dll to fix StardewValley.Game1.activeClickableMenu field...
[00:05:10 TRACE SMAPI] Rewrote NPCMapLocations.dll to fix StardewValley.Game1.player field...
[00:05:10 TRACE SMAPI] Loading Part of the Community from SB_PotC/PartOfTheCommunity.dll...
[00:05:10 TRACE SMAPI] Rewriting PartOfTheCommunity.dll for OS...
[00:05:11 TRACE SMAPI] Loading Tractor from TractorMod/TractorMod.dll...
[00:05:11 TRACE SMAPI] Rewriting TractorMod.dll for OS...
[00:05:11 TRACE SMAPI] Loading Trainer Mod from TrainerMod/TrainerMod.dll...
[00:05:11 ERROR SMAPI] Skipped 1 mods:
[00:05:11 ERROR SMAPI] Extended Minecart 1.6.5 because its DLL has no 'Mod' subclass.
[00:05:11 INFO SMAPI] Loaded 6 mods:
[00:05:11 INFO SMAPI] Automate 1.7 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests.
[00:05:11 INFO SMAPI] Better Ranching 1.5 by Urbanyeti | Prevents failed milk/shear attempts and displays when animals can be milked/sheared and petted.
[00:05:11 INFO SMAPI] NPC Map Locations Mod 1.4.6 by Bouhm | Shows NPC locations on the map
[00:05:11 INFO SMAPI] Part of the Community 1.1.4 by Brandon Marquis Markail Green (Space Baby) | Lets you increase friendship by supporting the community.
[00:05:11 INFO SMAPI] Tractor 4.1 by Pathoschild | Lets you buy a tractor to more efficiently work with crops, clear twigs and rocks, etc.
[00:05:11 INFO SMAPI] Trainer Mod 1.15.4 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
[00:05:11 INFO SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
[00:05:11 TRACE SMAPI] Context: locale set to en.
[00:05:11 TRACE SMAPI] Checking for SMAPI update...
[00:05:11 TRACE SMAPI] Checking for updates to 5 keys...
[00:05:33 TRACE Console.Out] gameMode was 'titleScreenGameMode (0)', set to 'loadingMode (6)'.
[00:05:33 TRACE Console.Out] getLoadEnumerator('Peter_167139660')
[00:05:35 TRACE Console.Out] gameMode was 'loadingMode (6)', set to 'playingGameMode (3)'.
[00:05:35 TRACE SMAPI] Context: loaded saved game 'Peter_167139660', starting winter 17 Y1.
[00:05:35 INFO Part of the Community] New Entry: Lewis
[00:05:35 INFO Part of the Community] New Entry: Robin
[00:05:35 INFO Part of the Community] New Entry: Vincent
[00:05:35 INFO Part of the Community] New Entry: Jodi
[00:05:35 INFO Part of the Community] New Entry: Willy
[00:05:35 INFO Part of the Community] New Entry: Elliott
[00:05:35 INFO Part of the Community] New Entry: Alex
[00:05:35 INFO Part of the Community] New Entry: Shane
[00:05:35 INFO Part of the Community] New Entry: Pierre
[00:05:35 INFO Part of the Community] New Entry: Linus
[00:05:35 INFO Part of the Community] New Entry: Clint
[00:05:35 INFO Part of the Community] New Entry: Wizard
[00:05:35 INFO Part of the Community] New Entry: Jas
[00:05:35 INFO Part of the Community] New Entry: Marnie
[00:05:35 INFO Part of the Community] New Entry: Maru
[00:05:35 INFO Part of the Community] New Entry: Harvey
[00:05:35 INFO Part of the Community] New Entry: Caroline
[00:05:35 INFO Part of the Community] New Entry: Penny
[00:05:35 INFO Part of the Community] New Entry: Abigail
[00:05:35 INFO Part of the Community] New Entry: Pam
[00:05:35 INFO Part of the Community] New Entry: Evelyn
[00:05:35 INFO Part of the Community] New Entry: George
[00:05:35 INFO Part of the Community] New Entry: Demetrius
[00:05:35 INFO Part of the Community] New Entry: Haley
[00:05:35 INFO Part of the Community] New Entry: Sam
[00:05:35 INFO Part of the Community] New Entry: Emily
[00:05:35 INFO Part of the Community] New Entry: Gus
[00:05:36 TRACE Tractor] Checking for update... none found.
[00:05:36 TRACE Tractor] Checking for update... none found.
[[00:06:23 TRACE Console.Out] TextBox.Selected is now 'True'.
[00:06:23 TRACE Console.Out] TextBox.Selected is now 'False'.
[00:17:26 TRACE SMAPI] Context: before save.
[00:17:39 TRACE SMAPI] Context: after save, starting winter 18 Y1.
The error seems to be a Mono bug, so I don't think SMAPI can do anything about it.
@Entoarox could avoid the issue by not passing item.Key
into the lambda (e.g. by adding a Key
property to the button component), since no closure class would be created in that case. That's up to them, though.