[2.0.18] Writing in the zip failed: No Error

Bugs that are actually features.
Novalith
Inserter
Inserter
Posts: 26
Joined: Wed Sep 06, 2017 10:24 am
Contact:

[2.0.18] Writing in the zip failed: No Error

Post by Novalith »

The game tried to autosave and I got the Cannot save map: Writing in the zip failed: No Error message.
I then tried to save the map myself to see if it was a temporary bug, that got me the same error.
After the manual save failed I attempted to change surfaces to see if something reset.
That fixed the problem and I was able to save.

Hope this is helpful.
Attachments
factorio-previous.log
Log after success
(850.83 KiB) Downloaded 33 times
factorio-dump-previous.dmp
Log after success
(645.5 KiB) Downloaded 27 times
factorio-current.log
Log after success
(112.47 KiB) Downloaded 27 times
Bugged Stuff 3.zip
Save after changing to space.
(30.39 MiB) Downloaded 30 times
_autosave2.zip
Last effective save.
(30.56 MiB) Downloaded 36 times
factorio-previous.log
This is just after manual save.
(850.83 KiB) Downloaded 26 times
factorio-dump-previous.dmp
This is just after manual save.
(645.5 KiB) Downloaded 26 times
factorio-current.log
This is just after manual save.
(109.95 KiB) Downloaded 30 times
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 205
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.18] Writing in the zip failed: No Error

Post by LCStark »

I've only seen this error when the game couldn't save due to being out of storage space on the target drive. Is it possible your drive was full and something freed enough space for the save to happen?
Novalith
Inserter
Inserter
Posts: 26
Joined: Wed Sep 06, 2017 10:24 am
Contact:

Re: [2.0.18] Writing in the zip failed: No Error

Post by Novalith »

Not at all. I have over 100 GB free. Also IIRC the one that is for space actually mentions that in the error.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15773
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.18] Writing in the zip failed: No Error

Post by Rseding91 »

Do you have any way to reproduce this? The zip library we use is not super useful about why things fail - it just returns a "failed" value when calling write and doesn't give the actual error reason a lot of the time (which is why you see "failed: no error")
If you want to get ahold of me I'm almost always on Discord.
Novalith
Inserter
Inserter
Posts: 26
Joined: Wed Sep 06, 2017 10:24 am
Contact:

Re: [2.0.18] Writing in the zip failed: No Error

Post by Novalith »

Not really. I did get it to happen again by walking away from my computer and letting it run. I was able to snag the next to last autosave before the error appeared. Game was running for approx 14-16 hours? If I can figure out a way to reliably reproduce I will let you know, but it seems to be after letting the game sit. When I came back to it this last time my platform was being destroyed by asteroids due to poor design.

Next to last autosave was at 5:03 PM, I came down in the morning to failed saves at 8:30 am.
Attachments
_autosave1.zip
(30.21 MiB) Downloaded 34 times
Novalith
Inserter
Inserter
Posts: 26
Joined: Wed Sep 06, 2017 10:24 am
Contact:

Re: [2.0.18] Writing in the zip failed: No Error

Post by Novalith »

I figured out what was causing the error. Another program ate my hard drive space. It seems that if the hard drive space is small enough it can't get to the point where it can actually attempt to save the constructed zip. My guess is that it needs a little space to do that and when it doesn't have the space you get the error. Let me know if this helps.
Post Reply

Return to “Not a bug”