Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Linz, AT
    Posts
    31
    Answers
    1
    Vote Rating
    1
    drindal is on a distinguished road

      0  

    Default Answered: sencha-io-0.7.13 Failed loading 'proxy/syncstorage.js'

    Answered: sencha-io-0.7.13 Failed loading 'proxy/syncstorage.js'


    Hi everyone,

    yesterday I downloaded the sencha io sdk and tried to get it running. I followed the instructions in the docs. But the chrome console always throws following error:

    Code:
    GET http://127.0.0.1:8020/MyApp/proxy/syncstorage.js?_dc=1362732175998 404 (Not Found) sencha-touch.js:7979
    Uncaught Error: [Ext.Loader] Failed loading 'proxy/syncstorage.js', please verify that the file exists
    app.js
    Code:
    Ext.Loader.setPath({    
        'Ext' : 'touch/src',
        'Ext.io': 'io/src/io',
        'Ext.cf': 'io/src/cf',
        enabled : true
    });
    app.json
    Code:
     "js": [
            {
                "path": "touch/sencha-touch.js"
            },      
         //   {
         //          "path": "io/lib/sencha-io-debug.js"
         //   },       
            {
                "path": "app.js",
                "bundle": true,  /* Indicates that all class dependencies are concatenated into this file when build */
                "update": "delta"
            }
        ],
    when I include "path": "io/lib/sencha-io-debug.js" I get following error:
    Code:
    Uncaught RangeError: Maximum call stack size exceeded
    Uncaught Error: The following classes are not declared even if their files have been loaded: ''. Please check the source code of their corresponding files for possible typos: '
    .sencha/app/sencha.cfg
    Code:
    app.name=HoMaSys
    app.framework=touch
    app.classpath=${app.dir}/app.js,${app.dir}/app,${app.dir}/io
    app.preprocessor.opts=touch:true
    What did I do wrong? Do anyone has a clue?

    Thanks!

  2. Drindal any luck? I'm getting the same error. Works fine if I create a store and use the "syncstorage" proxy, but I can't seem to get it to work as a Model proxy

  3. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    Linz, AT
    Posts
    31
    Answers
    1
    Vote Rating
    1
    drindal is on a distinguished road

      0  

    Default


    Does sencha.io work with sencha touch 2.1.1?

  4. #3
    Sencha - IO Dev Team
    Join Date
    Apr 2011
    Posts
    73
    Answers
    23
    Vote Rating
    4
    jason.cline is on a distinguished road

      0  

    Default


    Sencha.io has been tested and works with Sencha Touch versions 2.1, 2.1.1 and 2.2b1

    In one of your examples above you added the 'cf' to the loader. That should not be needed, though I don't think adding it would cause the problems you were seeing.

    Also if you are using the Cmd and the loader you should not need to include the pre-built io library. That is only for apps that are not using the loader or Cmd.


    Take another look at the guides for either adding io to an existing app:
    http://docs.sencha.io/current/index....de/integration

    Or setting up the example apps:
    http://docs.sencha.io/current/index....rview_examples

    You should be able to get the example apps up and running by following the steps in the above example.

  5. #4
    Sencha User
    Join Date
    Jun 2010
    Posts
    5
    Answers
    2
    Vote Rating
    0
    ebarber is on a distinguished road

      0  

    Default


    Drindal any luck? I'm getting the same error. Works fine if I create a store and use the "syncstorage" proxy, but I can't seem to get it to work as a Model proxy

  6. #5
    Sencha User
    Join Date
    Apr 2012
    Location
    Linz, AT
    Posts
    31
    Answers
    1
    Vote Rating
    1
    drindal is on a distinguished road

      0  

    Default


    Unfortunately not. I managed to get the examples with the sync proxy working, but not my project. I will give the hint with the store and the proxy a try.

Thread Participants: 2

Tags for this Thread

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