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

SMAPI 2.7 Save Backup fails on Ubuntu 18.04 #596

Closed
InsaneJ opened this issue Oct 14, 2018 · 1 comment
Closed

SMAPI 2.7 Save Backup fails on Ubuntu 18.04 #596

InsaneJ opened this issue Oct 14, 2018 · 1 comment
Assignees
Labels
bug This is an unintended error or behavior that can be addressed with specific development changes.
Milestone

Comments

@InsaneJ
Copy link

InsaneJ commented Oct 14, 2018

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.

@Pathoschild Pathoschild self-assigned this Jan 21, 2019
@Pathoschild Pathoschild added the bug This is an unintended error or behavior that can be addressed with specific development changes. label Jan 21, 2019
@Pathoschild Pathoschild added this to the 2.11 milestone Jan 21, 2019
@Pathoschild
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is an unintended error or behavior that can be addressed with specific development changes.
Projects
None yet
Development

No branches or pull requests

2 participants