Skip to content
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

Does fbs support obfuscation using pyarmor? #245

Open
proficy opened this issue Sep 5, 2021 · 2 comments
Open

Does fbs support obfuscation using pyarmor? #245

proficy opened this issue Sep 5, 2021 · 2 comments

Comments

@proficy
Copy link

proficy commented Sep 5, 2021

I have a main.py script that does use ApplicationContext that works fine using both fbs run and fbs freeze. If I run pyarmor obfuscate main.py and move the files and replace the output to the python folder after removing the original main.py the code will run using fbs run but will throw the following error when run through the executable produced by fbs freeze --debug:

ModuleNotFoundError: No module named 'fbs_runtime'
[18140] Failed to execute script fbs_pyinstaller_hook
  • Your operating system(s): Windows 10
  • Your Python version (Must be 3.5 or 3.6 because you followed the above instructions.): 3.6.8
  • Your fbs version: fbs==0.9.9
  • Your PyInstaller version: PyInstaller==3.4
  • Your PyQt5 / PySide2 version: PyQt5==5.15.4

I am planning on purchasing fbs pro soon.

@mherrmann
Copy link
Owner

I don't know exactly what happened in the pyarmor obfuscate main.py call, and which files it affected. The PyQt5 version seems high to me. The free version of fbs (which you are using) was tested with 5.9.3 not 5.15.4. Pro supports the later version. Other than that, I can't give an additional hint I'm afraid.

@proficy
Copy link
Author

proficy commented Sep 6, 2021

Thanks @mherrmann! Let me purchase the pro version and test it out. If it doesn't work I'll throw together a simple example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants