Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-2522

Error thrown while updating CLI in Ubuntu 12.04

    Details

      Description

      When trying to install updates in Ubuntu 12.04 I get the following error:

      !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
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
      	at com.aptana.core.util.ProcessUtil.startProcess(ProcessUtil.java:327)
      	at com.aptana.core.util.ProcessUtil.doRun(ProcessUtil.java:322)
      	at com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:273)
      	at com.aptana.core.util.ProcessUtil.run(ProcessUtil.java:235)
      	at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install(NodePackageManager.java:112)
      	at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRelease.java:37)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates(TitaniumSDKUpdater.java:561)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$1(TitaniumSDKUpdater.java:510)
      	at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdater.java:345)
      	at 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
      	at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
      	at java.lang.ProcessImpl.start(ProcessImpl.java:81)
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
      	... 10 more
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              cheadley Clayton Headley
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: