-
15 May 2012 2:28 AM #1
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
-
17 May 2012 5:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
- Answers
- 3111
Have you tried without scout and did a 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.
-
19 May 2012 8:02 AM #3
Hi !
I have tried and get the same error :
Here's my ./styles/config.rberror 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.
My SDK is in ./sdkCode:# 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 runningI really do not see what's wrong with it.compass 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:
resources/themes/vendor
resources/themes/compass_init.rb
open up compass_init and make sure it has the line:
Hope this helps!Code:# 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.
http://www.sencha.com/forum/showthre...686#post836686
-
30 Jul 2012 6:44 AM #7Sencha User
- Join Date
- Aug 2011
- Location
- Geneva (CH) - Grenoble (FR)
- Posts
- 250
- Vote Rating
- 14
- Answers
- 11
Thank you maddhippy it works !
-
8 Aug 2012 5:48 PM #8
Need to update config.rb
Need to update config.rb
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:
as ST2 no longer uses the 'touch' folder (replaced with 'sdk' in the code above).Code:# Load the sencha-touch framework load File.join(dir, '..', 'sdk', 'resources', 'themes')
It worked for me - hope it helps.


Reply With Quote

