Hi Pol,

On Sat, Nov 12, 2011 at 7:46 AM, Pol <[email protected]> wrote:
> Indeed the problem is the parsing of app.yaml:
> - url: /mapreduce(/.*)?  script: $PYTHON_LIB/google/appengine/ext/
> mapreduce/main.py  login: admin- url: /ereporter.*  script:
> $PYTHON_LIB/google/appengine/ext/ereporter/report_generator.py  login:
> admin
> So what do I use instead for script paths?

script: google.appengine.ext.mapreduce.application
script: google.appengine.ext.ereporter.report_generator.main.APP

> Looking into the SDK
> source, these extensions are not 2.7 multithreaded ready.

How so?

Cheers,
Brian

> On Nov 10, 6:10 pm, Brian Quinlan <[email protected]> wrote:
>> On Fri, Nov 11, 2011 at 2:44 AM, Pol <[email protected]> wrote:
>> > Hi,
>>
>> > What are the plans to get these 2 extensions compatible with Python
>> > 2.7 multithreaded?
>>
>> > $PYTHON_LIB/google/appengine/ext/mapreduce/main.py
>> > $PYTHON_LIB/google/appengine/ext/ereporter/report_generator.py
>>
>> I assume that you are seeing an error during the parsing of your appcfg.py 
>> file?
>>
>> The error message should say that you can't use a CGI with threadsafe.
>> The solution is to use WSGI in your handlers instead i.e.
>>
>> google.appengine.ext.mapreduce.application
>> google.appengine.ext.ereporter/report_generator.application
>>
>> Cheers,
>> Brian
>>
>>
>>
>>
>>
>>
>>
>> > Thanks,
>>
>> > - Pol
>>
>> > --
>> > 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 
>> > athttp://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.
>
>

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

Reply via email to