ereporter error under py27

620 views
Skip to first unread message

J.T

unread,
Oct 11, 2011, 11:17:14 PM10/11/11
to Google App Engine
appcfg.py update myapp

Error parsing yaml file:
Invalid object:
threadsafe cannot be enabled with CGI handler: $PYTHON_LIB/google/
appengine/ext/ereporter/report_generator.py
in "***\app.yaml", line 320, column 1

Matt Jibson

unread,
Oct 11, 2011, 11:27:07 PM10/11/11
to google-a...@googlegroups.com
You cannot use the CGI handlers with concurrent requests. Use WSGI instead:

http://code.google.com/appengine/docs/python/python27/using27.html#Configuring_WSGI_Script_Handlers

> --
> 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-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>

Sam McNally

unread,
Oct 12, 2011, 12:46:19 AM10/12/11
to google-a...@googlegroups.com
Use google.appengine.ext.ereporter.report_generator.application as the handler.

Anand Mistry

unread,
Oct 12, 2011, 12:54:32 AM10/12/11
to google-a...@googlegroups.com
Try using "google.appengine.ext.ereporter.report_generator.application" as the script handler.

chachan

unread,
Oct 12, 2011, 5:29:59 AM10/12/11
to google-a...@googlegroups.com
You should point the script to the app (global scope) instead of a .py script


for example, if your application id is guestbook you should use something like this in .yaml (look at the script extension):

handlers:
- url: /.*
  script: guestbook.default

and something like this in your handler:

default = webapp2.WSGIApplication([('/', MainPage)],
                              debug=True)
Reply all
Reply to author
Forward
0 new messages