Results 1 to 2 of 2

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

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default [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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Thanks for the report.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •