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

Unexpected setting in ti config causing vague error in studio platform settings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.1.0
    • Labels:
    • Environment:

      Appc CLI: 0.2.285
      Appc CLI NPM: 0.3.55
      Titanium SDK version 4.0.0.RC4
      Appcelerator Studio, build: 4.0.0.201505120319

    • Story Points:
      5
    • Sprint:
      2015 Sprint 11 Studio

      Description

      Description:

      I have not been able to reproduce the root cause of this, so will write a separate ticket for the ti config setting issue. I noticed I had something odd in my ti config setting for genymotion.executables.vboxmanage:

      emerrimanMBP:~ eric$ appc ti config
      Appcelerator Command-Line Interface, version 0.2.285
      Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
      android.emulatorStartTimeout      = 180000
      android.ndkPath                   = "/Users/eric/android-ndk-r8d"
      android.sdkPath                   = "/Users/eric/Android_SDK"
      app.workspace                     = ""
      cli.colors                        = true
      cli.completion                    = false
      cli.failOnWrongSDK                = false
      cli.httpProxyServer               = ""
      cli.ignoreDirs                    = "^(\\.svn|_svn|\\.git|\\.hg|\\.?[Cc][Vv][Ss]|\\.bzr|\\$RECYCLE\\.BIN)$"
      cli.ignoreFiles                   = "^(\\.gitignore|\\.npmignore|\\.cvsignore|\\.DS_Store|\\._.*|[Tt]humbs.db|\\.vspscc|\\.vssscc|\\.sublime-project|\\.sublime-workspace|\\.project|\\.tmproj)$"
      cli.logLevel                      = "trace"
      cli.progressBars                  = true
      cli.prompt                        = true
      cli.rejectUnauthorized            = true
      cli.width                         = 100
      genymotion.executables.vboxmanage = "Appcelerator Login required to continue ..."
      paths.commands                    = []
      paths.hooks                       = ["/Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1424300841/node_modules/liveview/hook"]
      paths.modules                     = []
      paths.plugins                     = []
      paths.sdks                        = []
      paths.templates                   = []
      sdk.selected                      = "4.0.0.RC4"
      user.locale                       = "en_US"
      

      While I have no real idea when the setting was made or by what process, it did produce an error in Studio. See screenshots for comparison.

      The workaround was to remove the setting with: appc ti config -r genymotion.executables.vboxmanage and the Studio UI returned to a better state.

      Steps to reproduce:

      1) Unsure how I got the setting, but it can be made manually with appc ti config enymotion.executables.vboxmanage "Appcelerator Login required to continue ..."
      2) Open Studio preferences > Studio > Platforms > Android
      3) observe error

      Result:

      The error is s bit vague, "Value must be an existing file"

      Expected Result:

      Clear information on what to do to fix my problem, and which bit of configuration is the problem

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                emerriman Eric Merriman
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: