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
[BUG] Bug while packing with --mix-str #908
Comments
What's line 202 of "Script.py"? |
Line 202 is in the "check_ntp_time" plugin I guess.
So even If I removed the option
And the line 3 in Script.py is |
The problem is not in my code. Even with the following command the same error still persist
And still. I get the same error Whenever I run the script after a successful Obfuscation:
|
Which pyarmor version is used? I can't reproduce it in the latest version 7.7.4 |
I am using PyArmor Version 7.7.4 |
Python version used is Python 3.10.8 |
Reproduced, it will be fixed with next major version 8.0 |
This patch e9b10f0 is a quick workaroud: |
Here it's a simple release plan Here it's how pyarmor to find c compiler, check it to find the solution |
Thanks! You were truly helpful. The script used:
I tried removing |
Removing |
Hey @jondy this problem still persists. Such script would not work
|
What's the error message? |
I get no errors, the script just exits. Edit: If I removed |
@jondy hello? |
I'll fix 7.x bug later. This will be fixed in 8.1 |
After packing with the following command
pyarmor pack --with-license licenses\new\license.lic -x " --mix-str --advanced 1 --plugin check_ntp_time" -e " --onefile --icon icon.ico" Script.py
After packing successfully. I encounter the following error when running the obfuscated script
Note The problem will stay the same even if I waited for the script to be packed using pyinstaller.
Note that: If I removed the
--mix-str
option the code will run with no problems at all after packing.I have implemented these lines at the beginning of my code
Any help?
The text was updated successfully, but these errors were encountered: