This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP432P401R
Tool/software: Code Composer Studio
Hi,
I am running Arch Linux on my Laptop and tried installing TI Cloud Agent in order to use the CCS Cloud. However it did not work out of the box.
For example, when I tried "Target > Connect to COM port ..." I get prompted to install TI Cloud Agent. I did just that but it still didn't work. Upon investigation I found out that the desktop file that is installed has the following input
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=false Exec=/home/max/TICloudAgent/ticloudagent.bin %u Name=TI Cloud Agent Comment=TI Cloud Agent Categories=Application MimeType=x-scheme-handler/ticloudagent NoDisplay=true
However, when I looked at the install directory I saw the following files
total 40M drwxr-xr-x 2 max max 4,0K 30. Dez 16:29 install_scripts drwxr-xr-x 4 max max 4,0K 30. Dez 16:29 resources drwxr-xr-x 7 max max 4,0K 30. Dez 16:29 src drwxr-xr-x 2 max max 4,0K 30. Dez 16:29 util -rw-r--r-- 1 max max 52 30. Dez 16:29 config.json -rw-r--r-- 1 max max 129K 13. Sep 14:13 eclipse-css-2.ico -rwxr-xr-x 1 max max 1,6K 30. Dez 16:29 install.sh -rwxr-xr-x 1 max max 34M 13. Sep 14:13 node -rw-r--r-- 1 max max 280 30. Dez 16:29 node.bat -rw------- 1 max max 1,7K 30. Dez 16:29 ticloudagent_install.log -rwxr-xr-x 1 max max 1,4K 30. Dez 16:29 ticloudagent.sh -rwx------ 1 max max 6,2M 30. Dez 16:29 uninstall -rw------- 1 max max 19K 30. Dez 16:29 uninstall.dat
Thus I concluded, that the "Exec" parameter in the desktop file was wrong. I changed
Exec=/home/max/TICloudAgent/ticloudagent.bin %u
to
Exec=/home/max/TICloudAgent/ticloudagent.sh %u
and it worked. I suppose this is a bug?
Thanks for any help,
Max
Hi Danish,
thanks for your answer. I'm pretty sure I don't have anything that autogenerates desktop files. The install.sh script that came with the cloud agent installer contains the following lines
typeset DESKTOP_FILE=/usr/share/applications/ticloudagent.desktop pushd `dirname $0` > /dev/null typeset SCRIPTPATH=`pwd` popd > /dev/null if [ "${1}" = "--install" ]; then echo "Install ${DESKTOP_FILE}" #remove the existing file rm -f ${DESKTOP_FILE} printf "[Desktop Entry]\n" >> ${DESKTOP_FILE} printf "Encoding=UTF-8\n" >> ${DESKTOP_FILE} printf "Version=1.0\n" >> ${DESKTOP_FILE} printf "Type=Application\n" >> ${DESKTOP_FILE} printf "Terminal=false\n" >> ${DESKTOP_FILE} printf "Exec=${SCRIPTPATH}/ticloudagent.bin %%u\n" >> ${DESKTOP_FILE} printf "Name=TI Cloud Agent\n" >> ${DESKTOP_FILE} printf "Comment=TI Cloud Agent\n" >> ${DESKTOP_FILE} printf "Categories=Application\n" >> ${DESKTOP_FILE} printf "MimeType=x-scheme-handler/ticloudagent\n" >> ${DESKTOP_FILE} printf "NoDisplay=true\n" >> ${DESKTOP_FILE} update-desktop-database ${SCRIPTPATH}/install_scripts/install_drivers.sh exit 0 fi
To me it seems that this creates the desktop file that is used to launch TICloudAgent.
Max