Hi, Perhaps you've got Game defined in multiple packages / modules? Search your code for "class Game".
Robert On Mon, Mar 21, 2011 at 05:56, De Erfenis <[email protected]> wrote: > Hello, > > I 80% of the time i don't get any errors. But the other 20% I get the > error below. In the meanwhile i didn't deploy or change anything. > > Anyone having the same issues? > > Cheers, > > De Erfenis > > # > > 145.48.233.132 - - [21/Mar/2011:01:46:11 -0700] "GET /v04/api/game/ > HTTP/1.1" 500 519 - "Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv: > 1.9.2.15) Gecko/20110303 Firefox/3.6.15,gzip(gfe)" > "deerfenisb.appspot.com" ms=22 cpu_ms=108 api_cpu_ms=85 > cpm_usd=0.003103 > > # > E 2011-03-21 01:46:11.049 > > Kind 'Game' is not a subclass of kind 'Game' > Traceback (most recent call last): > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > ext/webapp/__init__.py", line 515, in __call__ > handler.get(*groups) > File "/base/data/home/apps/deerfenisb/1.349140467813081804/v04/ > game.py", line 73, in get > js = default_to_json(GameHandler.getAllGames()) > File "/base/data/home/apps/deerfenisb/1.349140467813081804/v04/model/ > Game.py", line 72, in getAllGames > list.append(GameHandler.getGameByKey(game.key(), False, False, > True, False)) > File "/base/data/home/apps/deerfenisb/1.349140467813081804/v04/model/ > Game.py", line 31, in getGameByKey > game = Game.get(key) > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > ext/db/__init__.py", line 1073, in get > (instance.kind(), cls.kind())) > KindError: Kind 'Game' is not a subclass of kind 'Game' > > -- > 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. > > -- 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.
