Page 1 of 1

Package creation Bad magic number for file header wapt 1.7.3.5

Published: May 12, 2019 - 6:22 PM
by megaouf
Hello,

I'm having trouble creating a 2GB Visual Studio package. During the build process, right after signing, I get the following error: "Bad magic number for file header".

While searching, I found this discussion:
viewtopic.php?f=9&t=1105&hilit=bad+magic+number.

I've tried the following:
- commenting out the instruction in the WAPT code that cleans up if the signing fails; I extracted the package using 7-Zip, but I'm getting errors with the "Header error:..." problem;
- changing the custom_zip.py file, but that didn't help either.

- WAPT version installed: 1.7.3.5
- Server OS: Linux, version Debian Stretch 9.8
- Administration/package creation machine OS: Windows 10 1809
- Disk space: 70% free.

Thank you in advance for your help.

Re: Creating package Bad magic number for file header wapt 1.7.3.5

Published: May 24, 2019 - 1:16 PM
by sfonteneau
Can you try with the latest version of wapt?