-
Notifications
You must be signed in to change notification settings - Fork 15
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
RuntimeError: version info string is not terminated by zero #10
Comments
That line is a check that UTF-16-encoded strings in the version info blob are terminated by the U+0000 character. It's a check on the validity of serialization, not on the validity of contents. Versions can end in "0" just fine. |
I keep getting that error and I have no idea how to fix it😅 I am using pe_tools as part of our binary info stamping. The version to be stamped has four fields ('XX.YY.ZZ.PP') |
I can have a look if you link the binary and provide the command line you're using. |
Thank you for the response. Let me ask if that is possible. |
In the meantime, I have added a print in my local copy of pe_tools, and this is what I can see
|
Any idea? |
In the version info parser (this line), it seems that it is not possible for a file to have the last number on the version be anything other than zero, and I was wondering why is that a problem?
The text was updated successfully, but these errors were encountered: