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.

Resource Explorer issue with CCS on Linux & root user



I've just installed the latest CCS 6.2.0.00050 on my Arch Linux x64. I'm having issue with the Resource Explorer only working 1 out of 10 times. I can't seems to narrow down what made it work. One obvious sign that it's not working is that the folder icon is not shown on the left, and some of the product icon is loaded halfway then stop. If I close Resource Explorer and open again, it will say "The connection was refused when attempting to contact localhost:xxxx". I've tried turn on debug log and also run this from console, all seems well, no message from the log indicating any issue. Personally I suspect that a localhost server hosting the Resource Explorer crashed. Closing CSS and open again will go through the same thing, and sometime of out the blue, it works, which I then managed to install at least 1 set of the example and document allowing me to load it using Resource Explorer Classic.
The screenshot below

Aside from that, I had to create a symlink "@ti-rex-content" linking to "~/ti/tirex-content" otherwise it will fail to import the individual example into CSS complaining that a path is not found, which I got the clue as to what symplink to create

As for updating, since it's installed to a non user path "/opt/ti", I had to run with sudo to perform the update. Just wondering if it's recommended to chown the "/opt/ti" folder or it's recommended to use sudo everytime there's an update?

  • Hi,

    Yun Yen Lee said:
    I'm having issue with the Resource Explorer only working 1 out of 10 times. I can't seems to narrow down what made it work. One obvious sign that it's not working is that the folder icon is not shown on the left, and some of the product icon is loaded halfway then stop.

    I haven't experienced that particular set of symptoms, but I suspect there may be something going wrong with either the contents under the directory ~/ti/tirex-localserver/, with proxy settings (if you are behind a proxy) or with the firewall settings in your host or the hosts file (which prevents a reliable connection to the localhost). The tirex-localserver is automatically generated when the Resource Explorer is launched, thus you can rename the directory and see if anything changes. I would check the instructions of your distro on how to properly set the other settings. 

    Yun Yen Lee said:
    As for updating, since it's installed to a non user path "/opt/ti", I had to run with sudo to perform the update. Just wondering if it's recommended to chown the "/opt/ti" folder or it's recommended to use sudo everytime there's an update?

    As a general statement: if you installed CCS as a superuser you will need to update it using superuser privileges. 

    I provide a few tips on how to improve the experience of CCS when it is installed with superuser privileges:

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/540011/1976051#1976051 

    Hope this helps,

    Rafael

  • Thanks Rafael. I resort to chown the /opt/ti folder.

    After that on first run, it complaint that it can't access the workspace folder (which default to inside /root) and correcting that the Resource Explorer started fine. But after I close it and reopen, it's back to it's usual half loaded state. Run it with superuser and back to normal user seems to trigger the Resource Explorer working again. I'll test further to share my findings.

    Btw, I've also acquired a copy of TMDSCCS-ALLN01D, but I can't find anywhere to key in the license key. The UI is slightly diff from what is shown in the CCS Wiki. Anyway idea?

  • Hi,

    When this problem occurs, does pressing the home button on Resource Explorer toolbar corrects the problem? Can you send us the latest error log file located in <user folder>/ti/tirex-localserver/.logs-2016-11-xx.log.

    Thanks,
    Imtaz.
  • Hi,

    >>Btw, I've also acquired a copy of TMDSCCS-ALLN01D, but I can't find anywhere to key in the license key. The UI is slightly diff from what is shown in the CCS Wiki. Anyway idea?
    Please check the thread below:
    e2e.ti.com/.../1998706

    Hope this helps,
    Rafael