Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Crisp theme CSS file is too big

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Jan 2015
    Posts
    12

    Default Crisp theme CSS file is too big

    Hi

    I created an app using Architect 3.1 and added a theme by dragging the crisp theme from the toolbox. I added about 10 lines of my own SASS to the theme. The size of the result CSS file loaded with the app is 5MB, which causes very long load time on the remote server.

    I think the reason this file is so big is all the base64 encoded images. Is there a way to prevent this?

    How else would I go about optimizing the size of this file? Why is it so big to begin with?

    Thanks

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    304

    Default

    Hi idan,

    The large css file is the one that is used for previewing the styles within Architect. After you create production build of your project, sencha CMD will optimize this automatically, compressing all css and scss into a single file where only rules that are used in your application are included. Typically this should be 200-400kb, and the images won't be base64 but linked instead.

    Can you try creating a production build of your project and seeing if this solves your problem?

  3. #3
    Sencha User
    Join Date
    Jan 2015
    Posts
    12

    Default

    Hi Miro, thanks for the quick response

    Whenever I'm trying to create a production build using CMD it fails with the error:

    Sencha Cmd v5.1.0.26
    [INF] Processing Build Descriptor : default
    [ERR] Cannot satisfy requirements for "ext-theme-neutral"!
    [INF] The following versions are available:
    [INF] The following versions can be satisfied:
    [ERR] The following versions cannot be satisfied:
    [ERR] ext-theme-neptune: ext-theme-neutral (No matches!)
    [ERR] Cannot resolve package requirements
    [ERR]
    The application was last modified by an older version of Sencha Cmd (5.0.2.270)
    the current is 5.1.0.26.
    Please run "sencha app upgrade" to update to 5.1.0.26.


    Afterwards when trying to run 'sencha app upgrade' it gives me the exact same message

    Actually, any command I run in my application's root folder prints this error

    Thanks

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    304

    Default

    Hi,

    You shouldn't run CMD directly from console line, but invoke it from Architect. In the top toolbar, select build web app and in the build options set it to build production. If this doesn't work, could you view 'about architect' and copy/paste all the version info here? Also let us know what Ext version is this project and what custom sass lines have you added to the theme.

  5. #5
    Sencha User
    Join Date
    Jan 2015
    Posts
    12

    Default

    I've tried running this from Architect: A popup with the publish path appears with an error

    'sorry, your working directory is invalid'

    Also getting the same error as in CMD in the 'output' tab.

    Another thing: when trying to create a new empty project, building went smoothly. The previous developer on this project told me she upgraded the project from 2.x to 3.x and that it didn't go so well at first.

    I added three files:

    main:
    Code:
    .nameTitle .x-form-display-field, .nameTitle .x-form-item-label-default {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    
    
        color: black;
        font-size: 125%;
        font-weight:bold;
    
    
    }
    
    
    .idTitle .x-form-display-field, .idTitle .x-form-item-label-default {
        color: #666;
        font-size: 105%;
    
    
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    
    
    
    
    .icon-search{background-image:url(img/search-icon.png) !important;}
    
    
    .icon-save{background-image:url(img/save-icon.png) !important; }
    .editTextBtn, .icon-edit, .editPredBtn {background-image:url(img/edit-icon.png) !important; margin-top: 2px !important;}
    .icon-open{background-image:url(img/open-icon2.png) !important; }
    .icon-key{background-image:url(img/settings-icon.png) !important; }
    .icon-restore{background-image:url(img/restore-icon.png) !important; margin: 0 3px !important;}
    .icon-download{background-image:url(img/download-icon.png) !important; margin: 0 3px !important;}
    .icon-topic{background-image:url(img/topic-icon.png) !important;}
    .icon-dialog{background-image:url(img/dialog-icon.png) !important;}
    .icon-request{background-image:url(img/request-icon.png) !important;}
    .icon-prediction{background-image:url(img/prediction-icon.png) !important;}
    .icon-person, .personTextBtn{background-image:url(img/person-icon.png) !important; margin-top: 2px !important;}
    .icon-add, .addBtn{background-image:url(img/add-icon.gif) !important; margin-top: 2px !important; background-repeat: no-repeat}
    .icon-delete, .deleteBtn{background-image:url(img/delete-icon.gif) !important; margin-top: 2px !important;}
    
    
    
    
    .x-grid-row .x-grid-cell-inner, .x-grid-row-over .x-grid-cell-inner {
        white-space: normal;
    }
    
    
    
    
    .x-panel-header-default-vertical {
        background-color:$base-highlight-color;
        .x-panel-header-title-default {color:$tab-color-active;}
    
    
    }
    
    
    .x-panel-header-default .x-tool-img {
        background-color: transparent;
        /* -webkit-filter: sepia(1);
        filter: sepia(1);*/
    }
    
    
    .nav-panel{
        .x-panel-header-default, .x-grid-item, .x-grid-group-hd, , .x-grid-body  {background-color:$base-highlight-color;}
        .x-panel-header-title-default {color:$tab-color-active}
        .x-grid-item {color:white;}
        .x-grid-item-over {color:$tab-color-active; background-color:black;}
        .x-grid-item-selected.x-grid-item-over, .x-grid-item-selected {background-color:$tab-color-active; color:black;}
        .x-grid-with-row-lines .x-grid-item, .x-grid-group-hd {border:none;}
        .x-grid-group-hd {border-top: 3px solid black;}
        .x-grid-group-title {font-weight:bold; color:mix(#fff, $base-color, 75%);}
        .x-panel-header-default .x-tool-img {
            background-color: transparent;
        }
    
    
        .x-container {overflow-x: hidden !important; overflow-y: auto;}
        .x-grid-cell-inner { padding: 5px 20px 4px 10px; }
    
    
    }
    
    
    
    
    .x-grid {
        .x-noborder-bl {
            //border-bottom-width: 1px !important;
            border-left-width:   1px !important;
        }
    
    
        .x-noborder-rl {
            border-right-width: 1px !important;
            border-left-width: 1px !important;
            border-bottom-width: 0px !important;
           }
    
    
        .x-noborder-rbl{
            border-right-width: 1px !important;
            /*border-bottom-width: 0 !important; */
            border-left-width: 1px !important;
        }
    
    
        .x-toolbar.x-noborder-rbl{
            border-bottom-width: 1px !important;
        }
    
    
        .x-column-header-last {
            border-right-width: 1px;
        }
    
    
        .x-column-header {
            border-top: 1px solid #999;
        }
    
    
        .x-column-header-first {
            border-left: 1px solid #999;
        }
    
    
    }
    
    
    .inner-tab{
        .x-tabpanel-child{
            border: 1px solid black;
        }
    }
    
    
    .multi-select{
        background-color: white;
    }
    header:
    Code:
    .main-menu-btn,.x-btn.x-btn-pressed.x-btn-default-toolbar-large.main-menu-btn,
    .x-btn.x-btn-over.x-btn-default-toolbar-large.main-menu-btn{
        background: transparent;
        border: none;
        color:black;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    
    
    }
    
    
    .main-menu-btn .x-btn-button {
        vertical-align: bottom;}
    
    
    .main-menu-btn .x-btn-inner {
        color:$base-highlight-color;
        border-bottom: 5px solid #fff;
    }
    
    
    .main-menu-btn.x-btn-pressed .x-btn-inner, .main-menu-btn.x-btn-over .x-btn-inner{
        border-bottom: 5px solid $tab-color-active;
        color:black;
    }
    
    
    .projLogo{
        background-position: 0% 50%;
        background-repeat: no-repeat no-repeat;
    }
    
    
    .headerProjLogo{
        background-image: url('img/icons/citi_icon_small.png');
        background-position: 250px 50%;
        background-repeat: no-repeat no-repeat;
    }
    
    
    
    
    .titleImg {
        background-image:url('img/icons/personeticsLogo-white.png');
        background-repeat:no-repeat;
        background-position: 1.5% 50%;
        background-color:black;
    
    
        .x-toolbar-text { font-size: 16px; color:white;}
    
    
    
    
        .small-menu.x-btn,
        .small-menu.x-btn.x-btn-pressed,
        .small-menu.x-btn.x-btn-over{
            background: transparent;
            border: none;
            box-shadow: none;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
    
    
        }
    
    
        .small-menu.x-btn-inner, .small-menu .x-btn-inner-default-toolbar-small {
            color: white;
        }
    
    
        .small-menu.x-btn-pressed .x-btn-inner, .small-menu.x-btn-over .x-btn-inner{
            color:white;
        }
    }
    
    
    .main-project-name {
        font-size: 20px;
        font-weight: 300;
    
    
    }
    entities:
    Code:
    .p-pclass-SNavigateToReason .SNavigateToReason_navigateId  {display: block;}.SNavigateToReason_navigateId  {display: none;}
    
    
    .p-type-NavigateToMgr .navigateToAddBtn {display:block;}
    .navigateToAddBtn {display: none;}

    Versions:

    version: 3.1.0.1943

    channel: 3.1-stable

    platform: 1.4.1.960

    cmd: 5.0.2.270

    framework: Ext JS 5.0.x


    thanks

  6. #6
    Sencha User
    Join Date
    Apr 2012
    Posts
    304

    Default

    It sounds like something is corrupt in the project itself. Try following thing: after you open the project in Architect, save it in a completely different location. It could be that there is a conflict or an error in sencha.cfg files and saving it somewhere else should avoid the conflict and regenerate those files from scratch. After you do that, try building again.

    Looking at your scss files, there's nothing that stands out, except that many things that you are overriding, especially on the global level, can be set in variables instead. Some examples are borders for .x-btn (search variables for button border width instead and modify those), grid and grid column borders, font sizes for display fields etc. Also you should be very careful when you're hiding overflow of a container on a global level in the override - this is something that is usually managed by the layout config of the view. For example, you can set the layout of a container in a view to 'fit' and 'autoScroll' to false to achieve the same effect, without overriding all container css settings.

    Let me know if the above solution works.

  7. #7
    Sencha User
    Join Date
    Jan 2015
    Posts
    12

    Default

    I tried what you suggested and I'm still getting the same error And thanks for the SASS comments

  8. #8
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925

    Default

    Can you just try clearing you Publish Path fields for now?
    Jason Minnick
    Sencha Architect Development Team

  9. #9
    Sencha User
    Join Date
    Jan 2015
    Posts
    12

    Default

    How do you mean? I cleared through 'Project Settings' and 'Build Settings' buttons. Still the same error


    I've tried playing with the files a little. Here's a followup:


    1. Tried replacing the 'ext' folder with the one from the SA installation path. Now the project seems to find ext-theme-neutral, but the error changes:


    Code:
    [ERR] ext-theme-crisp-a57da290-5e24-4b70-84c4-8761692e25d6: ext-theme-crisp (No matches!)
    2. Tried removing the theme from the project (Through Architect):


    Code:
    [INF] Processing Build Descriptor : default
     
    Exception in thread "Thread-26" com.sencha.exceptions.ExNotFound: Required package "ext-theme-classic" not found
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:202)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:96)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:215)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:209)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:591)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:35)
    at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:329)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    at com.sencha.cli.Command.dispatch(Command.java:43)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.command.Sencha.dispatch(Sencha.java:73)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:48)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:38)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:143)
    at java.lang.Thread.run(Unknown Source)
     
    [WRN] Failed to resolve package ext-theme-classic
    [ERR] Theme "ext-theme-classic" not found
    3. Tried re-adding the crisp theme through architect. Trying to save the project generated the following error:


    Code:
    Exception in thread "Thread-28" com.sencha.exceptions.ExNotFound: Required package "ext-theme-classic" not found
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:202)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:96)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:215)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:209)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:591)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:35)
    at com.sencha.command.generator.GeneratorCommands$ThemeCommand.execute(GeneratorCommands.java:834)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    at com.sencha.cli.Command.dispatch(Command.java:43)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.command.Sencha.dispatch(Sencha.java:73)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:48)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:38)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:143)
    at java.lang.Thread.run(Unknown Source)
     
    [WRN] Failed to resolve package ext-theme-classic
    [ERR] Theme "ext-theme-classic" not found
    [INF] app.archivePath : archive
    [INF] app.bootstrap.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] app.bootstrap.css : bootstrap.css
    [INF] app.bootstrap.manifest : bootstrap.json
    [INF] app.bootstrap.microloader : bootstrap.js
    [INF] app.classpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/app,C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/resources/user/,C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/resources/js/
    [INF] app.cmd.version : 5.0.2.270
    [INF] app.config.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\app
    [INF] app.cordova.config.id : com.domain.PEditor
    [INF] app.cordova.config.name : PEditor
    [INF] app.cordova.config.path : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/cordova
    [INF] app.cordova.config.target :
    [INF] app.cordova.config.verbose : false
    [INF] app.cordova.js.0.path : cordova.js
    [INF] app.cordova.js.0.priority : 1000
    [INF] app.cordova.js.0.remote : true
    [INF] app.cordova.js.length : 1
    [INF] app.cordova.microloader : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\app/Microloader.js
    [INF] app.cordova.output.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/cordova/www
    [INF] app.cordova.output.cache.enable : false
    [INF] app.cordova.output.deltas.enable : false
    [INF] app.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] app.framework : ext
    [INF] app.framework.version : 5.0.1.1255
    [INF] app.id : a19586f7-267e-451c-9c5a-0c99a3df2e41
    [INF] app.indexHtmlPath : index.html
    [INF] app.name : PEditor
    [INF] app.output.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/build/${build.environment}/PEditor
    [INF] app.output.cache.enable : false
    [INF] app.output.deltas.enable : false
    [INF] app.output.microloader.enable : true
    [INF] app.overrides : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/overrides
    [INF] app.page.name : index.html
    [INF] app.phonegap.config.id : com.domain.PEditor
    [INF] app.phonegap.config.name : PEditor
    [INF] app.phonegap.config.path : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/phonegap
     
    [INF] app.phonegap.config.remote : false
    [INF] app.phonegap.config.verbose : false
    [INF] app.phonegap.js.0.path : phonegap.js
    [INF] app.phonegap.js.0.priority : 1000
    [INF] app.phonegap.js.0.remote : true
    [INF] app.phonegap.js.length : 1
    [INF] app.phonegap.microloader : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\app/Microloader.js
    [INF] app.phonegap.output.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/phonegap/www
    [INF] app.phonegap.output.cache.enable : false
    [INF] app.phonegap.output.deltas.enable : false
     
    [WRN] Failed to resolve package ext-theme-classic
    [ERR] Theme "ext-theme-classic" not found
    [INF] app.requires.names : null
    [WRN] Failed to resolve package ext-theme-classic
    [ERR] Theme "ext-theme-classic" not found
    [INF] app.requires.packages : null
    [INF] app.resource.paths : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/resources
    [INF] app.sass.etcpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/etc/all.scss
    [INF] app.sass.namespace : PEditorUI
    [INF] app.sass.srcpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/src
    [INF] app.sass.varpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/var
    [INF] app.slicer.js.0.isWidgetManifest : true
    [INF] app.slicer.js.0.path : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/example/custom.js
    [INF] app.slicer.js.length : 1
    [INF] app.theme : ext-theme-classic
    [INF] buildenvironment.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] buildenvironment.load.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] cmd.architect.mode : true
    [INF] cmd.config.dir : C:\Users\User\bin\Sencha\Cmd\5.0.2.270
    [INF] cmd.dir : C:\Users\User\bin\Sencha\Cmd\5.0.2.270
    [INF] cmd.framework.minver : 5.0.0
    [INF] cmd.framework.version : 99.99
    [INF] cmd.jvm.args : -Xms128m -Xmx1024m -Djava.awt.headless=true
    [INF] cmd.merge.tool.args.araxis : -wait -merge -3 -a1 {base} {user} {generated} {out}
    [INF] cmd.merge.tool.args.kdiff3 : {base} {user} {generated} -o {out}
    [INF] cmd.merge.tool.args.p4merge : {base} {user} {generated} {out}
    [INF] cmd.merge.tool.args.smartsync : {user} {generated} {base}
    [INF] cmd.merge.tool.args.sourcegear : --merge --result={out} {user} {base} {generated}
    [INF] cmd.merge.tool.args.tortoise : -base:{base} -theirs:{generated} -mine:{user} -merged:{out}
    [INF] cmd.minver : 3.0.0.0
    [INF] cmd.platform : windows
    [INF] cmd.server.port : 1841
    [INF] cmd.version : 5.0.2.270
    [INF] cmd.web.port : 1841
    [INF] ext.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/ext
    [INF] ext.license.name : commercial
    [INF] framework.classpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\ext/src
    [INF] framework.cmd.minver : 4.0.0
    [INF] framework.cmd.version : 5.0.0.53
    [INF] framework.config.dir : C:\Users\User\bin\Sencha\Cmd\5.0.2.270\plugins\ext\current
    [INF] framework.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\ext
     
    [INF] framework.isV5 : true
    [INF] framework.name : ext
    [INF] framework.packages.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\ext/packages
    [INF] framework.version : 5.0.0
    [INF] repo.local.dir : C:\Users\User\bin\Sencha\Cmd\repo
    [INF] system.java.net.useSystemProxies : true
    [INF] theme.base.names : null
    [INF] theme.base.packages : null
    [INF] workspace.build.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/build
    [INF] workspace.cmd.version : 5.0.2.270
    [INF] workspace.config.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\workspace
    [INF] workspace.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] workspace.packages.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/packages
    [INF] workspace.theme.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/packages/${args.themeName}
    And trying to build:


    Code:
    Exception in thread "Thread-32" com.sencha.exceptions.ExNotFound: Required package "ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00" not found
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:202)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:96)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:215)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:209)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:591)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:35)
    at com.sencha.command.generator.GeneratorCommands$ThemeCommand.execute(GeneratorCommands.java:834)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    at com.sencha.cli.Command.dispatch(Command.java:43)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.command.Sencha.dispatch(Sencha.java:73)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:48)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:38)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:143)
    at java.lang.Thread.run(Unknown Source)
     
    [WRN] Failed to resolve package ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00
    [ERR] Theme "ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00" not found
    [INF] app.archivePath : archive
    [INF] app.bootstrap.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] app.bootstrap.css : bootstrap.css
    [INF] app.bootstrap.manifest : bootstrap.json
    [INF] app.bootstrap.microloader : bootstrap.js
    [INF] app.classpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/app,C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/resources/user/,C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/resources/js/
    [INF] app.cmd.version : 5.0.2.270
    [INF] app.config.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\app
    [INF] app.cordova.config.id : com.domain.PEditor
    [INF] app.cordova.config.name : PEditor
    [INF] app.cordova.config.path : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/cordova
    [INF] app.cordova.config.target :
    [INF] app.cordova.config.verbose : false
    [INF] app.cordova.js.0.path : cordova.js
    [INF] app.cordova.js.0.priority : 1000
    [INF] app.cordova.js.0.remote : true
    [INF] app.cordova.js.length : 1
    [INF] app.cordova.microloader : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\app/Microloader.js
    [INF] app.cordova.output.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/cordova/www
    [INF] app.cordova.output.cache.enable : false
    [INF] app.cordova.output.deltas.enable : false
    [INF] app.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] app.framework : ext
    [INF] app.framework.version : 5.0.1.1255
    [INF] app.id : a19586f7-267e-451c-9c5a-0c99a3df2e41
    [INF] app.indexHtmlPath : index.html
    [INF] app.name : PEditor
    [INF] app.output.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/build/${build.environment}/PEditor
    [INF] app.output.cache.enable : false
    [INF] app.output.deltas.enable : false
    [INF] app.output.microloader.enable : true
    [INF] app.overrides : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/overrides
    [INF] app.page.name : index.html
    [INF] app.phonegap.config.id : com.domain.PEditor
    [INF] app.phonegap.config.name : PEditor
    [INF] app.phonegap.config.path : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/phonegap
     
    [INF] app.phonegap.config.remote : false
    [INF] app.phonegap.config.verbose : false
    [INF] app.phonegap.js.0.path : phonegap.js
    [INF] app.phonegap.js.0.priority : 1000
    [INF] app.phonegap.js.0.remote : true
    [INF] app.phonegap.js.length : 1
    [INF] app.phonegap.microloader : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\app/Microloader.js
    [INF] app.phonegap.output.base : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/phonegap/www
    [INF] app.phonegap.output.cache.enable : false
    [INF] app.phonegap.output.deltas.enable : false
     
    [WRN] Failed to resolve package ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00
    [ERR] Theme "ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00" not found
    [INF] app.requires.names : null
    [WRN] Failed to resolve package ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00
    [ERR] Theme "ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00" not found
    [INF] app.requires.packages : null
    [INF] app.resource.paths : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/resources
    [INF] app.sass.etcpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/etc/all.scss
    [INF] app.sass.namespace : PEditorUI
    [INF] app.sass.srcpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/src
    [INF] app.sass.varpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/var
    [INF] app.slicer.js.0.isWidgetManifest : true
    [INF] app.slicer.js.0.path : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/sass/example/custom.js
    [INF] app.slicer.js.length : 1
    [INF] app.theme : ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00
    [INF] buildenvironment.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] buildenvironment.load.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] cmd.architect.mode : true
    [INF] cmd.config.dir : C:\Users\User\bin\Sencha\Cmd\5.0.2.270
    [INF] cmd.dir : C:\Users\User\bin\Sencha\Cmd\5.0.2.270
    [INF] cmd.framework.minver : 5.0.0
    [INF] cmd.framework.version : 99.99
    [INF] cmd.jvm.args : -Xms128m -Xmx1024m -Djava.awt.headless=true
    [INF] cmd.merge.tool.args.araxis : -wait -merge -3 -a1 {base} {user} {generated} {out}
    [INF] cmd.merge.tool.args.kdiff3 : {base} {user} {generated} -o {out}
    [INF] cmd.merge.tool.args.p4merge : {base} {user} {generated} {out}
    [INF] cmd.merge.tool.args.smartsync : {user} {generated} {base}
    [INF] cmd.merge.tool.args.sourcegear : --merge --result={out} {user} {base} {generated}
    [INF] cmd.merge.tool.args.tortoise : -base:{base} -theirs:{generated} -mine:{user} -merged:{out}
    [INF] cmd.minver : 3.0.0.0
    [INF] cmd.platform : windows
    [INF] cmd.server.port : 1841
    [INF] cmd.version : 5.0.2.270
    [INF] cmd.web.port : 1841
    [INF] ext.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/ext
    [INF] ext.license.name : commercial
    [INF] framework.classpath : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\ext/src
    [INF] framework.cmd.minver : 4.0.0
    [INF] framework.cmd.version : 5.0.0.53
    [INF] framework.config.dir : C:\Users\User\bin\Sencha\Cmd\5.0.2.270\plugins\ext\current
    [INF] framework.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\ext
    [INF] framework.isV5 : true
    [INF] framework.name : ext
    [INF] framework.packages.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\ext/packages
    [INF] framework.version : 5.0.0
    [INF] repo.local.dir : C:\Users\User\bin\Sencha\Cmd\repo
    [INF] system.java.net.useSystemProxies : true
    [INF] theme.base.names : null
    [INF] theme.base.packages : null
    [INF] workspace.build.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/build
    [INF] workspace.cmd.version : 5.0.2.270
    [INF] workspace.config.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp\.sencha\workspace
    [INF] workspace.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp
    [INF] workspace.packages.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/packages
    [INF] workspace.theme.dir : C:\Personetics\svn\personetics-v3\web-editor2\src\main\webapp/packages/${args.themeName}
     
    [INF] Processing Build Descriptor : default
     
    Exception in thread "Thread-36" com.sencha.exceptions.ExNotFound: Required package "ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00" not found
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:202)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequires(AppOrPackageEnvironment.java:96)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:215)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:209)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:591)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:35)
    at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:329)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    at com.sencha.cli.Command.dispatch(Command.java:43)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.command.Sencha.dispatch(Sencha.java:73)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:48)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:38)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:143)
    at java.lang.Thread.run(Unknown Source)
     
    [WRN] Failed to resolve package ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00
    [ERR] Theme "ext-theme-crisp-166cded2-9bc6-4c36-bd1c-a7939d43ba00" not found
    4. I ran out of ideas

  10. #10
    Sencha User
    Join Date
    Apr 2012
    Posts
    304

    Default

    Try following:

    - back up .sencha folder in your project (rename it or move it somewhere else - if you don't see it, enable viewing hidden folders)
    - open the project in Architect and save it again.
    - try building the project

    This should regenerate all the default .sencha settings from scratch, and hopefully fix path references to package folder. Let us know if this works out for you.

Page 1 of 2 12 LastLast

Posting Permissions

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