This issue duplicates another issue.
  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    22
    Vote Rating
    0
    arleslie is on a distinguished road

      0  

    Default [BUG] Sencha CMD does not support spaces in username.

    [BUG] Sencha CMD does not support spaces in username.


    REQUIRED INFORMATIONSencha Cmd version(s) tested:
    • Sencha Cmd 3.0.x
    Operating System:
    • Win7 Ultimate
    Framework used:
    • Sencha Touch 2.1.2
    Description:
    • Describe the problem in greater detail here, summarizing the behavior.
    When installing Sencha CMD to the default path, %userprofile%\bin if the username has a space sass compile will fail when passing to ruby.

    Steps to reproduce the problem:
    Please include complete command lines, be sure to mention the current directory and finally a capture of the console output.

    Create a user with a space in it, such as "Andrew Leslie" and then install sencha cmd. Try to build an app.

    The result that was expected:
    • App bulid
    The result that occurs instead:
    • Error when passing to ruby
    Log when building:
    Code:
    H:\[SOURCE]\AppBuild>sencha app build testing
    Sencha Cmd v3.1.2.342
    [INF]
    [INF] init-plugin:
    [INF]
    [INF] cmd-root-plugin.init-properties:
    [INF]
    [INF] init-properties:
    [INF]
    [INF] init-sencha-command:
    [INF]
    [INF] init:
    [INF]
    [INF] app-build-impl:
    [INF]
    [INF] -before-init-local:
    [INF]
    [INF] -init-local:
    [INF]
    [INF] -after-init-local:
    [INF]
    [INF] init-local:
    [INF]
    [INF] find-cmd:
    [INF]
    [INF] -before-init:
    [INF]
    [INF] -init:
    [INF] Initializing Sencha Cmd ant environment
    [INF] Adding antlib taskdef for com/sencha/command/compass/ant/antlib.xml
    [INF] [x-load-properties] Loading optional properties file H:\[SOURCE]\App
    Build\.sencha\app\testing.properties
    [INF] [x-load-properties] Loading required properties file H:\[SOURCE]\App
    Build\.sencha\app\build.properties
    [INF]
    [INF] -after-init:
    [INF]
    [INF] -before-init-default:
    [INF]
    [INF] -init-default:
    [INF]
    [INF] -after-init-default:
    [INF]
    [INF] init:
    [INF]
    [INF] -before-build:
    [INF]
    [INF] sass:
    [INF]
    [INF] -before-sass:
    [INF]
    [INF] -sass:
    [INF] executing compass using system installed ruby runtime
    Nothing to compile. If you're trying to start a new project, you have left off t
    he directory argument.
    Run "compass -h" to get help.
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero code
     : 1
    [ERR]
    [ERR] Total time: 2 seconds
    [ERR] The following error occurred while executing this line:
    H:\[SOURCE]\AppBuild\.sencha\app\build-impl.xml:138: The following error o
    ccurred while executing this line:
    H:\[SOURCE]\AppBuild\.sencha\app\build-impl.xml:132: com.sencha.exceptions
    .ExProcess: compass process exited with non-zero code : 1
    Possible fix:
    • Throw quote around the path to compass when sending it to ruby.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Vote Rating
    817
    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


    Try updating Cmd to the latest as this should be fixed: http://www.sencha.com/forum/showthread.php?257226
    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.

  3. #3
    Sencha User
    Join Date
    Jul 2013
    Posts
    4
    Vote Rating
    0
    Techwolfy is on a distinguished road

      0  

    Default SenchaCMD Compass Error

    SenchaCMD Compass Error


    EDIT: I just saw the bug-reporting rules, I'll make a new thread.

    I know this thread is a bit old, but I'm having the exact same problem and this solution didn't work for me.
    SenchaCMD Version: v3.1.2.342
    OS Version: Windows 7 Professional
    Framework Version: Sencha Touch 2.2.1

    Code:
    C:\Users\Dev\Documents\Development\Apps\[NEW]LinkShortener\LinkShortener>sencha app build -run native
    Sencha Cmd v3.1.2.342
    [INF]
    [INF] init-plugin:
    [INF]
    [INF] cmd-root-plugin.init-properties:
    [INF]
    [INF] init-properties:
    [INF]
    [INF] init-sencha-command:
    [INF]
    [INF] init:
    [INF]
    [INF] app-build-impl:
    [INF]
    [INF] -before-init-local:
    [INF]
    [INF] -init-local:
    [INF]
    [INF] -after-init-local:
    [INF]
    [INF] init-local:
    [INF]
    [INF] find-cmd:
    [INF]
    [INF] -before-init:
    [INF]
    [INF] -init:
    [INF] Initializing Sencha Cmd ant environment
    [INF] Adding antlib taskdef for com/sencha/command/compass/ant/antlib.xml
    [INF] [x-load-properties] Loading optional properties file C:\Users\Dev\Documents\Development\Apps\[NEW]LinkShortener\LinkShortener\.sencha\app\native.properties
    [INF] [x-load-properties] Loading required properties file C:\Users\Dev\Documents\Development\Apps\[NEW]LinkShortener\LinkShortener\.sencha\app\build.properties
    [INF]
    [INF] -after-init:
    [INF]
    [INF] -before-init-default:
    [INF]
    [INF] -init-default:
    [INF]
    [INF] -after-init-default:
    [INF]
    [INF] init:
    [INF]
    [INF] -before-build:
    [INF]
    [INF] sass:
    [INF]
    [INF] -before-sass:
    [INF]
    [INF] -sass:
    [INF] executing compass using system installed ruby runtime
    Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
    Run "compass -h" to get help.
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1
    [ERR]
    [ERR] Total time: 1 second
    [ERR] The following error occurred while executing this line:
    C:\Users\Dev\Documents\Development\Apps\[NEW]LinkShortener\LinkShortener\.sencha\app\build-impl.xml:138: The following error occurred while executing this line:
    C:\Users\Dev\Documents\Development\Apps\[NEW]LinkShortener\LinkShortener\.sencha\app\build-impl.xml:132: com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1
    
    C:\Users\Dev\Documents\Development\Apps\[NEW]LinkShortener\LinkShortener>sencha compass compile resources\sass
    Sencha Cmd v3.1.2.342
    [INF] executing compass using system installed ruby runtime
    Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
    Run "compass -h" to get help.
    [ERR] compass process exited with non-zero code : 1

Thread Participants: 2