ZIP-file error when saving

I’m having a problem with KiCad 9. A lot of times this error pops up

Screenshot 2025-03-03 170458

Saying 'KiCad error ’ / ‘invalid Zip-file’.

I have saved the projects to my google drive folder (might this be the problem?)
And I create new projects on base of old ones (save as… → then delete the schematic-parts I don’t use anymore) this seems to create lot of backup files and folders for all projects. But when I delete them, the error still pops up.

As there is no log-file I can’t give you more information - please tell me if I can check something or provide detailed information.

Release-Information:
Application: KiCad x64 on x64

Version: 9.0.0, release build

Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
libcurl/8.11.1-DEV Schannel zlib/1.3.1

Platform: Windows 11 (Erzeugungsversion 26100), 64-bit Edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2, 4.6.0 NVIDIA 572.16

Build Info:
Date: Feb 19 2025 17:46:53
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.11.1-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON

Locale:
Lang: de_CH
Enc: UTF-8
Num: 1’234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

You can try turning off automatic backups in Preferences → Common. Backups are saved as zip files, so it’s possible it causes some error. You can also try to open some saved backup zips to see if Windows or another zip program can handle them.

1 Like

Thank you, I’ve disabled auto-backup creation. My backed-up-files can be opened so this does not seem to be a problem. I’m going to check if this works and will get back with the results

I’ve had a similar issue with corrupt zip backup-files causing Kicad 9.0 to crash quite often. After disabling the auto-backup the didn’t crash anymore.

Umm… Has anyone reported this issue? Would be great to track it down but without an example file and bug report, it will keep happening (presumably)

I did so this morning.