cancel
Showing results for 
Search instead for 
Did you mean: 

How to install Cube.AI CLI on server

MDirk.1
Associate

I have linux server WITHOUT GUIs. How can I install CubeAI-CLI on that.

The idea is to generate files form Keras model with a python script.

1 ACCEPTED SOLUTION

Accepted Solutions
MDirk.1
Associate

SOLVED: CLI is running on server. Simple use "ssh -X" and install with GUI

View solution in original post

2 REPLIES 2
MDirk.1
Associate

SOLVED: CLI is running on server. Simple use "ssh -X" and install with GUI

PPhil
Associate II

Hi

On a docker image I installed cubeMX and I invoked cubeMX from commandline using the script given below

swmgr refresh
swmgr install  STMicroelectronics.X-CUBE-AI.5.0.0.pack accept
swmgr install  STMicroelectronics.X-CUBE-AI.5.1.2.pack accept
swmgr install  stm32cube_wb_1.7.0 accept
config load TestProject.ioc
project name TinyML
project generate
exit

But when I am running, I am getting the following error.. (Last few lines given)

swmgr install  stm32cube_wb_1.7.0 accept
OK
config load TestProject.ioc
2020-10-09 16:23:18,891 [INFO] MicroXplorer:384 - Change Database Path : 
2020-10-09 16:23:18,893 [INFO] MicroXplorer:414 - Change Database Version : DB.6.0.0
2020-10-09 16:23:18,895 [WARN] ThirdParty:775 - waiting for thirdparty lock release [close project]
2020-10-09 16:23:19,860 [INFO] ThirdPartyDb:299 - Save Third Party DataBase File (/root/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml) [forced]
2020-10-09 16:23:19,994 [INFO] ThirdPartyDb:299 - Save Third Party DataBase File (/root/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml) [forced]
2020-10-09 16:23:20,052 [INFO] IntegrityCheckThread:76 - exiting critical section [integrity check]
2020-10-09 16:23:20,053 [INFO] IntegrityCheckThread:79 - End integrity checks thread
2020-10-09 16:23:20,053 [INFO] ThirdParty:777 - entering critical section [close project]
2020-10-09 16:23:20,057 [INFO] ThirdParty:790 - exiting critical section [close project]
2020-10-09 16:23:20,062 [INFO] PinOutPanel:1418 - setPackage(No Configuration,No Configuration)
2020-10-09 16:23:20,197 [INFO] UtilMem:74 - Begin LoadConfig() Used Memory: 117960960 Bytes (350224384)
2020-10-09 16:23:20,226 [INFO] MicroXplorer:384 - Change Database Path : /root/.stm32cubemx/databases/DB.5.0.60/db/
2020-10-09 16:23:20,227 [INFO] MicroXplorer:414 - Change Database Version : DB.5.0.60

Then nothing is happening. Any suggestions?