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.

CCS Cloud - Could not launch TI Cloud Agent

Other Parts Discussed in Thread: ENERGIA

I'm using OS X 10.11.1 and Safari 9.0.1.

I've downloaded and installed the TICloudAgent Bridge 2.3 extension and confirmed that it's enabled. I downloaded and ran the installer for what is called the "TI Cloud Agent Application". I relaunched Safari and even rebooted my MacBook Pro, but when I try to run an Energia sketch (the basic blink example) after the build succeeds I get a poorly-punctuated pop-up stating:

Could not launch TI Cloud Agent : TICloudAgent Launcher plugin is not installed: plugin.start is not a function. (In 'plugin.start()', 'plugin.start' is undefined) . Please perform the actions below and try your operation again.

It then asked me to again download and install the "TI Cloud Agent Application". I see the "TICloudAgent Launcher" plugin listed with others under Safari's Security pref pane. It's enabled and I even set it to "Allow Always" instead of "Ask" to no avail.

I check my system log via Console.app an found nothing. I checked Safari's error console – the only error was "Failed to load resource: the server responded with a status of 404 (Not Found)" for /ide/alpha@cwru.edu/default/ext/visualization/dygraph-combined.js.map

What is the issue?

Here's my ticloudagent_install.log file:

Log started 11/12/2015 at 12:02:09
Preferred installation mode : osx
Trying to init installer in mode osx
Mode osx successfully initialized
[12:02:10] Installer name: ticloudagent.app
Preparing to Install
[12:02:24] found /Applications/TICloudAgent/uninstall.app
Uninstalling TICloudAgent from /Applications
Executing /usr/bin/open -W "/Applications/TICloudAgent/uninstall.app" --args --mode unattended
Script exit code: 0

Script output:

Script stderr:
2015-11-12 12:02:26.935 open[47831:26950513] Metadata.framework [Error]: void _MDItemMarkAsUsedForPath(CFStringRef): was called with a NULL path
Unable to block on application (GetProcessPID() returned 18446744073709551016)

Preparing to Install
Unpacking files
Unpacking files
Unpacking files
[12:03:01] no /Users/horchler/.ti/TICloudAgent
Creating directory /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin
Creating directory /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents
Creating directory /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/Resources
Creating directory /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/MacOS
Creating directory /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/Resources/English.lproj
Extracting compressed file /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/Info.plist
Extracting compressed file /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/MacOS/npTICloudAgentLauncher
Extracting compressed file /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/Resources/English.lproj/InfoPlist.strings
Extracting compressed file /Users/horchler/Library/Internet Plug-Ins/npTICloudAgentLauncher.plugin/Contents/Resources/English.lproj/Localized.rsrc
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 11/12/2015 at 12:03:02

  • Andrew,

    Did you completely quit and restart the browser?

    Regards,
    Mandeep Deol

  • Sorry, ignore that Andrew. You said you restarted your machine.

    Mandeep
  • Mandeep,

    Yes, as stated in my question, I relaunched Safari. I did so several times. I also tried removing all *.ti.com cookies. I even tried rebooting my computer to no avail.

    I just tried using the latest Firefox and everything worked without needing to re-install the TICloudAgent Launcher plugin (just needed to install a Firefox extension). So this doesn't seem to be a firewall or GateKeeper issue. I'm assuming that the issue is somewhere between Safari and the plugin.

    -- Andrew
  • Thanks for the update Andrew. The TI Cloud Agent host application is common for all 3 browsers ( chrome, safari, firefox ) so it is expected that you did not have to re-install it. All three browsers vary in the way they communicate with the host application via browser specific extensions.

    I'll try to see if I can try to reproduce the safari issue on my end.

    Mandeep
  • Andrew,

    I am not having much luck reproducing this on my end. I am using the same OS/Browser version. Can you try the following it might provide some insight.

    1) If you set the security setting for the plug-in to "Ask". Do you get a popup dialog asking you to trust "TICloudAgent Launcher". What happens when you click trust and try to flash.
    2) I also found that there is an additional setting ' stop plug-ins to save power' on the advanced page. Can you see make sure that is unchecked and try flashing again?

    Thanks,
    Mandeep
  • Mandeep,

    Thank you for the help. After a bunch more testing and toggling I think that I've solved it.

    The issue was with a another browser extension: ClickToPlugin (ver 3.1.8, hoyois.github.io/.../), which is used mainly to block video plugins, things like Citrix and WebEx, etc. was doing its job. In retrospect, it should have been an obvious thing for me to check (usually done by right-clicking on the window to bring up a contextual menu, but right clicking is disabled in the main CCS Cloud interface). I whitelisted "TICloudAgent Launcher" and all is fine. No need to disable "stop plug-ins to save power".

    Thank you again.

    -- Andrew
  • Thanks Andrew. We'll add this to our knowledge base.