dashingsoft / pyarmor

A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
http://pyarmor.dashingsoft.com
Other
3.28k stars 279 forks source link

Not able to generate any obfuscated scripts #1695

Closed YouCantCMe closed 7 months ago

YouCantCMe commented 7 months ago

I can not generate any obfuscated scripts due to an error. I've tried reinstalling python and pyarmor to no avail. Not sure if this is an issue with pyarmor or my system.

foo.py source:

print("Hello world")

Console log:

C:\Users\Owner\Documents\Projects\SecurityTesting>pyarmor -d gen foo.py
INFO     Python 3.11.6
INFO     Pyarmor 8.4.7 (trial), 000000, non-profits
INFO     Platform windows.x86_64
DEBUG    native platform windows.amd64
DEBUG    home path: C:\Users\Owner\.pyarmor
DEBUG    command options: {'no_runtime': False, 'inputs': ['foo.py']}
DEBUG    install plugin: CodesignPlugin
DEBUG    install plugin: DarwinUniversalPlugin
INFO     search inputs ...
INFO     find script foo.py
INFO     find 1 top resources
DEBUG    unknown error, please check pyarmor.error.log
ERROR    argument of type 'NoneType' is not iterable

Error log:

pyarmor.error.log

Thanks!

jondy commented 7 months ago

It seems there is local or global configuration, please remove the directory .pyarmor/ in the current path