This is discussed here: http://code.google.com/p/googleappengine/issues/detail?id=6091
bottom line is that you need some patch: http://googleappengine.googlecode.com/issues/attachment?aid=60910003000&name=channel_patch.txt&token=043dc19378a71caec749fc17ee6ceaf8 On Nov 16, 2:27 am, Emlyn <emlynore...@gmail.com> wrote: > Hi, > > I'm playing with the Channel API at the moment. It's good! And by > playing, I mean implementing in a commercial product (of course). > > It's all working happily, I just have a minor niggle that it's killing > my dev appserver. Basically, as soon as I call channel.open(), blamo! > The appserver goes down like a ton of bricks. So for an app that's > relying fairly heavily on the channel API, the dev appserver unusable > like this. > > Here's a test page: > > <html> > <head></head> > <body> > <script type="text/javascript" src="/_ah/channel/jsapi"></script> > <script> > channel = new goog.appengine.Channel('xyz'); > socket = channel.open(); > </script> > Hello > </body> > > Here's the result: > > =========================== > Traceback (most recent call last): > ---------------------------------------- File > "/usr/lib/python2.7/SocketServer.py", line 284, in > _handle_request_noblock > self.process_request(request, client_address) > File "/usr/lib/python2.7/SocketServer.py", line 311, in process_request > self.shutdown_request(request) > File "/usr/lib/python2.7/SocketServer.py", line 459, in shutdown_request > request.shutdown(socket.SHUT_WR) > AttributeError: 'ChannelPresenceConnection' object has no attribute 'shutdown' > > Exception happened during processing of request from ('0.1.0.10', 80) > ---------------------------------------- > ERROR 2011-11-16 00:55:41,127 dev_appserver_main.py:664] Error encountered: > Traceback (most recent call last): > > File > "/opt/google/google_appengine/google/appengine/tools/dev_appserver_main.py" , > line 657, in main > http_server.serve_forever() > > File "/opt/google/google_appengine/google/appengine/tools/dev_appserver.py", > line 3527, in serve_forever > self.handle_request() > > File "/opt/google/google_appengine/google/appengine/tools/dev_appserver.py", > line 3490, in handle_request > self._handle_request_noblock() > > File "/usr/lib/python2.7/SocketServer.py", line 287, in > _handle_request_noblock > self.shutdown_request(request) > > File "/usr/lib/python2.7/SocketServer.py", line 459, in shutdown_request > request.shutdown(socket.SHUT_WR) > > AttributeError: 'ChannelPresenceConnection' object has no attribute 'shutdown' > > Now terminating. > =========================== > > I'm using python 2.7 and sdk 1.6.0 > > I've just checked that if I switch back to python 2.5 (ie: runtime: > python instead of runtime: python27) then it seems to work. However, > that's not really an option, as I'm becoming fairly dependent on > python 2.7 now throughout my app. > > Any workarounds, hacks, fixes even? Or just ideas? > > -- > Emlyn > > http://my.syyn.cc- Synchonise Google+, Facebook, WordPress and Google > Buzz posts, > comments and all.http://point7.wordpress.com- My blog > Find me on Facebook and Buzz -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.