Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Bug: Sencha Cmd 6.0.0.202 Linux not generating CSS

  1. #11
    Ext JS Premium Member
    Join Date
    Oct 2008
    Posts
    1

    Default

    Hello, does anybody found a solution for that? I have the same problem except that it is working fine on one of my system:

    Xubuntu 15.10 : OK
    Ubuntu 14.04 : the css does't generate

    Both are 64 bits and have the same version of Sencha Cmd, ExtJS and Java:
    Sencha Cmd : 6.0.2.14
    ExtJS : 6.0.1
    Java : 1.8.0

    Also, on my Ubuntu 14.04 system, when I do a "sencha app build" on a newly generated app with "sencha generate app ...", I get the following error:
    [INF] Slicing images...
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: Cannot find file : /home/ubuntu/devel/test2/build/temp/production/TestApp/slicer-temp/theme-capture.json
    [ERR] at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.ja[ERR] va:282)
    [ERR]
    [ERR] Total time: 3 minutes 12 seconds
    [ERR] The following error occurred while executing this line:/home/ubuntu/devel/test2/.sencha/app/build-impl.xml:335:
    The following error occurred while executing this line:/home/ubuntu/devel/test2/.sencha/app/slice-impl.xml:386:
    The following error occurred while executing this line:/home/ubuntu/devel/test2/.sencha/app/slice-impl.xml:387:
    The following error occurred while executing this line:/home/ubuntu/devel/test2/.sencha/app/slice-impl.xml:256: com.sencha.exceptions.BasicException: Cannot find file : /home/ubuntu/devel/test2/build/temp/production/TestApp/slicer-temp/theme-capture.json

    Maybe the 2 errors are related.

  2. #12
    Sencha User
    Join Date
    Jun 2011
    Posts
    185

    Default

    I'm having the same issue, when I run sencha app build, does not generate the all.css file, some one have found a solution?

  3. #13

    Default

    Found the solution to my own question.

    The reason is, if you running on Linux / CentOS / whatever Nix OS which only has command line, without the User Interface, probably you are missing fontconfig package.
    I do not know in details why sencha build need to use fontconfig.
    I suspect may be due to icon font.

    Anyway, for CentOS, just do
    yum install fontconfig

    Then sencha build should generate those CSS file.

    One suggestion, if sencha build needs it but cannot find, should give proper error / warning messages rather than just continue as it is...

  4. #14
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,037

    Default

    Quote Originally Posted by deathgod86 View Post
    Found the solution to my own question.

    The reason is, if you running on Linux / CentOS / whatever Nix OS which only has command line, without the User Interface, probably you are missing fontconfig package.
    I do not know in details why sencha build need to use fontconfig.
    I suspect may be due to icon font.

    Anyway, for CentOS, just do
    yum install fontconfig

    Then sencha build should generate those CSS file.

    One suggestion, if sencha build needs it but cannot find, should give proper error / warning messages rather than just continue as it is...

    Just hit this, not getting a bootstrap.css file generated. I'm on Windows, and need compass functionality since am using Ext 5.1.0.
    I'll see if can get some debug logs spat out, in case it's something related to fontconfig here too.

    Cheers
    Product Architect
    Altus Ltd.

  5. #15
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,037

    Default

    Nope, no errors that I can see that give any clues, other than the fact that bootstrap.css is not found when trying to capture the theme using PhantomJS.

    Edit: Have turned off slicing, since have been meaning to for ages. Still no bootstrap.css
    Product Architect
    Altus Ltd.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 1 Aug 2017, 2:57 PM
  2. not run sencha architect 3 in linux
    By FELIX_LEAL in forum Sencha Architect 3.x: Bugs
    Replies: 7
    Last Post: 9 Dec 2014, 6:52 PM
  3. Sencha CMD on linux 64
    By revolunet in forum Sencha Cmd
    Replies: 4
    Last Post: 2 Jul 2013, 2:37 AM
  4. Sencha 2 command for Linux
    By harsha1485 in forum Sencha Touch 2.x: Q&A
    Replies: 24
    Last Post: 19 Jul 2012, 10:26 AM
  5. Sencha SDK Tools for Linux ?
    By superstructor in forum Sencha Touch 2.x: Discussion
    Replies: 20
    Last Post: 3 Apr 2012, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •