You found a bug! We've classified it as SDKTOOLS-138 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    1
    Vote Rating
    0
    ComplexPixel is on a distinguished road

      0  

    Default [BUG] SenchaSDKTools-2.0.0-beta3 OS X Critical Install Issue

    [BUG] SenchaSDKTools-2.0.0-beta3 OS X Critical Install Issue


    REQUIRED INFORMATION

    SDK Tools Version Tested:
    2.0.0-beta3-osx

    Operating System:
    10.6.8 Snow Leopard

    Description:
    If your chosen installation directory includes spaces, the installer will break your [User]/.profiles file, in turn breaking all environmental variables for the user.

    Steps to Reproduce the Problem:
    Change the default installation directory to include spaces.
    Example error trying to use terminal after installing:
    Code:
    `2': not a valid identifier-bash: export: `Tools:/Library/Frameworks/Python.framework/Versions/3.2/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin': not a valid identifier
    Fix:
    Add quotes to .profile export entry
    from
    Code:
    export PATH=/Users/me/Documents/Projects/Library/Sencha Touch 2 Tools:$PATH
    to
    Code:
    export PATH="/Users/me/Documents/Projects/Library/Sencha Touch 2 Tools:$PATH"
    Terminal is useable again, and sencha can be called. However, more issues arrise from the lack of quotes in the sencha shell script

    Replacing bash shell to include quotes:
    Code:
    #!/bin/sh
    DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    "$DIR/bin/node" "$DIR/sencha.js" $*

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1