Marzia,
I don't want to seem disagreeable, unappreciative, or anything like
that. But I really have to agree with Ben on this one.
It seems to me that this change introduces a bug. I've been using
python for 8 years now, and I can't think of any reason for a has_key
method to take only one arg
Hi Ben,
It's certainly not our desire to introduce any changes in the App Engine
library that would break our users app, but from time to time some parts of
the apis and libraries will be modified to fix issues/enhance features.
When these fixes happen, it's always possible that this will break a
Hi Marzia,
Thanks for the explanation!
I'm a little bit surprised that the production API would change on its
own like this. This makes a production application incredibly unstable
if the underlying GAE API can change without warning. Is there any
plan to allow an application to freeze the API o
Hi Ben,
The recent maintenance included some changes to db.py, including adding a
has_key function, which seems to be causing the error with template
rendering.
The new SDK has not yet been released, but the easiest/quickest fix would be
to take the google.appengine.ext.db __init__.py file from 1
Hi Marzia,
Thanks again for your help.
I want to stress that this started happening with no change in code on
my end. And it works just fine in the SDK. Was there a library change
of any kind in GAE over the last few days?
The source code for my app is entirely public. Here's the template in
pa
Hi Ben,
It's difficult to know what this stack trace means with out an idea of what
kind of obj the has_key method belongs to. Would it be possible to at least
provide the template that is being rendered? And a description of what one
expects to be rendered?
-Marzia
On Fri, Nov 14, 2008 at 11:5
Marzia,
It's a little difficult to cut down the example to size, because *all*
of my pages that render content from the store are giving errors.
Here's one URL where the issue comes up:
http://dev.heliosvoting.org/elections/ahBkZXYtaGVsaW9zdm90aW5ncg8LEghFbGVjdGlvbhiRAww/view
and that will give
Hi Ben,
Can you provide a more complete example of the code that causes this issue?
As well as the complete stack trace.
Thanks,
Marzia
On Fri, Nov 14, 2008 at 9:40 AM, Ben Adida <[EMAIL PROTECTED]> wrote:
>
>
> Suddenly, I'm getting the following errors on just about every page:
>
> if hasattr