1. #1
    Sencha User
    Join Date
    Sep 2009
    Location
    Frankfurt/Main Germany
    Posts
    13
    Vote Rating
    0
    coverflex is on a distinguished road

      0  

    Default [ST2.1.1][CMD 3.1.0.256] SASS build testing failed

    [ST2.1.1][CMD 3.1.0.256] SASS build testing failed


    Sencha Cmd version(s) tested:
    • Sencha Cmd 3.1.0.256
    Operating System:
    • Win7 Pro
    Framework used:
    • Sencha Touch 2.1.1
    Description:
    • SASS Build using Ruby fails
    Steps to reproduce the problem:
    1. Following the Guide 'Using Sencha Cmd with Sencha Touch (Touch 2.1.1)' I opened a cmd-window and changed to the touch-2.1.1-sdk directory. There I generated a new App:
      Code:
      sencha generate app Map01 ../Map01
    2. After that I changed to the newly created app directory and tried to build testing:
      Code:
      sencha app build testing

    The build failed in building SASS with following failures (snipped):
    Code:
    [INF] -sass:
    [INF] executing compass using system installed ruby runtime
    NoMethodError on line ["23"] of D: undefined method `empty?' for nil:NilClass
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/engine.rb:293:in `_render'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/engine.rb:240:in `render'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:140:in `block (2 levels) in compile'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:139:in `block in compile'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/logger.rb:45:in `red'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:138:in `compile'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:103:in `block (2 levels) in run'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `each'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `block in run'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/commands/update_project.rb:45:in `perform'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/commands/base.rb:18:in `execute'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/commands/project_base.rb:19:in `execute'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in `run!'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/bin/compass:30:in `block in <top (required)>'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/bin/compass:44:in `call'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/gems/compass-0.12.2/bin/compass:44:in `<top (required)>'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/bin/compass:23:in `load'
      D:/SenchaCMD/Sencha/Cmd/3.1.0.256/extensions/sencha-compass/gems/bin/compass:23:in `<main>'
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    1
    vladimmi is on a distinguished road

      0  

    Default


    Exactly the same error with Ext JS 4.2.0

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    1
    vladimmi is on a distinguished road

      1  

    Default


    http://www.sencha.com/forum/showthre...-ext-4.2.0.663 - ruby downgrade from 2.0 to 1.9.3 helped for me.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    10
    Vote Rating
    0
    izorg is on a distinguished road

      0  

    Default


    I'v got the same error after updating ruby to version 2. I made a rollback. My current version:
    ruby 1.9.3p385 (2013-02-06) [i386-mingw32]
    Build works OK

  5. #5
    Sencha User
    Join Date
    Sep 2009
    Location
    Frankfurt/Main Germany
    Posts
    13
    Vote Rating
    0
    coverflex is on a distinguished road

      0  

    Default


    Quote Originally Posted by izorg View Post
    I'v got the same error after updating ruby to version 2. I made a rollback. My current version:

    Build works OK
    Thanks!
    This solved the problem.

    After rollback to ruby 1.9.3p392 (latest ruby 1.9.3 version) the build with sencha cmd worked OK.

  6. #6
    Sencha User
    Join Date
    Jun 2012
    Posts
    46
    Vote Rating
    1
    Malro is on a distinguished road

      0  

    Default


    thx vladimmi

    maybe someone from sencha could verify the problem and update the docs, so other sencha users won`t waste couple of hours.

  7. #7
    Sencha User
    Join Date
    Nov 2010
    Posts
    395
    Vote Rating
    6
    gkatz is on a distinguished road

      0  

    Default


    is this going to be fixed?
    having the same problem with:
    Code:
    Sencha Cmd v3.1.1.274
    Code:
    java version "1.7.0_02"
    Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
    Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
    Code:
    ruby 2.0.0p0 (2013-02-24) [i386-mingw32]
    and win 7 enterprise 32 bit
    output is:
    Code:
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero cod
     : 1
    [ERR]
    [ERR] Total time: 15 seconds
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: The following error occurred while
    xecuting this line:
    [ERR] C:\tmp\sidenav-master\.sencha\app\build-impl.xml:223: com.sencha.exceptio
    s.ExProcess: compass process exited with non-zero code : 1
    [ERR]
    [ERR] Total time: 16 seconds
    [ERR] com.sencha.exceptions.BasicException: The following error occurred while
    xecuting this line:
    C:\tmp\sidenav-master\.sencha\app\build-impl.xml:223: com.sencha.exceptions.ExP
    ocess: compass process exited with non-zero code : 1

  8. #8
    Sencha User
    Join Date
    Jun 2012
    Posts
    46
    Vote Rating
    1
    Malro is on a distinguished road

      0  

    Default


    try ruby < 2.0

    after change from 2.x to 1.9.x sencha cmd worked

  9. #9
    Sencha User
    Join Date
    Nov 2010
    Posts
    395
    Vote Rating
    6
    gkatz is on a distinguished road

      0  

    Default


    thanks. I understood that from this thread. but I wanted to know if this is going to be tackled soon by sencha as I am sure downgrade is just a bypass - not a solution