I've seen that error (on line 80) when the token that's passed to the goog.appengine.Channel constructor is malformed -- either with extra stuff (eg. a carriage return) or not the value returned by create_channel. The next release of the channel.js, in a couple of weeks, will include more informative error text in the exception that gets thrown here.
Looking at your python code, I don't see where you use the return of create_channel in your template - maybe that's the problem? I think if you just add a line like: 'channel_id' : id, to the template_values declaration at line 44 it'll help. On Jan 12, 12:32 pm, Michael Lieberman <[email protected]> wrote: > Hi, > > This is my first foray into web application development so I apologize > if there's something major I screwed up to begin with. My code works > fine using the app engine launcher and the dev_appserver.py test > server. However when I deploy the code to appspot I get an error > saying that line 80 of _ah/channel/jsapi has an error. If I > loadhttp://talkgadget.google.com/talkgadget/channel.jsmanually I get the > same error. However I copied the _ah/channel/jsapi file on the dev > server and forced my code to use that .js file and then posted it to > app spot and it works. > > The code in question is > athttp://code.google.com/p/cloudy-ide/source/browse/main.py -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
