1. #1
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    456
    Vote Rating
    6
    mysticav is on a distinguished road

      0  

    Default "sencha app build" within page directory (workspace mode) throws capture image error

    "sencha app build" within page directory (workspace mode) throws capture image error


    Specs:

    Code:
    MacOS X 10.7.5 
    Sencha Cmd v3.1.1.274
    ExtJS 4.2.0.663
    Ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]
    Sass 3.2.2 (Media Mark)
    Compass 0.12.2 (Alnilam)
    This is my current file structure (so you can get an idea):

    Code:
    /workspace/ext/
    /workspace/packages/myPackage/
    /workspace/myPage/app/
    In order to build package I run:
    "sencha package build" within /workspace/packages/myPackage/

    It works perfectly.

    Then, I want to build the app for myPage, executing:
    "sencha app build" within /workspace/myPage/

    Everything seems to go fine, till the process hits this:
    Code:
    Capturing theme image
    loading page [root]/workspace/myPage/sass/example/theme.html
    Failed to load page
    
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 100
    [ERR] 
    [ERR] Total time: 2 minutes 31 seconds
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExProcess: phantomjs process exited with code 100
    [ERR] 
    [ERR] Total time: 2 minutes 32 seconds
    [ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExProcess: phantomjs process exited with code 100
    As you can see, it is looking for a theme.html file inside "/workspace/myPage/sass/example/"

    The thing is that "/workspace/myPackage/sass" does not even exist.

    But it does exist here:
    /workspace/packages/myPackage/sass/example

    1) Can somebody explain me what am I doing wrong ?

    I found this inside /workspace/myPage/.sass/app/sencha.cfg

    Code:
    # Path to sass rule definition files corresponding to JavaScript classes.
    app.sass.srcpath=${app.dir}/sass/src
    
    # Path to sass variable definition files corresponding to JavaScript classes.
    app.sass.varpath=${app.dir}/sass/var
    
    # Path to sass function and mixin files.
    app.sass.etcpath=${app.dir}/sass/etc/all.scss
    Again, pointing to /sass/ folder which does not exist.

    ANY IDEAS, PLEASE HELP ME TO FIGURE THIS OUT, BEFORE I BECOME A BALD DUDE !! .
    Using Ext with cachefly
    Working on LAMPExt

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    751
    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


    Using Ext JS 4.2.0.663 and Cmd 3.1.1.274 I generated a new workspace and an app within and did a build and it finished successfully. Did you upgrade the framework maybe?
    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 mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    456
    Vote Rating
    6
    mysticav is on a distinguished road

      0  

    Default


    HI,

    I tried with a fresh install and it works now.
    I just got a few WRN messages with ext-theme-classic:

    Code:
    [INF] Slicing images...
    [WRN] Expected slices for widget button-1018 due to border radius(3 3 3 3)
    [WRN] Expected slices for widget button-1023 due to border radius(3 3 3 3)
    [WRN] Expected slices for widget button-1028 due to border radius(3 3 3 3)
    [WRN] Widget tabbar-1069 : images/tab-bar/tab-bar-default-top-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1073 : images/tab/tab-default-top-active-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1074 : images/tab/tab-default-top-over-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1075 : images/tab/tab-default-top-disabled-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1077 : images/tab/tab-default-bottom-active-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1078 : images/tab/tab-default-bottom-over-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1079 : images/tab/tab-default-bottom-disabled-bg.gif has gradient but no stretch specified
    [WRN] Widget progressbar-1080-bar : images/progress/progress-default-bg.gif has gradient but no stretch specified
    [WRN] Widget ext-gen1361 : images/datepicker/datepicker-header-bg.gif has gradient but no stretch specified
    [WRN] Widget datepicker-1112-footerEl : images/datepicker/datepicker-footer-bg.gif has gradient but no stretch specified
    [INF] Slicing complete - generated 230 images
    This does not happen with ext-theme-neptune.

    Anyways, since I won't use classic theme anymore, I won't worry anymore.

    Thanks.
    Using Ext with cachefly
    Working on LAMPExt

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar