1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Paris
    Posts
    108
    Answers
    2
    Vote Rating
    1
    Tchinkatchuk is on a distinguished road

      0  

    Default Unanswered: Compass and sencha 2.0.1. Strange error

    Unanswered: Compass and sencha 2.0.1. Strange error


    Hi all,

    I am using compass and scout (mac) to generate the css.
    All was working great on 2.0.0.
    I have made the update to 2.0.1 (same place).

    All my app is working great but the scss compilation fails with :
    Code:
    error app.scss (Line 2: File to import not found or unreadable: recipes/background.
    Load paths: /xxx/web/mobile-v2/styles /Applications/Scout.app/Contents/Resources/vendor/gems/gems/compass-0.11.5/frameworks/blueprint/stylesheets /Applications/Scout.app/Contents/Resources/vendor/gems/gems/compass-0.11.5/frameworks/compass/stylesheets /Applications/Scout.app/Contents/Resources/vendor/gems/gems/compass-960-plugin-0.10.4/stylesheets /Applications/Scout.app/Contents/Resources/vendor/gems/gems/yui-compass-plugin-0.3/stylesheets Compass::SpriteImporter)
    Sass::SyntaxError on line 2 of /xxx/web/mobile-v2/styles/../sdk/resources/themes/stylesheets/sencha-touch/default/core/../_mixins.scss: File to import not found or unreadable: recipes/background.
    


    the mixins file id readable ...

    Does anyone has a clue ?

    THanks

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


    Have you tried without scout and did a compass compile?
    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
    Feb 2012
    Location
    Paris
    Posts
    108
    Answers
    2
    Vote Rating
    1
    Tchinkatchuk is on a distinguished road

      0  

    Default


    Hi !

    I have tried and get the same error :
    error styles/app.scss (Line 2 of styles/../sdk/resources/themes/stylesheets/sencha-touch/default/core/../_mixins.scss: File to import not found or unreadable: recipes/background.
    Here's my ./styles/config.rb
    Code:
    # Delineates location of the config.rb file which should be in the same directory as your SCSS file(s)
    sass_path = File.dirname(__FILE__)
    
    # Points to the location of the CSS file(s) you'll call from your HTML document
    css_path = File.join(sass_path, '..')
    
    # Points to the images directory used by the Sencha Touch theme
    images_dir = File.join(sass_path, '..', 'sdk', 'resources', 'themes', 'images', 'default')
    
    # Points to the Sencha Touch theme
    load File.join(sass_path, '..', 'sdk', 'resources', 'themes')
    
    # Denotes how the CSS files are compiled by Compass
    output_style = :compressed
    environment = :production
    My SDK is in ./sdk
    I am running
    compass compile styles/
    I really do not see what's wrong with it.

  4. #4
    Sencha User
    Join Date
    Feb 2012
    Location
    Paris
    Posts
    108
    Answers
    2
    Vote Rating
    1
    Tchinkatchuk is on a distinguished road

      0  

    Default


    Still the same issue and I do not know how to manage it.
    Nobody knows ?

  5. #5
    Touch Premium Member
    Join Date
    Jan 2011
    Posts
    55
    Answers
    3
    Vote Rating
    1
    maddhippy is on a distinguished road

      1  

    Default


    I was getting this error.

    I update to 2.0.1 and didn't copy all of the files...

    Specifically, make sure that these are there:

    resources/themes/vendor
    resources/themes/compass_init.rb

    open up compass_init and make sure it has the line:
    Code:
    # Include compass-recipes
    require File.join(File.dirname(__FILE__), 'vendor', 'compass-recipes', 'config')
    Hope this helps!

  6. #6
    Sencha User
    Join Date
    Jul 2011
    Posts
    31
    Answers
    2
    Vote Rating
    0
    master_obiwan is on a distinguished road

      0  

    Default


    Maddhippy, I am having the same problem. I checked the two directories you pointed out and they match up with what you suggested. Can you please check this post if you have a moment. It would help a few of us having this issue.

    http://www.sencha.com/forum/showthre...686#post836686

  7. #7
    Sencha User siebmanb's Avatar
    Join Date
    Aug 2011
    Location
    Geneva (CH) - Grenoble (FR)
    Posts
    253
    Answers
    11
    Vote Rating
    15
    siebmanb will become famous soon enough

      0  

    Default


    Thank you maddhippy it works !

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Location
    Buffalo, NY
    Posts
    2
    Vote Rating
    0
    gdhussak is on a distinguished road

      0  

    Default Need to update config.rb

    Need to update config.rb


    Quote Originally Posted by master_obiwan View Post
    Maddhippy, I am having the same problem. I checked the two directories you pointed out and they match up with what you suggested. Can you please check this post if you have a moment. It would help a few of us having this issue.

    http://www.sencha.com/forum/showthre...686#post836686
    I was having the same issue - with some trial and error, noticed that in my config.rb, it was looking for:
    Code:
    # Load the sencha-touch framework
    load File.join(dir, '..', 'touch', 'resources', 'themes')

    It should be:
    Code:
    # Load the sencha-touch framework
    load File.join(dir, '..', 'sdk', 'resources', 'themes')
    as ST2 no longer uses the 'touch' folder (replaced with 'sdk' in the code above).

    It worked for me - hope it helps.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi