an update() that updates 0 records is not considered a failure so there
will be no logs about it.
On Wednesday, March 7, 2012 4:41:14 AM UTC-8, Sushant Taneja wrote:
>
> The update() returns 0. I am now taking care of it.
> But I still don't see any error logs corresponding to the updates etc.
>
The update() returns 0. I am now taking care of it.
But I still don't see any error logs corresponding to the updates etc.
May be the reason is eventual consistency.
Thanks for the help
On Wednesday, March 7, 2012 10:16:32 AM UTC+5:30, Sushant Taneja wrote:
>
> As per my understanding, update s
As per my understanding, update statement returns the number of records
updated.
What does it return when no records are updated 0 or None ?
Will have to modify my code accordingly
On Wednesday, March 7, 2012 9:33:48 AM UTC+5:30, howesc wrote:
>
> you probably need to add some more logging to se
you probably need to add some more logging to see what is happening.
perhaps the row is not found? (remember eventual consistency), perhaps
there is some other error that is currently not being logged
On Tuesday, March 6, 2012 7:18:36 AM UTC-8, Sushant Taneja wrote:
>
> Yes I did check GAE
Yes I did check GAE logs.
There are no logs with severity level error.
On Tuesday, March 6, 2012 7:46:52 PM UTC+5:30, yamandu wrote:
>
> I dont know, but have you examined the GAE log?
>
> 2012/3/6 Sushant Taneja :
> > Hi,
> >
> > I thought the same but as you can see I have handled the Timeout
I dont know, but have you examined the GAE log?
2012/3/6 Sushant Taneja :
> Hi,
>
> I thought the same but as you can see I have handled the Timeout exception
> in the code.
> If its the Timeout then why I am unable to catch the exception ?
>
> On Tuesday, March 6, 2012 7:30:38 PM UTC+5:30, yamand
Hi,
I thought the same but as you can see I have handled the Timeout exception
in the code.
If its the Timeout then why I am unable to catch the exception ?
On Tuesday, March 6, 2012 7:30:38 PM UTC+5:30, yamandu wrote:
>
> Looks its a timeout.
> Maybe I am wrong but you can state an update too
Looks its a timeout.
Maybe I am wrong but you can state an update too many records. GAE has
time limitations, I dont know how much because I dont use it anymore.
Search for the GAE docs on these limitations.
2012/3/6 Sushant Taneja :
> Hi All,
>
> I am building a invite module.
> In the controller
Hi All,
I am building a invite module.
In the controller, I have the following code :
try:
some initial stuff
try:
... some stuff
update_request_query = (db.INVITE_SIGNUP.email_id ==
request_email_id)
db(update_request_query).update(activation_key=key,activ
9 matches
Mail list logo