Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
    YomeKitsuma has a little shameless behaviour in the past

      0  

    Default Sencha App Build Production :: Touch = Application Cache Error event: Manifest fetch

    Sencha App Build Production :: Touch = Application Cache Error event: Manifest fetch


    Hi,

    We try to build the sample given in the Documentation : Ext.chart.series.Line

    with

    Code:
    sencha app build -e production
    (we also test using testing ;-) )

    Firstly, at the first build we got lot of "missing" sources, so we add in the app.js the required :

    Code:
    Creating Application Cache with manifest http://dev.tag-all.com:28880/test/production/cache.appcache
    Application Cache Checking event
    Application Cache Error event: Manifest fetch failed (404) http://dev.tag-all.com:28880/test/production/cache.appcache
    Failed to load resource: the server responded with a status of 404 (Not Found) http://dev.tag-all.com:28880/test/production/event/publisher/Dom.js?_dc=1349449239735
    Code:
    requires: ['Ext.*']
    After all goes well....

    We redo a build removing this "all requires".

    Now we got this error :

    Code:
    Creating Application Cache with manifest http://dev.tag-all.com:28880/test/production/cache.appcache
    Application Cache Checking event
    Application Cache Error event: Manifest fetch failed (404) http://dev.tag-all.com:28880/test/production/cache.appcache
    
    • GET http://dev.tag-all.com:28880/test/production/event/publisher/Dom.js?_dc=1349449413346 404 (Not Found) Dom.js:1
    • ‚ÄčMalformed delta content received for http://dev.tag-all.com:28880/test/production/app.js :28880/test/production/:56


    N.B : locally (using own server - i.e localhost), here the error :

    Code:
    Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.1.40/Test/test/event/Dispatcher.js?_dc=1349449984496
    Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.1.40/Test/test/event/publisher/Dom.js?_dc=1349449984501
    Uncaught Error: [Ext.Loader] Failed loading './event/Dispatcher.js', please verify that the file existssencha-touch.js:8319[COLOR=red !important][/COLOR]
    Uncaught Error: [Ext.Loader] Failed loading './event/publisher/Dom.js', please verify that the file exists sencha-touch.js:8319
    [COLOR=red !important]
    [/COLOR]
    Last edited by YomeKitsuma; 5 Oct 2012 at 7:16 AM. Reason: add "local" errors

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,346
    Vote Rating
    134
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Please specify the framework and version (e.g., "Sencha Touch 2.1 RC1") as well as the Cmd version you are using (e.g., "3.0.0.190").


    Also, you can try the debug switch "sencha -debug app build production" and see if that gives you any insight.
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
    YomeKitsuma has a little shameless behaviour in the past

      0  

    Default


    Hi Dongryphon


    framework = Sencha Touch 2.1.0-RC1
    Cmd version = (when post this issue => 3.0.0.188)


    For the first error :

    Code:
    Application Cache Error event: Manifest fetch failed (404)
    We added the ".appcache" in our web.config file onto the server.

    Actually, their is still the error saying :

    Code:
    • Malformed delta content received for http://dev.tag-all.com:28880/test/production/app.js :28880/test/production/:56
      • G:28880/test/production/:56
      • (anonymous function):28880/test/production/:59
      • h.onreadystatechange:28880/test/production/:54
    • GET http://dev.tag-all.com:28880/test/production/event/publisher/Dom.js?_dc=1349701450670 404 (Not Found)
    As you can see we also have a 404 error, asking for the Event.publisherDom.


    One other thing we realized : if we clean up all the data in the LocalStorage of our testing browser (Chrome) everything works well - at the first time

    but getting (at second update - i.e ftp transfert) this error :

    Code:
    Malformed delta content received for http://dev.tag-all.com:28880/test/production/app.js
    again if we clean up the localstorage from the Console of Chrome, everything (re)goes fine...


    We also facing an "localhost" error, which try to load (i.e start application on the dev folder onto our webserver - localy - apache 2 on mac osx)

    Code:
    event/Dispatcher.js
    Code:
    event/publisher/Dom.js
    This error looks like the framework try to load classes as if they were from the application (not in Touch framework, but thoses classes are from Touch... clear ?!)


    nb : i'll open a new BUG, since we start all from begining and a simple application (only with basic contents from sencha) IS BUGGED

  4. #4
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    have you set the path at the beginning of your app.js?
    Code:
    //<debug>
    Ext.Loader.setPath({
        'Ext': 'touch/src'
    });
    //</debug>

  5. #5
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Vote Rating
    -2
    YomeKitsuma has a little shameless behaviour in the past

      0  

    Default


    Hi ingo.hefti

    Not =D

    But if I well understood the "meaning" of this, it just in development phasis, not in production ?!

    I'll try it, and give you my feed back

    Thank

  6. #6
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Stupid me - of course, you are right. Apologize for interfering...