wufire / channel-tac-toe Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/channel-tac-toe
Automatically exported from code.google.com/p/channel-tac-toe
What steps will reproduce the problem?
1. Create a new eclipse project with AppEngine 1.5.5
2. Manually copy files into place from TicTacToe SVN
3. Run app, log on with 2-character user.
What is the expected output? What do you see instead?
I'm expecting to see the tictactoe game running on my local machine.
I added two println's to see the problem:
System.out.println("<p>userid: " + userId );
System.out.println("<p>channelKey: " + game.getChannelKey(userId)
Here is the output:
<p>userid: 11562343036115170244
<p>channelKey:
11562343036115170244ahRqYXZhLWNoYW5uZWwtdGFjLXRvZXIKCxIER2FtZRgYDA
Any help would be appreciated, thanks,
--Erik
What version of the product are you using? On what operating system?
Win7. I see that TicTacToe is distributed with AppEngine 1.3.8.
Trying to get it to run on 1.5.5
Please provide any additional information below.
Oct 31, 2011 12:58:21 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via
com.google.apphosting.utils.jetty.JettyLogger
Oct 31, 2011 12:58:21 PM
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed
C:\src\jsource\eclipseWorkspace\tic-tac-toe\war\WEB-INF/appengine-web.xml
Oct 31, 2011 12:58:21 PM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed
C:\src\jsource\eclipseWorkspace\tic-tac-toe\war\WEB-INF/web.xml
Oct 31, 2011 7:58:22 AM com.google.appengine.tools.development.DevAppServerImpl
start
INFO: The server is running at http://localhost:8888/
<p>userid: 11562343036115170244
<p>channelKey:
11562343036115170244ahRqYXZhLWNoYW5uZWwtdGFjLXRvZXIKCxIER2FtZRgYDA
Oct 31, 2011 7:58:48 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: /tic_tac_toe
java.lang.IllegalArgumentException: Invalid client ID. The clientid must be
fewer than 64 bytes when encoded to UTF-8.
at com.google.appengine.api.channel.ChannelServiceImpl.getExceptionForPrecondition(ChannelServiceImpl.java:110)
at com.google.appengine.api.channel.ChannelServiceImpl.createChannel(ChannelServiceImpl.java:37)
at com.google.appengine.demos.channeltactoe.TicTacToeServlet.doGet(TicTacToeServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
<p>userid: 11562343036115170244
<p>channelKey:
11562343036115170244ahRqYXZhLWNoYW5uZWwtdGFjLXRvZXIKCxIER2FtZRgZDA
Oct 31, 2011 7:58:48 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: /favicon.ico
java.lang.IllegalArgumentException: Invalid client ID. The clientid must be
fewer than 64 bytes when encoded to UTF-8.
at com.google.appengine.api.channel.ChannelServiceImpl.getExceptionForPrecondition(ChannelServiceImpl.java:110)
at com.google.appengine.api.channel.ChannelServiceImpl.createChannel(ChannelServiceImpl.java:37)
at com.google.appengine.demos.channeltactoe.TicTacToeServlet.doGet(TicTacToeServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Original issue reported on code.google.com by [email protected]
on 31 Oct 2011 at 1:06
What steps will reproduce the problem?
1. Look for a demo
What is the expected output? What do you see instead?
I expect a demo. I see none.
What version of the product are you using? On what operating system?
This section is not applicable.
Please provide any additional information below.
I am going to setup a demo at channel-tac-toe.appspot.com.
Original issue reported on code.google.com by theonlypwner
on 23 May 2011 at 8:03
What steps will reproduce the problem?
1. Get a friend to play
2. Complete one round
3. Fail...
What is the expected output? What do you see instead?
I expect it to let me play a new game. I see it stops.
What version of the product are you using? On what operating system?
I am using the SVN trunk version. On Google App Engine.
Please provide any additional information below.
Original issue reported on code.google.com by theonlypwner
on 23 May 2011 at 8:21
What steps will reproduce the problem?
1. Checkout the svn
svn checkout http://channel-tac-toe.googlecode.com/svn/trunk/
channel-tac-toe-read-only
2. Add the application to GoogleAppEngineLauncher
3. Browse to the page
What is the expected output? What do you see instead?
Expected to be able to use the tic tac toe game to learn how to implement
channel api
What version of the product are you using? On what operating system?
MacOSX 10.8.3, GAELauncher 1.7.7
Please provide any additional information below.
From the log:
ERROR 2013-04-28 05:14:13,479 cgi.py:121] Traceback (most recent call last):
File "/Users/dd/Python/channel-tac-toe-read-only/chatactoe.py", line 18, in <module>
from django.utils import simplejson
ImportError: No module named django.utils
Original issue reported on code.google.com by [email protected]
on 28 Apr 2013 at 5:18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.