Project: appceleratorstudio
Issue TISTUD-2522: Error thrown while updating CLI in Ubuntu 12.04
When trying to install updates in Ubuntu 12.04 I get the following error: {code} !ENTRY com.appcelerator.titanium.update 4 4 2012-10-15 08:25:56.113 !MESSAGE Error encountered during update !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2012-10-15 08:25:56.113 !MESSAGE Cannot run program "gksudo --message='Titanium Studio would like to install Titanium CLI.'": java.io.IOException: error=2, No such file or directory !STACK 0 java.io.IOException: Cannot run program "gksudo --message='Titanium Studio would like to install Titanium CLI.'": java.io.IOException: error=2, No such file or directory java.lang.ProcessBuilder.start(ProcessBuilder.java:475) com.aptana.core.util.ProcessUtil.startProcess(ProcessUtil.java:327) com.aptana.core.util.ProcessUtil.doRun(ProcessUtil.java:322) com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:273) com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:235) com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install(NodePackageManager.java:112) com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRelease.java:37) com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates(TitaniumSDKUpdater.java:561) com.appcelerator.titanium.update.TitaniumSDKUpdater.access$1(TitaniumSDKUpdater.java:510) com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdater.java:345) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory java.lang.UNIXProcess.(UNIXProcess.java:164) java.lang.ProcessImpl.start(ProcessImpl.java:81) java.lang.ProcessBuilder.start(ProcessBuilder.java:468)	... 10 more {code} Steps to reproduce: 1. Start Titanium Studio 2. Attempt to install the new CLI through the toast popup (or Help > Check for Titanium Updates) Expected result: The Titanium CLI should correctly install into Titanium Studio. Actual result: The above error.
Story points: 3