Closed smart0313 closed 6 months ago
(workwechat) D:\project\rpa-workwechat\jcszfwRobot\Mass_messaging_Project>pyarmor reg -g 2
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86_64
INFO generating device file ".pyarmor\group\pyarmor-group-device.2"
INFO current machine id is "mb391ca193ea260e9926d8ac6cc602a2c"
INFO device file has been generated successfully
(workwechat) D:\project\rpa-workwechat\jcszfwRobot\Mass_messaging_Project>pyarmor reg -g 2 pyarmor-regfile-6219.zip
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86_64
INFO register device file ".pyarmor\group\pyarmor-group-device.2"
INFO use group license "pyarmor-regfile-6219.zip"
INFO send request to server
INFO write registration file "pyarmor-device-regfile-6219.2.zip"
INFO please copy deivce regfile to offline device and run
INFO pyarmor reg pyarmor-device-regfile-6219.2.zip
INFO The device regfile has been generated successfully
(workwechat) D:\project\rpa-workwechat\jcszfwRobot\Mass_messaging_Project>pyarmor reg pyarmor-device-regfile-6219.2.zip
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86_64
INFO register "pyarmor-device-regfile-6219.2.zip"
INFO machine id in group license: mb391ca193ea260e9926d8ac6cc602a2c
INFO got machine id: mb391ca193ea260e9926d8ac6cc602a2c
INFO this machine id matchs group license
INFO This license registration information:
License Type : pyarmor-group
License No. : pyarmor-vax-006219
License To :xxx有限公司
License Product :yyy
BCC Mode : Yes
RFT Mode : Yes
Notes
* Offline obfuscation
(workwechat) D:\project\rpa-workwechat\jcszfwRobot\Mass_messaging_Project>pyarmor -v
Pyarmor 8.5.0 (group), 006219, jcszfwRPA
License Type : pyarmor-group
License No. : pyarmor-vax-006219
License To : xxx有限公司
License Product : yyy
BCC Mode : Yes
RFT Mode : Yes
Notes
* Offline obfuscation
(workwechat) D:\project\rpa-workwechat\jcszfwRobot\Mass_messaging_Project>cd ..
(workwechat) D:\project\rpa-workwechat\jcszfwRobot>cd demo
(workwechat) D:\project\rpa-workwechat\jcszfwRobot\demo>pyarmor gen foo.py
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (group), 006219, jcszfwRPA
INFO Platform windows.x86_64
INFO search inputs ...
INFO find script foo.py
INFO find 1 top resources
INFO start to generate runtime files
INFO target platforms {'windows.amd64'}
INFO write dist\pyarmor_runtime_006219\pyarmor_runtime.pyd
INFO generate runtime files OK
INFO start to obfuscate scripts
INFO process resource "foo"
INFO obfuscating file foo.py
INFO write dist\foo.py
INFO obfuscate scripts OK
以上在win10x64物理机正常,在win7sp1_x86却始终无法注册,希望尽快帮助我解决这个问题
windows.x86 上面的这条日志有问题
INFO current machine id is "abd23d6c7de1eab05bebf9753f7ceae5e"
最新版本的 machine id 应该是 m
开头的,而不是 a
,以 a
开头的 machine id 是无法在集团版中使用的。
查看一下是否修改了默认配置
pyarmor cfg group_device_flag
如果不是 22 就有问题,恢复默认设置应该就没有问题
C:\workspace\pyarmor_demo>pyarmor cfg group_device_flag
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
------------------------------------------------------------
Section: builder
Current settings
group_device_flag = 22
Global settings
Local settings
C:\workspace\pyarmor_demo>
配置为22,接下来该如何处理?
我的看代码是怎么回事了,:(
好的,期待你的回复!
我刚刚测试了一下,是好着的呢,在我的虚拟机上打印的是 m
$ c:/Python37-32/python -m pyarmor.cli reg -g 1
INFO Python 3.7.7
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
INFO generating device file ".pyarmor\group\pyarmor-group-device.1"
INFO current machine id is "m3275bb1a8e9376d969c494a7f4ede3fb"
INFO device file has been generated successfully
请确认一下安装的 pyarmor.cli.core
中扩展模块是正确的?
$ md5sum pyarmor/cli/core/pytransform3.pyd
104141837788ee7578d880005559cf72 *pyarmor/cli/core/pytransform3.pyd
Installing collected packages: pyarmor.cli.core, pyarmor
Successfully installed pyarmor-8.5.0 pyarmor.cli.core-6.5.0
C:\workspace\rpa-workwechat>pyarmor reg -g 5
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
ERROR unsupported arch "x86"
ERROR somthing is wrong
*===========================================================*
* Please check *
* https://pyarmor.readthedocs.io/en/latest/questions.html*
* or run `pyarmor man` to find solutions quickly *
* *
* It's recommand to report issue by `pyarmor man` in order *
* to provide necessary information, and avoid dupcliated *
* issues or unclear question. *
*===========================================================*
C:\workspace\rpa-workwechat>pyarmor reg -g 5
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
INFO generating device file ".pyarmor\group\pyarmor-group-device.5"
INFO current machine id is "mc155626e5573034e100d736d58983c1e"
INFO device file has been generated successfully
C:\workspace\rpa-workwechat>pyarmor reg -g 5 pyarmor-regfile-6219.zip
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
INFO register device file ".pyarmor\group\pyarmor-group-device.5"
INFO use group license "pyarmor-regfile-6219.zip"
INFO send request to server
INFO write registration file "pyarmor-device-regfile-6219.5.zip"
INFO please copy deivce regfile to offline device and run
INFO pyarmor reg pyarmor-device-regfile-6219.5.zip
INFO The device regfile has been generated successfully
C:\workspace\rpa-workwechat>pyarmor reg pyarmor-device-regfile-6219.5.zip
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
INFO register "pyarmor-device-regfile-6219.5.zip"
INFO machine id in group license: mc155626e5573034e100d736d58983c1e
INFO got machine id: mc155626e5573034e100d736d58983c1e
INFO this machine id matchs group license
INFO This license registration information:
License Type : pyarmor-group
License No. : pyarmor-vax-006219
License To : xxx有限公司
License Product :yyy
BCC Mode : Yes
RFT Mode : Yes
Notes
* Offline obfuscation
C:\workspace\rpa-workwechat>pyarmor -v
Pyarmor 8.5.0 (group), 006219, jcszfwRPA
License Type : pyarmor-group
License No. : pyarmor-vax-006219
License To : xxx有限公司
License Product :yyy
BCC Mode : Yes
RFT Mode : Yes
Notes
* Offline obfuscation
*
C:\workspace\rpa-workwechat>cd ..
C:\workspace>cd pyarmor_demo
C:\workspace\pyarmor_demo>pyarmor gen foo.py
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (group), 006219, yyy
INFO Platform windows.x86
INFO search inputs ...
INFO find script foo.py
INFO find 1 top resources
ERROR request license token failed (3): <h1>Server Error (500)</h1>
ERROR somthing is wrong
*===========================================================*
* Please check *
* https://pyarmor.readthedocs.io/en/latest/questions.html*
* or run `pyarmor man` to find solutions quickly *
* *
* It's recommand to report issue by `pyarmor man` in order *
* to provide necessary information, and avoid dupcliated *
* issues or unclear question. *
*===========================================================*
request license token failed (3): <h1>Server Error (500)</h1>
C:\workspace\pyarmor_demo>python -m pyarmor.cli reg -g 5
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
INFO generating device file ".pyarmor\group\pyarmor-group-device.5"
INFO current machine id is "mc155626e5573034e100d736d58983c1e"
INFO device file has been generated successfully
C:\workspace\pyarmor_demo>pyarmor cfg group_device_flag
INFO Python 3.7.4
INFO Pyarmor 8.5.0 (trial), 000000, non-profits
INFO Platform windows.x86
------------------------------------------------------------
Section: builder
Current settings
group_device_flag = 22
Global settings
Local settings
问题还是存在
pyarmor信息
系统
按照文档完成注册步骤
生成组设备文件
生成离线设备注册文件
离线设备注册
License Type : pyarmor-group License No. : pyarmor-vax-006219 License To : xxx公司 License Product : xxxRPA
BCC Mode : Yes RFT Mode : Yes
Notes
查看注册信息
License Type : pyarmor-group License No. : pyarmor-vax-006219 License To : xxx限公司 License Product : xxx
BCC Mode : Yes RFT Mode : Yes
Notes
加密脚本
再次查看注册信息时,未注册状态
>执行C:\workspace\rpa-workwechat>pyarmor -v
输出的日志pyarmor.error.log:
请问这种该如何解决?