oops. forgot to post it here, in case you guys want to fix it before the 
official release.

http://code.google.com/p/googleappengine/issues/detail?id=7011


On Monday, February 27, 2012 6:33:20 PM UTC+1, Robert Schuppenies wrote:
>
> Good sleuthing, Alex! Could you file a bug for this?:
> http://code.google.com/p/googleappengine/issues/entry
> It'll make it easier to track this issue.
>
> Thanks!,
> robert
>
>
> On Fri Feb 24 14:10:57 GMT-800 2012, alex <[email protected]> wrote: 
>
>> First off, awesome job.
>>
>> There's one thing I'm not sure whether I'm missing something or doing it 
>> wrong but, a command like this one:
>>
>> appcfg.py --oauth2 -V <some-version> request_logs APP_ROOT 
>> /tmp/requests.log
>>
>> gives me an exception:
>>
>> TypeError: object of type 'NoneType' has no len()
>>
>> I noticed in appengine_rpc_httplib2.py, in Send(...) method args: 
>>
>> "...payload: The body of the request, or None to send an empty request." And 
>> later, in the code (line 204), there's this:
>>
>> headers['content-length'] = str(len(payload))
>>
>> - and that's precisely where it gives the exception, because request_logs 
>> action eventually calls Send() with payload=None.
>>
>> I know this is a prerelease so...  I was just wondering whether it's me 
>> doing something wrong.
>>
>>
>> PS I'm using python2.7. full traceback is attached.
>>
>>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/edRBrOsihQUJ.
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