On Sat, Nov 12, 2011 at 8:26 AM, Brian Quinlan <bquin...@google.com> wrote:
> Hi Pol,
>
> On Sat, Nov 12, 2011 at 7:46 AM, Pol <p...@everpix.net> 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

Oops, I meant:

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

Cheers,
Brian

>> 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 <bquin...@google.com> wrote:
>>> On Fri, Nov 11, 2011 at 2:44 AM, Pol <p...@everpix.net> 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 google-appengine@googlegroups.com.
>>> > To unsubscribe from this group, send email to 
>>> > google-appengine+unsubscr...@googlegroups.com.
>>> > 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 google-appengine@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.
>>
>>
>

-- 
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-appengine@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