1. #1
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default Attn: David Kanada - Version 1.1.0 Cant compile custom application.scss

    Attn: David Kanada - Version 1.1.0 Cant compile custom application.scss


    I am getting the following error.

    NoMethodError on line 9 of /Users/simonflack/Documents/WhiteFox/Server/web-docs/UiN2/resources/scss/../themes/lib/theme_images.rb: undefined method `inline_image_string' for #<Sass::Script::Functions::EvaluationContext:0x1017b7eb8>
    Code:
    inline_image_string(data(real_path), compute_mime_type(path, mime_type))
    I tried swapping the theme_images.rb file out with the old one but then I just got other errors

    Fixed the theme_image ruby method. Fixed all linear and radial gradients to comply with compass 0.11
    Is the new styling based on Compass 0.11 Beta? Because I am still using the current release (0.10.6). Could that be the problem?
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  2. #2
    Touch Premium Member
    Join Date
    Apr 2007
    Posts
    24
    Vote Rating
    0
    cassebn is on a distinguished road

      0  

    Default


    I had the same issue but after I updated to compass 0.11.beta.4 the issue went away and I was able to successfully compile. To update compass I did the following:
    $ gem install chunky_png
    $ gem install compass --pre

    Hope this works out for you as well.

  3. #3
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Thanks. I'll try that
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  4. #4
    Touch Premium Member
    Join Date
    Nov 2010
    Posts
    7
    Vote Rating
    0
    portlandwebworks is on a distinguished road

      0  

    Default


    Quote Originally Posted by cassebn View Post
    I had the same issue but after I updated to compass 0.11.beta.4 the issue went away and I was able to successfully compile. To update compass I did the following:
    $ gem install chunky_png
    $ gem install compass --pre

    Hope this works out for you as well.
    I put sudo in front of the gem command line calls and it worked fine for me. Thanks, cassebn. Sencha, you _are_ going to put a sticky post on this forum to document this, yes? ;-)

  5. #5
    Ext JS Premium Member anselmtmcclain's Avatar
    Join Date
    Mar 2008
    Location
    Northern California
    Posts
    83
    Vote Rating
    2
    anselmtmcclain is on a distinguished road

      0  

    Thumbs up Thanks

    Thanks


    Thank you so much for posting this - worked for me as well. I would not have figured this out otherwise.

    Sencha, please get some real docs up soon on SASS and custom styling! If I'm missing something (other than the blog post where I first heard of it all), let me know.

    Thanks - ATM

  6. #6
    Sencha User davidkaneda's Avatar
    Join Date
    Jan 2010
    Location
    Bay Area, CA
    Posts
    147
    Vote Rating
    0
    davidkaneda is on a distinguished road

      0  

    Default


    Yep, sorry, we should have put the upgrade to beta in the release notes. Real docs are coming soon-

  7. #7
    Sencha User
    Join Date
    Mar 2011
    Posts
    1
    Vote Rating
    0
    sanvi1020 is on a distinguished road

      0  

    Default


    i tried to update compass ,but my app did not works .

    it throws other error,

    error sass/android.scss (Line 40: Invalid GBK character "\xE2")
    Sass::SyntaxError on line ["40"] of C: Invalid GBK character "\xE2"
    Run with --trace to see the full backtrace

  8. #8
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Is the new version of compass (and sass etc) backwards compatible? If I upgrade can I use it to compile 1.0.1a projects, or do I have to upgrade all projects?

    Can I use new version of compass to compile the 1.0.1a sass?

    I cant afford downtime at the moment and cant risk upgrading if it is going to cause me problems with current projects.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  9. #9
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Update... For those thinking of upgrading to 1.1.0 and compass beta 5 you can still use the older version by typing
    compass _0.10.6_ compile
    So you can use both 1.0.1a and 1.1.0.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  10. #10
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    60
    Vote Rating
    0
    venumobile is on a distinguished road

      0  

    Default


    I've just upgraded both compass and ST and am getting errors on compiling, also.

    Code:
    error sass/android.scss (Line 70: Invalid CSS after "...53 !default;  *": expected "{", was "/")

Similar Threads

  1. How to find extjs version used in an application?
    By vishal.birari in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 24 Jun 2013, 7:13 AM
  2. Problem running compass to compile custom stylesheet
    By aratcliffe in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 3 Jan 2011, 9:36 AM
  3. How to know JS dependency and build a custom version of Sencha Touch
    By hello2008 in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 7 Nov 2010, 9:28 PM
  4. compile time errors with bad version number
    By alanww35 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 26 Apr 2008, 2:59 PM
  5. compile time errors with bad version number
    By alanww35 in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 26 Apr 2008, 5:55 AM

Thread Participants: 6