Hi excuse me if this is something obvious on our part, but I'm not the
GAE developer I'm afraid, so my troubleshooting abilities are pretty
limited!

Our logout button in our app was working fine until recently - and now
we get this error when you hit the logout button - does anybody know
if this could be something incompatible with a recent GAE update and
the classes involved here?

Traceback (most recent call last):
 File "C:\google_appengine\google\appengine\tools\dev_appserver.py",
line 3199, in _HandleRequest
   self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
 File "C:\google_appengine\google\appengine\tools\dev_appserver.py",
line 3142, in _Dispatch
   base_env_dict=env_dict)
 File "C:\google_appengine\google\appengine\tools\dev_appserver.py",
line 524, in Dispatch
   base_env_dict=base_env_dict)
 File "C:\google_appengine\google\appengine\tools\dev_appserver.py",
line 2401, in Dispatch
   self._module_dict)
 File "C:\google_appengine\google\appengine\tools\dev_appserver.py",
line 2311, in ExecuteCGI
   reset_modules = exec_script(handler_path, cgi_path, hook)
 File "C:\google_appengine\google\appengine\tools\dev_appserver.py",
line 2209, in ExecuteOrImportScript
   script_module.main()
 File "C:\gae\app\app.py", line 36, in main
   run_wsgi_app(application)
 File "C:\google_appengine\google\appengine\ext\webapp\util.py", line
97, in run_wsgi_app
   run_bare_wsgi_app(add_wsgi_middleware(application))
 File "C:\google_appengine\google\appengine\ext\webapp\util.py", line
115, in run_bare_wsgi_app
   result = application(env, _start_response)
 File "C:\gae\app\joyapp\beaker\middleware.py", line 152, in __call__
   return self.wrap_app(environ, session_start_response)
 File "C:\gae\app\joyapp\request\middleware.py", line 11, in __call__
   beforerequest.do(request)
 File "C:\gae\app\components\beforerequest.py", line 10, in do
   request.user = User.get_by_id(request.session['user_id'])
 File "C:\google_appengine\google\appengine\ext\db\__init__.py", line
1057, in get_by_id
   ids, multiple = datastore.NormalizeAndTypeCheck(ids, (int, long))
 File "C:\google_appengine\google\appengine\api\datastore.py", line
121, in NormalizeAndTypeCheck
   (types, arg, typename(arg)))
BadArgumentError: Expected an instance or iterable of (<type 'int'>,
<type 'long'>); received  (a str).

-- 
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-appeng...@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.

Reply via email to