Replies: 1 comment
-
|
I suggest you first read the guide in the doc about how to use Group licnese with docker |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to install an offline license on a device (Docker container).
Everything seems to work fine except for the last step.
Below are the steps I am following, along with the error I get.
Generated pyarmor-device.5 from OFFLINE machine
pyarmor reg -g 5Copied pyarmor-device.5 FROM OFFLINE machine to ONLINE machine
pyarmor-auth pyarmor-device-regfile-XXXX.5.zip
XXXXXXXXXXXXXXXXXX: work path: /root/.pyarmor/docker
XXXXXXXXXXXXXXXXXX: register "pyarmor-device-regfile-XXXX.5.zip"
XXXXXXXXXXXXXXXXXX: machine id in group license: xxxxxxxxxxxxxxxxxxxxxxx
XXXXXXXXXXXXXXXXXX: no machine id matchs this group license
XXXXXXXXXXXXXXXXXX: take this machine as docker container, and connect to docker host for authentication...
XXXXXXXXXXXXXXXXXX: could not get docker host machine id
if this machine is docker container, please run command
pyarmor-authin docker host, and try it againotherwise please generate new group device license for this machine
more information please check section "using group license" in documentation "how-to register" guide
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/bin/pyarmor-auth", line 8, in
sys.exit(main())
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/pyarmor/cli/docker.py", line 151, in main
main_entry()
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/pyarmor/cli/docker.py", line 134, in main_entry
register_pyarmor(ctx, args.regfile[0])
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/pyarmor/cli/docker.py", line 104, in register_pyarmor
reg.register_regfile(regfile)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/pyarmor/cli/register.py", line 306, in register_regfile
self._register_offline_license(f, namelist)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/pyarmor/cli/register.py", line 242, in _register_offline_license
raise CliError('this group device license is not for '
pyarmor.cli.CliError: this group device license is not for this machine
Beta Was this translation helpful? Give feedback.
All reactions