1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    14
    Vote Rating
    0
    thecodegenius is on a distinguished road

      0  

    Default Unanswered: sencha touch 2 + google app engine

    Unanswered: sencha touch 2 + google app engine


    Hello, it's me again!
    So I've just about finished my first app which was a good learning experience and am now moving on to testing it. I would like to deploy my app to various mobile platforms and would also like to deploy it to google app engine. I thought deploying to gae would be very quick and straight forward but I have immediately encountered a problem with the cache.manifest file. The blue app loading indicator dots are shown on the screen but the app never loads. The output from the console is as follows;

    Code:
    Creating Application Cache with manifest http://nameofapp.appspot.com/cache.manifest
    Application Cache Checking event
    Application Cache Error event: Failed to parse manifest http://nameofapp.appspot.com/cache.manifest
    
    • Uncaught SyntaxError: Unexpected token <
      • r
      • q.blink
      • g.onreadystatechange
    I was hoping that maybe somebody had encountered this problem before and could tell me how to resolve the issue so that I don't have to resort to digging through the source found here
    https://github.com/glebpopov/WeatherTouch--Sencha-Touch-App
    This app seems to be structured differently from mine it doesn't have a cache.manifest. I wouldn't want to rewrite my app if at all possible.
    Thanks

    p.s
    I'm using the python GAE framework

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,073
    Answers
    3500
    Vote Rating
    852
    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


    Looks like it is trying the ajax call to load app.js but google app engine isn't returning the file. Check out the network tab of dev tools.
    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.

Thread Participants: 1