Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    charlies123 is on a distinguished road

      0  

    Default Sencha Create doesn't set up correct path for Compass Compile

    Sencha Create doesn't set up correct path for Compass Compile


    using Sencha Touch 2.0.1,
    Sencha SDK 2.0.0 Beta 3
    Sencha Command V2.0.2
    Windows XP Prof

    Steps:
    run sencha app create NewProject
    cd to NewProject\Resources
    compass compile

    Error:
    error sass/app.scss (Line 1: File to import not found or unreadable: sencha-
    touch/default/all.
    Load paths:
    C:/xampp/htdocs/TestProject/resources/sass
    C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/blueprint/styles
    heets
    C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/styleshe
    ets
    Compass::SpriteImporter)
    identical stylesheets/app.css

    Debug
    Checked config.rb
    Seems to find sdk\resources\themes\compass_init.rb

    Related Question - two directories both contain app.css
    resources\stylesheets and
    resources\css
    Which is used by application?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    try

    Code:
    cd NewProject\resources\sass
    so you are in the sass directory and then do the compass compile.

    This works for me:

    Code:
    cd /path/to/sencha-touch-2.0.1
    sencha app create MyApp ../MyApp
    cd ../MyApp/resources/sass
    compass compile
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    charlies123 is on a distinguished road

      0  

    Default


    Not a bug, my error,
    Many thanks for swift response

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Quote Originally Posted by charlies123 View Post
    Not a bug, my error,
    Many thanks for swift response
    Glad it's resolved!
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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