1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    2
    hustfyb is on a distinguished road

      0  

    Default Error in with Slicing images

    I use Sencha Cmd v3.1.2.342 + Ext js 4.2.
    The app genrate by the cmd can't build.
    Code:
    sencha -sdk d:\tools\extjs\ext-4.2.0.663 generate app MyApp f:\myApp
    sencha app build
    The error message is
    Code:
    [INF] Capture complete
    [INF]      [echo] Slicing theme images to F:\myApp/build/MyApp/production/resour
    ces
    [INF] Including theme package ext-theme-classic for app.theme=ext-theme-classic
    build
    [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)
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: Unknown image type 0
    [ERR]
    [ERR] Total time: 18 seconds
    [ERR] The following error occurred while executing this line:
    F:\myApp\.sencha\app\build-impl.xml:478: com.sencha.exceptions.BasicException: U
    nknown image type 0
    How can I fix it.

  2. #2
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    2
    hustfyb is on a distinguished road

      1  

    Default

    I found this is a compatibility issue with Java.
    When I upgrade my JDK. It's all fine.

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    55
    Vote Rating
    0
    dwb is on a distinguished road

      0  

    Default Ugrading JDK Didn't Help Sencha Cmd Errors

    Hello,

    Following forum suggestions for this same problem, I've install the latest JDK... My results were different; compile error remain.

    I'm using:
    OS X: 10.7.5
    EXTJS: Ext.versions -
    "4.2.1.883"

    Java: javac 1.7.0_25




    Results:


    [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 tab-1063 : images/tab/tab-default-top-active-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1064 : images/tab/tab-default-top-over-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1065 : images/tab/tab-default-top-disabled-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1067 : images/tab/tab-default-bottom-active-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1068 : images/tab/tab-default-bottom-over-bg.gif has gradient but no stretch specified
    [WRN] Widget tab-1069 : images/tab/tab-default-bottom-disabled-bg.gif has gradient but no stretch specified
    [WRN] Widget progressbar-1074-bar : images/progress/progress-default-bg.gif has gradient but no stretch specified
    [WRN] Widget ext-gen1356 : images/datepicker/datepicker-header-bg.gif has gradient but no stretch specified
    [WRN] Widget datepicker-1106-footerEl : images/datepicker/datepicker-footer-bg.gif has gradient but no stretch specified

Thread Participants: 1

Tags for this Thread