[root@OpenEmm ~]# /home/openemm/bin/OMT.sh
Checking python installation ...
Python version found: 3.8.3 (/home/openemm/opt/python3/bin/python3)
Checking Zip installation ...
Zip version 3.0 found
Starting python ...
/home/openemm/opt/python3/bin/python3: can't open file '/home/openemm/tomcat10/bin/../scripts/OMT.py': [Errno 2] No such file or directory
Please any suggestions
Last edited by Andrey on Tue Jan 31, 2023 3:07 pm, edited 1 time in total.
]$ /home/openemm/opt/python3/bin/python3 OMT.py -debug
Traceback (most recent call last):
File "OMT.py", line 158, in <module>
main()
File "OMT.py", line 81, in main
Environment.init()
File "/home/openemm/tomcat10/bin/EMT_lib/Environment.py", line 154, in init
Environment.readSystemValues()
File "/home/openemm/tomcat10/bin/EMT_lib/Environment.py", line 902, in readSystemValues
License.checkLicenseStatus()
File "/home/openemm/tomcat10/bin/EMT_lib/License.py", line 111, in checkLicenseStatus
maximumNumberOfGuiAdmins = int(License.getLicenseValue("maximumNumberOfGuiAdmins", companyID))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I suppose the
License.getLicenseValue("maximumNumberOfGuiAdmins") returned 'NoneType')
This is some new upcoming license limitation in the EMM.
To let OpenEMM work with this problem please edit your file "openemm.emm.license.xml" in "/home/openemm/webapps/emm/WEB-INF/classes" and add the line with "maximumNumberOfGuiAdmins", so it should look like:
...
<maximumNumberOfSupervisors>-1</maximumNumberOfSupervisors>
<maximumNumberOfGuiAdmins>-1</maximumNumberOfGuiAdmins>
<maximumNumberOfAdmins>-1</maximumNumberOfAdmins>
...
This is only working for OpenEMM beacuse that licensefile is a placeholder for the signed real license file in EMM.
Thank you very much!
Yes, this is work!
Also founded this way of solution, today)
aso wrote: ↑Tue Jan 31, 2023 12:59 pm
This is some new upcoming license limitation in the EMM.
To let OpenEMM work with this problem please edit your file "openemm.emm.license.xml" in "/home/openemm/webapps/emm/WEB-INF/classes" and add the line with "maximumNumberOfGuiAdmins", so it should look like:
...
<maximumNumberOfSupervisors>-1</maximumNumberOfSupervisors>
<maximumNumberOfGuiAdmins>-1</maximumNumberOfGuiAdmins>
<maximumNumberOfAdmins>-1</maximumNumberOfAdmins>