SMAPI 2.7 Save Backup fails on Ubuntu 18.04
InsaneJ opened this issue ยท 1 comments
Log file shows the following:
[10:02:37 WARN Save Backup] Couldn't back up save files (see log file for details).
[10:02:37 TRACE Save Backup] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Buffers.ArrayPool`1' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.IO.Compression.ZipFile.CreateFromDirectory (System.String sourceDirectoryName, System.String destinationArchiveFileName, CompressionLevel compressionLevel, Boolean includeBaseDirectory) <0x41080bc0 + 0x00053> in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x40d0e0f0 + 0x000a3> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x40d0e0f0 + 0x000fb> in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0x40ed9600 + 0x0002a> in <filename unknown>:0
at StardewModdingAPI.Mods.SaveBackup.ModEntry.CreateBackup (System.IO.DirectoryInfo backupFolder) <0x41080240 + 0x0046f> in <filename unknown>:0
Complete log file:
https://paste2.org/YcsJWUPE
Sorry for the short bug report. I don't have time right now to troubleshoot further and figure out which mod is causing this issue with Save Backup.
Fixed in develop
via ffc009a for the upcoming SMAPI 2.11. If zip fails, it will now default to storing an uncompressed copy of the saves instead.