15 May 2012 2:28 AM #1
Unanswered: Compass and sencha 2.0.1. Strange error
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 :
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 ?
17 May 2012 5:59 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Have you tried without scout and did a compass compile?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.
19 May 2012 8:02 AM #3
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.
# 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
I am runningcompass compile styles/
28 May 2012 1:05 PM #4
Still the same issue and I do not know how to manage it.
Nobody knows ?
18 Jun 2012 12:43 PM #5
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:
open up compass_init and make sure it has the line:
# Include compass-recipes require File.join(File.dirname(__FILE__), 'vendor', 'compass-recipes', 'config')
19 Jun 2012 12:15 AM #6
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.
30 Jul 2012 6:44 AM #7
- Join Date
- Aug 2011
- Geneva (CH) - Grenoble (FR)
- Vote Rating
Thank you maddhippy it works !
8 Aug 2012 5:48 PM #8
Need to update config.rb
# Load the sencha-touch framework load File.join(dir, '..', 'touch', 'resources', 'themes')
It should be:
# Load the sencha-touch framework load File.join(dir, '..', 'sdk', 'resources', 'themes')
It worked for me - hope it helps.