[google-appengine] Python 3.8 General availability

2020-04-13 Thread Alon Menczer
Is there any ETA? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/377a355f-8b85-4261-81a4-69abcc7c321e%40googlegroups.com.


[google-appengine] Re: App Engine Flex "Error: Server Error" occurs often, how to find cause?

2017-05-10 Thread Alon Schwartzman
Hi Nick.

I just deployed a node js app and I'm experiencing the same issue.

Usingt the Stackdriver logs i can see the instance fails to start my app.

read-function of plugin `tail-0' failed. Will suspend it for 480.000 
seconds."   

Can you help?

Thanks 





On Friday, March 3, 2017 at 5:40:17 PM UTC+2, Nick (Cloud Platform Support) 
wrote:
>
> Hey Nickolas,
>
> This forum should be used to post general discussion threads about the 
> platform, services, design patterns, etc., and a specific-issue question 
> like this should be posted to Stack Overflow, although maybe we could 
> gather more information before that, as in this state it seems there's not 
> quite enough information for anyone to begin working on it. I have some 
> lines of investigation which might lead to a better understanding:
>
> 1 .This could be a case of not inspecting the logs with the right logs 
> level - are you sure you're viewing "All logs", and not just "stdout, 
> stderr"? 
>
>
> 
>
> 2. You might also want to check whether you have any logs for the resource 
> "Cloud HTTP Load Balancer" as opposed to "GAE Application" 
>
> 3. A final thing to check would be the headers attached to the response - 
> specifically looking to see what the "server" header says - to determine 
> whether this response is generated by our machines or your own. It seems to 
> look like an error that our infrastructure generates, not your app, but 
> it's good to check.
>
> Let me know what you find, and feel free to ask any further questions or 
> provide any information you think may be relevant.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Thursday, March 2, 2017 at 7:19:16 PM UTC-5, Nickolas Daskalou wrote:
>>
>> Hi,
>>
>> If we hit our Flexible environment service (Python 3 runtime) with a 
>> relatively low concurrency level using ApacheBench, we get this returned 
>> more often than not:
>>
>> Error: Server ErrorThe server encountered a temporary error and could 
>> not complete your request.
>>
>> Please try again in 30 seconds.
>>
>> I can't seem to find any information in any of logs about why this is 
>> occurring.
>>
>> Is there a way to get the cause of the above page being returned, whether 
>> it be via the logs or otherwise?
>>
>> Thanks,
>> Nick
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/65bc2777-1cf6-47c1-9834-e9b7d246ae37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: In last hour 11:00 UTC many 121 Errors

2012-05-08 Thread Alon (Google)
Hi All,

Please do follow along or star this issue if you want to stay updated:
http://code.google.com/p/googleappengine/issues/detail?id=7348 

We're currently looking into it and will post updates there as they become 
available.

Thanks for calling this to our attention.

-Alon

On Tuesday, May 8, 2012 8:04:20 AM UTC-7, Jason wrote:
>
> I'm also still getting lots of these, too. app id: j-findmegf
>
> On Tuesday, May 8, 2012 8:57:09 AM UTC-5, Dudinha wrote:
>>
>> I'm still receiving these errors in one of mine applications.
>>
>> On Tuesday, May 8, 2012 10:15:00 AM UTC-3, Moises Belchin wrote:
>>>
>>> now everything seems to be stable again
>>>
>>> Saludos.
>>> Moisés Belchín.
>>>
>>>
>>>
>>> 2012/5/8 Kenneth 
>>>
>>>> Yeah, I'm hit by this too, see my earlier post.  Someone at Google 
>>>> needs to turn a dial.
>>>>
>>>>
>>>> On Tuesday, May 8, 2012 1:02:49 PM UTC+1, Moises Belchin wrote:
>>>>>
>>>>> This is sample log error:
>>>>>
>>>>>
>>>>>1.  2012-05-08 12:01:23.248 
>>>>>
>>>>>This request caused a new process to be started for your application, 
>>>>> and thus caused your application code to be loaded for the first time. 
>>>>> This request may thus take longer and use more CPU than a typical request 
>>>>> for your application.
>>>>>
>>>>>2.  W2012-05-08 12:01:23.248 
>>>>>
>>>>>A problem was encountered with the process that handled this request, 
>>>>> causing it to exit. This is likely to cause a new process to be used for 
>>>>> the next request to your application. (Error code 121)
>>>>>
>>>>>
>>>>>
>>>>> Saludos.
>>>>> Moisés Belchín.
>>>>>
>>>>>
>>>>>
>>>>> 2012/5/8 pdknsk 
>>>>>
>>>>>> I'm having the same problem, but only on a single backend. Submitted a
>>>>>> production issue to Google, but no reply or improvement so far.
>>>>>>
>>>>>> --
>>>>>> 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+unsubscribe@**googlegroups.com
>>>>>> .
>>>>>> For more options, visit this group at http://groups.google.com/**
>>>>>> group/google-appengine?hl=en<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 view this discussion on the web visit 
>>>> https://groups.google.com/d/msg/google-appengine/-/79fmRGKEKucJ.
>>>>
>>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/1iRUO0uo5agJ.
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.



[google-appengine] Re: GAE Error code 121 - what does it mean?

2012-05-08 Thread Alon (Google)
Hi All,

Please do follow along or star this issue if you want to stay updated:
http://code.google.com/p/googleappengine/issues/detail?id=7348 

We're currently looking into it and will post updates there as they become 
available.

Thanks for calling this to our attention.

-Alon

On Tuesday, May 8, 2012 11:31:18 AM UTC-7, ddubs wrote:
>
> I'm having this issue as well. 
>
> People are reporting on this post as well: 
> http://code.google.com/p/googleappengine/issues/detail?id=7348 
>
> They recommend removing the automatic settings from Performance 
> settings which seeems to help. 
>
> On May 8, 11:27 am, Christina Ilvento  wrote: 
> > Hi All, 
> > 
> > Thank you for raising this issue, we are looking into it. 
> > 
> > Thanks, 
> > Christina 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Tue, May 8, 2012 at 11:10 AM, Dimfra  
> wrote: 
> > > Hi, 
> > 
> > > We have the same problem today. 
> > > We posted a production issue. 
> > > No answer yet (down for 5 hours already!!!) 
> > 
> > > On May 8, 1:18 pm, Jay  wrote: 
> > > > I'm seeing the same, unrelated to indexes or any changes. I was 
> > > deploying a 
> > > > version of the app with only a logging change and I see 121 on new 
> > > > deployments/versions. 
> > 
> > > > On Tuesday, May 8, 2012 11:51:11 AM UTC-5, Stu Thorne wrote: 
> > 
> > > > > Hi, 
> > 
> > > > > I have been seeing similar issues today. I believe they are of my 
> own 
> > > > > doing, and here are my steps to resolution in case they help: 
> > 
> > > > > Issue 
> > 
> > > > > * I had manually edited the index.yaml file for Datastore indexes, 
> and 
> > > > > had not cleaned up the indexes in the dev server 
> > > > > * This caused the same, intermittent error responses and log 
> messaging 
> > > > > that you have been seeing, on all HTTP Requests 
> > 
> > > > > Resolution 
> > 
> > > > > * Rolled back index.yaml from source control file and redeployed 
> > > > > * No further issues present with current testing 
> > 
> > > > > Hope this helps. 
> > 
> > > > > Stu 
> > 
> > > > > On May 8, 1:35 pm, maek75  wrote: 
> > > > > > Hi, we have an app running on GAE, developed with java/spring. 
> The 
> > > app 
> > > > > > has been running fine until today, when we suddenly see lots of 
> error 
> > > > > > messages in the logs (see below). What do they mean? The app 
> performs 
> > > > > > openId authentication based on openid4java. We don't use own 
> threads 
> > > > > > and as said, the app worked fine earlier. Could it be that we 
> today 
> > > > > > face much more requests and the fact that opened needs to 
> redirect 
> > > the 
> > > > > > user back and forth? Even requesting a simple resource (like 
> below) 
> > > > > > gives the same error. Note that the error doesn't occur for 
> every 
> > > > > > request. 
> > 
> > > > > > @RequestMapping(value = "/auth/openid/success", produces = 
> "text/ 
> > > > > > html") 
> > > > > > public String loadSuccessPage(HttpServletResponse 
> > > > > > httpServletResponse, Model uiModel) { 
> > > > > > return "auth/openid/success"; 
> > > > > > } 
> > 
> > > > > > ERRORS FOUND IN ERROR LOG (we got below errors in same request): 
> > 
> > > > > > I 2012-05-08 05:26:29.638 
> > > > > > This request caused a new process to be started for your 
> application, 
> > > > > > and thus caused your application code to be loaded for the first 
> > > time. 
> > > > > > This request may thus take longer and use more CPU than a 
> typical 
> > > > > > request for your application. 
> > 
> > > > > > W 2012-05-08 05:26:29.638 
> > > > > > A problem was encountered with the process that handled this 
> request, 
> > > > > > causing it to exit. This is likely to cause a new process to be 
> used 
> > > > > > for the next request to your application. (Error code 121) 
> > 
> > > > > > ... and on the web page: 
> > &

[google-appengine] Re: Dashboard 500 errors - no access

2012-03-23 Thread Alon (Google)
Hi all,

I wanted to let you know that our production team responded and this issue 
should now be resolved.
We'll provide a more detailed response soon.

Thanks!


On Friday, March 23, 2012 12:55:46 PM UTC-7, Mark wrote:
>
> Same here
>
> On Friday, March 23, 2012 12:45:07 PM UTC-7, Carter wrote:
>>
>> We cannot access 
>> https://appengine.​​google.com/
>>
>> We repeatedly get the 500 error:
>> Error: Server ErrorThe server encountered an error and could not 
>> complete your request.
>>
>> If the problem persists, please 
>> report your 
>> problem and mention this error message and the query that caused it.
>>
>

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



[google-appengine] Re: High Replication Datastore Error

2011-11-07 Thread Alon (Google)
Hi Ronoaldo,

What you're seeing is an error in our monitoring system caused by
today's changes. HRD did not suffer any downtime.
Thank you for pointing this out!

-Alon
App Engine Team

On Nov 7, 11:06 am, Ronoaldo José de Lana Pereira
 wrote:
> Hi,
>
> I'm just curious to see this 
> charthttp://code.google.com/status/appengine/detail/hr-datastore/2011/11/0...
> and wold like to hear from Google team or developers that are under HRD if
> they're only displaying wrong or if this is the first *downtime* for HRD.
> Looks like get() or query() are giving 100% error rate, i.e.: unable to
> read your data.
>
> -Ronoaldo

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



[google-appengine] Re: 2nd post: A suggestion to implement price threshold for GAE

2011-09-09 Thread Alon (Google)
Hi TJ,

We don't currently support that type of threshold on a monthly basis,
but we do on a daily basis.
When you sign up for billing, you specify a daily budget. If you
exceed your specified daily budget, your app will stop serving for the
remainder of that day and will be available again the next day.

-Alon

On Sep 9, 12:52 pm, TJ Yang  wrote:
> Basically I am hoping to see my app will stop working once the $9/month
> cpu/data quota has been used up  for that month. And resume working next
> month. Is this possible currently ?

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



[google-appengine] Re: "Minimum per-application charge" - WTF?

2011-09-01 Thread Alon (Google)
Danny and I talked on Google+, but I wanted to update anyone else who
might have the same concerns about keeping your application's Frontend
Instance Hour usage below the free quota.
If you don't want to spin up more than one instance, try setting Min
Pending Request to 15 seconds. That basically tells the scheduler to
prefer to let extra requests wait until the existing instance frees
up.

On Sep 1, 11:05 am, Danny Tuppeny  wrote:
> Well they know wrong :-)
>
> Many people might not, but I'd rather a tiny handful of users see errors
> than cot me $9/month (especially as most of them are probably bots, which
> seem to visit my apps as much as humans!).
>
> On 1 September 2011 18:38, Vinuth Madinur  wrote:
>
>
>
>
>
>
>
> > They know you wont do that. Because it means showing a 500 error page for
> > quite a few users. And you would pay extra to avoid that.
>
> > On Thu, Sep 1, 2011 at 11:01 PM, Danny Tuppeny  wrote:
>
> >> On 1 Sep 2011, at 18:01, Barry Hunter  wrote:
>
> >> > Its been said in other thread that the "Platform fee" has been changed
> >> > to a minimum spend.
>
> >> > So if you enable billing, you will have to pay at least $9 even if you
> >> > dont use all of that.
>
> >> I don't really understand the logic here - if I have an app that uses
> >> $3/month of resources, I'm more likely to just not enable billing. That
> >> means Google get $0 instead of $3/month. I don't see why this is a better
> >> model for anyone :-(
>
> >> --
> >> 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.

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



[google-appengine] Re: A comparison of your current bill against the new pricing model is now available in the Billing History page.

2011-09-01 Thread Alon (Google)
Hi Jason,

Yes, Instance Hour billing is based on Total Instances -- turning down
'Max Idle Instances' should be an easy way to reduce your bill.
Also, be aware that the way we do real-time monitoring isn't perfect,
so the Instances graph or Instances page may show more than the
specified number of Idle Instances. However, you will never be charged
for more than the number of Max Idle Instances you specify.
Give that slider a shot. It will take a few days for the usage report
to appear, but if that doesn't have the desired effect on your moola,
please contact us at appengine_updated_pric...@google.com and someone
will try to help you out personally.

-Alon


On Aug 31, 3:39 pm, Jason Collins  wrote:
> Alon,
>
> Today, if I look at the Instances graph, the number of Total Instances
> is much higher than the Active Instances (and always has been) - in
> our case at the moment: 600 Total to about 150 Active.
>
> Question: is the sample billing based on the Total Instances? I.e., is
> tuning down the Max Idle Instances a really easy cost savings?
>
> P.S., here are the shocking numbers we're facing:
>
> app1: 3.8x increase (5.3x increase when Python instances go up in
> price, unless we can get to 2.7 and thread-safety in time)
> app2: 17.8x increase (34x increase when Python instances go up in
> price, unless we can get to 2.7 and thread-safety in time)
>
> In terms of real $$, for app1, we are looking at going from around
> $60,000 / year to around $318,000 / year - that is a LOT of moola for
> an application. If we cannot optimize down, it will be a prohibitive
> amount of moola.
>
> j
>
> On Aug 31, 3:47 pm, "Alon (Google)"  wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > If your large bill increase is attributable primarily to Frontend
> > Instance Hours, one of your best bets is to go to your 'Application
> > Settings' page and reduce the value for Max Idle Instances (don't
> > forget to click 'Save Settings'). You can use the 'Instances' graph on
> > your dashboard to help you to choose a good value -- and you should
> > also be able watch the effect on that same graph.
>
> > -Alon
>
> > On Aug 31, 2:38 pm, Arnaldo M Pereira  wrote:
>
> > > 160% increase in one app for me, 65% in another.
>
> > > In my case, I don't think it'll be enough to have a comparison table and 
> > > an
> > > optimization doc. I'll make an effort to optimize more my app, but I have
> > > the feeling that this has became too expensive for most of my needs now.
>
> > > On Wed, Aug 31, 2011 at 6:08 PM, Felippe Bueno 
> > > wrote:
>
> > > > Greg,
>
> > > > How could us start using it (reserved instance) before new pricing ?
>
> > > > I'm asking because I think that what increases the "instance hours" is 
> > > > the
> > > > 15-min startup penalization, am I wrong ?
>
> > > > On Wed, Aug 31, 2011 at 5:56 PM, Gregory D'alesandre 
> > > > wrote:
>
> > > >> Hey Robert, the simplest thing that will reduce your bill will be to 
> > > >> use
> > > >> reserved instance hours.  The bill estimates are for full priced
> > > >> instance-hours.  Are most of the apps java or python?  If java, are you
> > > >> using concurrent requests?  If python, do you want to participate in 
> > > >> the
> > > >> python2.7 trusted tester to try out concurrent requests and give us
> > > >> feedback?
> > > >>https://docs.google.com/spreadsheet/viewform?formkey=dDVaelk0NkhHMVA2...
>
> > > >> Thanks!
>
> > > >> Greg
>
> > > >> On Wed, Aug 31, 2011 at 1:51 PM, Robert Kluin 
> > > >> wrote:
>
> > > >>> My apps *are* quite optimized.  They are extremely fast, consume,
> > > >>> minimal RAM and very little CPU -- but there isn't much I can do about
> > > >>> the number of instances used.   I consistently see well under 2 QPS /
> > > >>> instance -- for requests that always return in under 200ms.  Seems
> > > >>> like the scheduler is performing  quite poorly.
>
> > > >>> On Wed, Aug 31, 2011 at 15:36, Alon (Google)  wrote:
> > > >>> > Please make sure to look at the strategies outlined in our new 
> > > >>> > article
> > > >>> > to try to optimize your app's resource usage:
> > > >>> >http://code.google.com/appengine/articles/managin

[google-appengine] Re: A comparison of your current bill against the new pricing model is now available in the Billing History page.

2011-08-31 Thread Alon (Google)
Hi All,

If your large bill increase is attributable primarily to Frontend
Instance Hours, one of your best bets is to go to your 'Application
Settings' page and reduce the value for Max Idle Instances (don't
forget to click 'Save Settings'). You can use the 'Instances' graph on
your dashboard to help you to choose a good value -- and you should
also be able watch the effect on that same graph.

-Alon

On Aug 31, 2:38 pm, Arnaldo M Pereira  wrote:
> 160% increase in one app for me, 65% in another.
>
> In my case, I don't think it'll be enough to have a comparison table and an
> optimization doc. I'll make an effort to optimize more my app, but I have
> the feeling that this has became too expensive for most of my needs now.
>
> On Wed, Aug 31, 2011 at 6:08 PM, Felippe Bueno wrote:
>
>
>
>
>
>
>
> > Greg,
>
> > How could us start using it (reserved instance) before new pricing ?
>
> > I'm asking because I think that what increases the "instance hours" is the
> > 15-min startup penalization, am I wrong ?
>
> > On Wed, Aug 31, 2011 at 5:56 PM, Gregory D'alesandre 
> > wrote:
>
> >> Hey Robert, the simplest thing that will reduce your bill will be to use
> >> reserved instance hours.  The bill estimates are for full priced
> >> instance-hours.  Are most of the apps java or python?  If java, are you
> >> using concurrent requests?  If python, do you want to participate in the
> >> python2.7 trusted tester to try out concurrent requests and give us
> >> feedback?
> >>https://docs.google.com/spreadsheet/viewform?formkey=dDVaelk0NkhHMVA2...
>
> >> Thanks!
>
> >> Greg
>
> >> On Wed, Aug 31, 2011 at 1:51 PM, Robert Kluin 
> >> wrote:
>
> >>> My apps *are* quite optimized.  They are extremely fast, consume,
> >>> minimal RAM and very little CPU -- but there isn't much I can do about
> >>> the number of instances used.   I consistently see well under 2 QPS /
> >>> instance -- for requests that always return in under 200ms.  Seems
> >>> like the scheduler is performing  quite poorly.
>
> >>> On Wed, Aug 31, 2011 at 15:36, Alon (Google)  wrote:
> >>> > Please make sure to look at the strategies outlined in our new article
> >>> > to try to optimize your app's resource usage:
> >>> >http://code.google.com/appengine/articles/managing-resources.html
>
> >>> > On Aug 31, 1:33 pm, Robert Kluin  wrote:
> >>> >> Instance hours are the killer here too, seeing between 2x and 4x
> >>> >> depending on the app (with 50% discount).
>
> >>> >> On Wed, Aug 31, 2011 at 15:28, Waleed Abdulla 
> >>> wrote:
> >>> >> > It's 300% for me (3x what I pay now). Most of the cost is datastore
> >>> writes
> >>> >> > and reads, followed by instance hours.
>
> >>> >> > On Wed, Aug 31, 2011 at 1:26 PM, pdknsk 
> >>> wrote:
>
> >>> >> >> It's an about 50% increase for me, because of datastore writes.
>
> >>> >> >> --
> >>> >> >> 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.
>
> >>> > --
> >>> > You received this message because you are subscribed to the Google
> >>> Groups "Google App Engine" group.
> >

[google-appengine] Re: A comparison of your current bill against the new pricing model is now available in the Billing History page.

2011-08-31 Thread Alon (Google)
Please make sure to look at the strategies outlined in our new article
to try to optimize your app's resource usage:
http://code.google.com/appengine/articles/managing-resources.html


On Aug 31, 1:33 pm, Robert Kluin  wrote:
> Instance hours are the killer here too, seeing between 2x and 4x
> depending on the app (with 50% discount).
>
>
>
>
>
>
>
> On Wed, Aug 31, 2011 at 15:28, Waleed Abdulla  wrote:
> > It's 300% for me (3x what I pay now). Most of the cost is datastore writes
> > and reads, followed by instance hours.
>
> > On Wed, Aug 31, 2011 at 1:26 PM, pdknsk  wrote:
>
> >> It's an about 50% increase for me, because of datastore writes.
>
> >> --
> >> 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.

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



[google-appengine] Channel API question

2010-12-04 Thread alon
Hey,
After reading the documents im a tad unclear on how the whole process
of channel api works in terms of sharing the messages between clients.


User A opens a channel, i create a channel on datastore for that user
and return the channel id to the javascript part. User opens a socket
and listens.


User B Opens a channel, i check if a channel is created already, if so
it returns the existing channel id (same for user A) and returns it to
the javascript, user opens a socket and listens.




Is that the correct method? How can i share messages between clients? i
saw that you combine the userid in the channel id returned. some
clarification on that?


How do i create a simple chat between users that share the same chat
room?

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



[google-appengine] Re: Channel API test: simple chat

2010-12-04 Thread alon
Can you provide the code for the python part please? :)

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



[google-appengine] Re: What's a better choice - updating a record or overwriting?

2010-09-20 Thread alon
actually i read the basic rule of app engine is that PUT is the most
resource extensive job you can do and should avoid it at all cause :)

Also correct me if im wrong, but in order to update you need to query
to get the object itself, how can you update an object without pulling
the data before hand? or are you managing your keys?

Come to think of it. overwrite will require the same. im guessing it
wont make a difference in performance.

On Sep 19, 2:41 pm, nischalshetty  wrote:
> Ah, that's a good point. Ok, so if I don't care about the existing
> data, I can simple overwrite them without worrying. I hope its the
> case if say I have like 50 million entities?
>
> -N
>
> On Sep 19, 4:16 pm, Tim Hoffman  wrote:
>
>
>
> > Hi
>
> > That all depends on if there is any data in the old entity that you
> > want to copy to the overwritten
> > entity.  If not it will be cheaper to do a put rather than a get
> > followed by a put.
>
> > T
>
> > On Sep 19, 2:03 pm, nischalshetty  wrote:
>
> > > When I started out, I made a few of my entities without the appengine
> > > "Key" as primary key i.e. made them with numeric primary keys.
>
> > > Then I moved on to using "Key" as a primary key for my entities. In
> > > the documentation it says if we try to persist an entity with an
> > > already existing key, it'll overwrite the existing record.
>
> > > So, my question is, to update my entities, should I just overwrite
> > > them or should I do the traditional, get entity, modify it and then
> > > call the update method to persist it?

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



[google-appengine] Re: 500 Server Error

2010-09-20 Thread alon
please provide more details. its hard to tell whats the issue.
Java,python? local server or remote? do you have some exception you
can paste?

On Sep 18, 6:10 am, damian  wrote:
> I had functioning web server. However, for last two-three days
> whenever I am trying to get to my web server  I am getting 500 Server
> Error. (Error: Server Error). What I need to do to reset this or get
> rid of this error?
>
> Thank you
> Damian

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



[google-appengine] Re: Multiple Domains for one app, even if you don't own the domain, or if other domain is already registered with Google Apps

2010-09-20 Thread alon
Google App Engine uses google apps for hosting your app. it does not
let you host subdomains.
What you can do is try to register mydomain.cocacola.com as a google
app for your domain. i just tried it and it works fine. you can
register subdomains under domains that are already signed up with
google apps.

Then do the standard procedure. maybe that will work?

On Sep 17, 9:05 pm, NickFranceschina 
wrote:
> I promise I have been searching... but I haven't been unable to find
> the correct answer.  Thus I turn to you fine folks.
>
> So lets say I have my super fancy new killer app-engine app:
>  http://mykillerapp.com
> which is my custom domain pointed to:
>  http://mykillerapp.appspot.com
>
> and then because I'm a genius salesman, I convince Coca-Cola that they
> need my app on their site.  They write me a huge check with lots of
> zeros and say "OK, lets set it up athttp://awesome.coca-cola.com";
>
> how can I make that happen?   the only way i can see is to add coca-
> cola.com to my google apps for domains account (verifying it with
> CNAME or .HTML file)... but yeah, Coke isn't gonna let me do that cuz
> it's obviously their domain.
>
> or what if I sell it to JoeSchmoe.com who already has a google apps
> account... I can't add his domain to my google apps because google
> tells me "this domain is already registered" (or something like that)
>
> SOOO... is there a way for me to only add awesome.coca-cola.com to my
> google apps domain so I can link the app to it?   or setup
> awesome.JoeSchmoe.com if JoeSchmoe.com is already a google apps
> customer?

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



[google-appengine] Re: File app.yaml on local PC and appspot - not equal work!

2010-09-13 Thread alon
http://www.mail-archive.com/google-appengine@googlegroups.com/msg07139.html

maybe this would help?


On Sep 13, 3:59 pm, "GAE-framework.googlecode.com"
 wrote:
> Hi all!
>
> Try to do this (in my case this is Python environment).
>
> #1. add code to app.yaml file
>
> application: your-app-id
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> # serving global static files
> - url: /static/css
>   static_dir: static/css
> - url: /static/js
>   static_dir: static/js
> - url: /static/img
>   static_dir: static/img
> # serving static files: static/app_name/... -> app_name/static/...
> - url: /static/(\w+)/(.*)
>   static_files: \\1/static/\\2
>   upload: \\1/static/\\2
>
> #2. create file "static/css/test.css". Run application and try 
> loadhttp://localhost:8080/static/css/test.css- content appear in the
> browser
>
> #3. create file "myapp/static/css/test.css". Run application and try
> loadhttp://localhost:8080/static/myapp/css/test.css- content appear
> in the browser. This handled by regular expressions in the app.yaml
> file. File in url "app_name/static/..." to be converted to "static/
> app_name/..."
>
> #4. load this project to your appspot server. Try step #2 and #3 on
> server. In my case step #2 work well, but step #3 don't work.
>
> Please, can you help me investigate this situation and find how to fix
> this. Google App Engine developers - I need your help!
>
> Thank you!

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



[google-appengine] Re: mix python and java?

2010-09-13 Thread alon
http://groups.google.com/group/google-appengine/browse_thread/thread/548da41a369c60b1#

Just browsing thru other threads i read something interesting, tim
writes that you CAN run mix java and python or different versions.

Then you'd be accessing the same datastore on the same app from java
and python. You can access your app to a specific version by adding
the X.appname.appspot.com.

nice! :) try and see, maybe you can keep a version number for java and
version for python and update them.


On Sep 13, 4:24 pm, alon  wrote:
> the underlaying storage is the same. so same keys and same objects.
> you cannot share a datastore between apps. You can use remove_api or
> pistons and let any app use your datastore remotely.
>
> On Sep 13, 3:45 pm, bryan rasmussen  wrote:
>
>
>
> > Hi,
>
> > I was thinking that for a project  I might like to develop some things
> > in python and others in java, how would one manage such a thing if it
> > was wanted? I am supposing something like actually having two seperate
> > applications communicating together via private keys so as to transfer
> > processing between Java and Python? Is that likely - the desire is
> > based on access to libraries afforded by Java but ease of dev.
> > afforded by python.
>
> > Thanks,
> > Bryan Rasmussen

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



[google-appengine] Re: using Python sdk, unable to 'browse', nothing at localhost

2010-09-13 Thread alon
are you running the same exact command from the log and it works
outside of the launcher?
did you try to re-install it?

On Sep 13, 12:32 pm, bryan rasmussen 
wrote:
> For some reason it looks like when I press start on the Google App
> Engine Launcher it registers in some way that the application is
> 'started' and hence won't let me start again but it does not actually
> run dev_appserver.py. If I run dev_appserver.py myself I can start the
> application.  Any reason why the app engine launcher wouldn't run
> dev_appserver.py?
>
> Thanks,
> Bryan
>
> On Mon, Sep 13, 2010 at 12:05 PM, bryan rasmussen
>
>
>
>  wrote:
> > the log (for the helloworld) is:
>
> > 2010-09-13 12:04:32 Running command: "['C:\\Python25\\pythonw.exe',
> > 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py',
> > '--admin_console_server=', '--port=8080', 'C:\\Program
> > Files\\Google\\google_appengine\\helloworld']"
>
> > Thanks,
> > Bryan Rasmussen
>
> > On Mon, Sep 13, 2010 at 12:02 PM, bryan rasmussen
> >  wrote:
> >> Hi,
>
> >> I am running GoogleAppEngine-1.3.7.msi with Python 2.5
>
> >> After installation I tried to  'add existing application' for the
> >> guestbook application from the demos folder, as well as the helloworld
> >> application described in
> >>http://code.google.com/appengine/docs/python/gettingstarted/helloworl...
>
> >> In both cases after I added and pressed start I had the following result:
>
> >> 1. The browse button in the google apps launcher was not active.
> >> 2. When I used the browser to localhost:8080 I was unable to connect
> >> .   didn't work with
> >>    127.0.0.1:8080 either, nor did it work if I bound to another port than 
> >> 8080
> >> 3. When I press stop with a started application selected, nothing
> >> happens. I can press stop and then start and it tells me that the
> >> application is already started.
> >> the only way to stop the application is to remove.
>
> >> Any suggestions?
>
> >> Thanks,
> >> Bryan Rasmussen

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



[google-appengine] Re: mix python and java?

2010-09-13 Thread alon
the underlaying storage is the same. so same keys and same objects.
you cannot share a datastore between apps. You can use remove_api or
pistons and let any app use your datastore remotely.

On Sep 13, 3:45 pm, bryan rasmussen  wrote:
> Hi,
>
> I was thinking that for a project  I might like to develop some things
> in python and others in java, how would one manage such a thing if it
> was wanted? I am supposing something like actually having two seperate
> applications communicating together via private keys so as to transfer
> processing between Java and Python? Is that likely - the desire is
> based on access to libraries afforded by Java but ease of dev.
> afforded by python.
>
> Thanks,
> Bryan Rasmussen

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



Re: [google-appengine] Re: Recursive Task with try catch DeadlineExceededException

2010-08-18 Thread Alon Carmel
thats what im asking. can i re-instate recursively a task every time it
fails dues making the task run forever?
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, Aug 19, 2010 at 12:22 AM, MyElasticEye  wrote:

> Why don't you just add that task to a queue and if it fails, it will
> automatically re-execute itself and run again in a few minutes.
>
> On Aug 19, 12:00 am, alon  wrote:
> > Hey,
> > I need to keep a task running and monitoring twitter stream api.
> >
> > Is it possible to initiate a task that does
> >
> > try
> >
> > catch DeadlineExceededException
> >
> > task.add the same task again?
> >
> > so basically the task will always rerun itself over and over and over
> > indefinitely? i dont mind it ending after 30 seconds at a time or even
> > less but atleast i can keep on monitoring the stream 30 seconds at a
> > time.
> >
> > is that possible?
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Recursive Task with try catch DeadlineExceededException

2010-08-18 Thread alon
Hey,
I need to keep a task running and monitoring twitter stream api.

Is it possible to initiate a task that does

try

catch DeadlineExceededException

task.add the same task again?

so basically the task will always rerun itself over and over and over
indefinitely? i dont mind it ending after 30 seconds at a time or even
less but atleast i can keep on monitoring the stream 30 seconds at a
time.

is that possible?

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



Re: [google-appengine] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2010-08-16 Thread Alon Carmel
You basically want one single app to serve more then one domain? subdomain
or naked one?
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Aug 16, 2010 at 3:21 AM, Jessi  wrote:

>
> Greetings--
>
> I want to start out by saying I've checked the faq, and did a search
> on this group and looked at a dozen or so previous postings that
> looked like they might cover this.  I've also been looking for an
> answer to this question for awhile and read various blog posts, etc,
> without finding anyone who has addressed the issue directly.
>
> Several years ago I had a project that App Engine seemed ideal for,
> and also needed a google Apps account for our business, so we set up
> google apps on our main domain:  Company.com  at the time, we planned
> to use app engine for blogs.company.com or whatever.   That didn't pan
> out.  So, we only have one app engine app, that is company.appspot.com
> and also company.com.
>
> Now we're working on a technology which will result in three unrelated
> websites.  For illustration purposes, I'll call them pets.com,
> music.com and sailboats.com.
>
> The company.com App Engine account has 9 open slots for apps.
> However, I cannot find any way to use slot 2 for pets.appspot.com and
> have it show up at www.pets.com.   (and slot three for
> music.appspot.com and have it be at www.music.com, etc.)
>
> I don't need a naked domain.  I just need to host an app on a domain
> other than company.com.   It would be inappropriate to do
> music.company.com or sailboats.company.com.
>
> The only supported way to do this, that I can find, is to open three
> more google Apps accounts for pets.com, music.com and sailboats.com,
> and then set up three more app engine accounts for them.   I'm
> guessing since Google puts limits on the number of app engine apps
> that opening free google apps accounts would be a terms of use
> violation.
>
> I don't mind paying, I don't mine making company.com billing enabled.
> I just want to be able to operate the other apps on different
> domains.
>
> ---
>
> I thought I had a solution, when I noticed that I could register
> domain aliases in google apps.  So I took one of my spare domains,
> created a simple test project in google apps.  I registered the domain
> as an alias in google apps and uploaded the app engine app and then
> went to the administration for the app engine app and entered the
> domain.  The "Add Domain..." seems to redirect to google apps which
> gives me:
>
> "Server error
> Sorry, you've reached a login page for a domain that isn't using
> Google Apps. Please check the web address and try again"
>
> The help page on this error says you can "only login to google apps on
> your primary domain."  This implies that this method wont' work.
>
> ---
>
> I could, of course, just CNAME www.music.com to music.appspot.com.
> I've seen elsewhere that this doesn't work and you need to cname to
> ghs.google.com.  The core issue, though, is that when the servers on
> googles side get the web request for a domain that is aliased to
> ghs.google.com they need to have a way to look up which appengine app
> is associated with the name that was aliased.
>
> This lookup should not be very difficult, and this is what is
> happening when you set up your domain under google apps.
>
> But there seems to be no other way to set up a domain so that
> ghs.google.com knows which app engine app to run, and therefore, there
> seems to be no way to have app engine apps on multiple domains other
> than the one for which you have an apps account.
>
> I don't see the technical problem here.
>
> So, does google really want me to create multiple Goolge Apps
> accounts?   Since this would involve going out and buying prepaid
> cellphones in order to have a unique cell id to get the SMS
> "verification" happening  it all seems shady and like I'm routing
> around what google wants me to do.
>
> Or is it Googles inten

Re: [google-appengine] again "Request was aborted after waiting too long..."

2010-08-16 Thread Alon Carmel
When you fetch data from another server you use the urlfetch service. url
fetch service holds another limit for requests. when you relay on external
servers they hold another load which you cannot expect on your end. so if an
external service has some latency suddenly and plus fall under a database
high load your tasks will fail enventually.

try

catch

:)

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Sat, Aug 14, 2010 at 8:28 PM, Dmitry  wrote:

> Hi app team!
>
> "Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team."
>
> What may cause this error? I'm getting this quite often (may be every
> 1 minute) when using task queue. Queue rate isn't so big (5-7
> simultaneous requests, ~10 sec in average). Task just fetchs data from
> another server and processes it.
>
> thx
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Experiencing DeadlineExceededError for around 3 hours..

2010-08-10 Thread Alon Carmel
You should never count on datastore performance. if your process is getting
near deadexceeded error you should do try catch and run it again if its a
task for example.

If its caused by processes that are run quickly (milliseconds) on daily
basis then it must be a bug. any how,

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Tue, Aug 10, 2010 at 4:38 PM, Rajkumar Radhakrishnan <
r.rajku...@gmail.com> wrote:

> Hi folks,
>
> My app has been experiencing too many DeadlineExceededError in the few
> hours. While such issues go away after a couple of minutes, this has now
> caused more than 51 errors for my visitors in the last 3 hours alone,
> staring 3:43 AM upto 6:27 AM now.
>
> The status page shows the Datastore performance to be in "Elevated"
> status.
> http://code.google.com/status/appengine/
>
> Any idea on when this will get resolved ?
> Anyone else affected by this issue ?
>
> Regards,
> R.Rajkumar
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Share data among a suite of GAE apps

2010-08-03 Thread Alon Carmel
there was a similare discussion here about uploading bunch of websites that
connect to each other, its violating the terms of use if you try todo that
inorder to avoid quota. its ok for websites to communicate with each other
thru http.
i wrote a custom api for my self that i use for bunch of webapps to
communicate together like google wave robot and my webapp.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Tue, Aug 3, 2010 at 3:01 PM, djidjadji  wrote:

> Upload the suites as different versions of the app.
> Also take a look at the "Terms of Service". You offer services with
> similar purpose/kind to a group of users.
>
> 2010/7/30 slowpoison :
> > I'm currently working on a suite of apps, that will all share data
> > amongst themselves - mainly the user data. Is there a way to do this
> > using the datastore API?
> >
> > Imagine a mail application and a calendar application. I'd like to
> > keep the apps separate but share a single "User" entity kind between
> > them. Possible? How?
> >
> > --
> > 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-appeng...@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-appeng...@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-appeng...@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.



[google-appengine] Re: Blobstore upload handler is Base64 encoding strings?

2010-08-03 Thread alon
it outputs as a base64 string? im guessing the post is multi-part post
right?

On Aug 3, 10:39 am, ekampf  wrote:
> This happens when text fields are sent via POST and go through the
> Blobstore upload handler.
> When English text is used I get the text.
> When Hebrew is used I get a base64 string...
>
> I'm not looking at the datastore dashboard. I'm looking at the actual
> POST data (via logging)
>
> On Aug 3, 10:18 am, alon  wrote:
>
>
>
> > Does that happen everytime on the blobstore only api? or regular text -
>
> > > datastore?
>
> > One more thing, there is a huge difference on how the text is being
> > displayed on the datastore dashboard. are you sure its being saved as
> > base64? the page encoding for the production datastore browser is
> > massed up and cant display hebrew correctly in oppose to the local dev
> > version which has utf8 encoding display.
>
> > On Jul 23, 2:09 pm, ekampf  wrote:
>
> > > I have a form with a file input and a text input field.
> > > When users type Hebrew text I get a Base64 encoded string on the
> > > server. When typing English I get a non Base64 string.
> > > On the development server I get a regular Unicode string (what I'd
> > > expect)
>
> > > Cant find any mentions of this in the docs.
> > > What the behavior I should expect on production? Is this a bug?

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



[google-appengine] Re: Blobstore upload handler is Base64 encoding strings?

2010-08-03 Thread alon
Does that happen everytime on the blobstore only api? or regular text -
> datastore?

One more thing, there is a huge difference on how the text is being
displayed on the datastore dashboard. are you sure its being saved as
base64? the page encoding for the production datastore browser is
massed up and cant display hebrew correctly in oppose to the local dev
version which has utf8 encoding display.


On Jul 23, 2:09 pm, ekampf  wrote:
> I have a form with a file input and a text input field.
> When users type Hebrew text I get a Base64 encoded string on the
> server. When typing English I get a non Base64 string.
> On the development server I get a regular Unicode string (what I'd
> expect)
>
> Cant find any mentions of this in the docs.
> What the behavior I should expect on production? Is this a bug?

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



Re: [google-appengine] Share data among a suite of GAE apps

2010-08-02 Thread Alon Carmel
Using the /remote_api you can access remote datastores.

I suggest creating one major app that holds the datastore and the rest
access the models over http using remote_api.
read about it.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 30, 2010 at 10:23 PM, slowpoison  wrote:

> I'm currently working on a suite of apps, that will all share data
> amongst themselves - mainly the user data. Is there a way to do this
> using the datastore API?
>
> Imagine a mail application and a calendar application. I'd like to
> keep the apps separate but share a single "User" entity kind between
> them. Possible? How?
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Google Account

2010-07-29 Thread Alon Carmel
on python its _ah/login or something like that.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, Jul 29, 2010 at 8:34 PM, Geoffrey Spear wrote:

> You probably don't want your user to be logged in using Google's
> servers and then get redirected to localhost.
>
> Use the Users API to generate the login URL.
>
> On Jul 29, 5:55 am, Tsolmon Narantsogt  wrote:
> > Hi guys
> >
> > I have a question ?
> > 1) How to login from my google account ?
> >
> > i tried this code
> > https://www.google.com/accounts/ServiceLogin?service=ah&continue=http...";
> >
> > >Sign in 
> >
> > but it's not working .
> >
> > Help me guys
> >
> > Regards
> > Tsolmon
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Is it really bad to define global variables?

2010-07-29 Thread Alon Carmel
Why not save it to session then?
Why not use memcache?
Isnt static classes for that? if you run it at the start it will run once
for all users and you can call it over and over with the same return. no?

http://en.wikipedia.org/wiki/Singleton_pattern

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, Jul 29, 2010 at 11:19 AM, Bill Edwards  wrote:

> Hey guys,
>
> Is it horrible to use global variables?  I am currently executing a
> query at the beginning of my handler and storing the query result
> within class object A.  I subsequently need to access the query result
> within multiple different class objects, say B, C, and D.  It has been
> recommended to me to cache object A in the request object, but i need
> to access the variable from within various class objects, so I'm
> finding that I have to pass the object A in to the constructor for
> every new object i define, and then sync any changed state of object A
> with the handler's version of object A when the various class object
> functions are completed.
>
> So it really seems like the simplest way to do things is to just
> define a global variable.  Is there a better option?  Can I think I
> would ideally want to create something liek a session object to store
> the global object.
>
> Thanks!
> Bill
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] HardDeadlineExceededError

2010-07-29 Thread Alon Carmel
i had that exact problem.
I resolved it by cutting down the amount of processing from one process to
tons of them.
You can break all the mini calculations into mini tasks running asyc side by
side and get the work done at the same time or even shorter.

If tasks isnt the solution for you try the mapper class, google for it. it
lets you catch the HardDeadlineExceededError and save your current job
location and restart again at the same position.

quick tip from what i've learned. google gives you extra few seconds before
they break your process with HardDeadlineExceededError, its not something
static but its around 2-3 seconds, you can do alot when you hit that. do
try: catch on that and test it.

For large datastore uploads and so on use the bulkloader tool.

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, Jul 29, 2010 at 8:29 AM, Lu  wrote:

> Hi,
>
> My application throws 'HardDeadlineExceededError' exception and i know
> the reason is that google only allows at most 30 secs to give
> response. However, I am doing large amounts of processing on the
> server side and I cannot manage to give feedback under 30 secs.
>
> Is there any mechanism that can throw some whatever stuff back to
> client every 30 secs and meanwhile still do the processing on the
> server side?
>
> Thanks,
> Lu
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Access from Israel

2010-07-28 Thread Alon Carmel
Same here. https works fine. http is 404.
no hebrew, no netex. nothing.
Bezeq International ISP user too.


I tried contacting israeli google office CTO Yosi matias but no response.
Drives me insane.
I can access the appspot servers when i surf my own domain
http://www.devunity.com but no appspot for me.

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, Jul 29, 2010 at 8:13 AM, Daniel  wrote:

> https works for me
>
> in firefox im getting "Not Found"
>
> in IE im getting 404
>
> On Jul 29, 1:41 am, "Ikai L (Google)"  wrote:
> > Can you try https?
> >
> > Also, can you tell me what error you get? Is it a 404, timeout, 500, etc?
> >
> > On Wed, Jul 28, 2010 at 1:45 PM, Daniel  wrote:
> > > it doesn't not have hebrew letters
> >
> > > and i dont have netex service... i confirmed that
> >
> > > i cant even enter thewww.appspot.com
> >
> > > i can acces it only if i browse via some free anonymous proxy that i
> > > found over the web
> >
> > > but if i remove the proxy i cant enter thewww.appspot.comno more...
> >
> > > On Jul 28, 8:43 pm, "Ikai L (Google)"  wrote:
> > > > Daniel, can you verify two things for me:
> >
> > > > 1. Do the URLs you are accessing have Hebrew characters in them?
> > > > 2. Can you call Beseq and ask them to remove the Netex service, then
> come
> > > > back and confirm that this resolves the issue?
> >
> > > > On Tue, Jul 27, 2010 at 2:31 PM, Daniel  wrote:
> > > > > Im a Bezeq international user too
> >
> > > > > and im having this annoying issue too
> >
> > > > > it drive me crazy!!! its like we surf in china or iran..
> >
> > > > > please solve this issue asap
> >
> > > > > cause i cant use anything from appspot in this way
> >
> > > > > thx ahead
> >
> > > > > On Jul 19, 10:50 pm, "Ikai L (Google)"  wrote:
> > > > > > Hey guys,
> >
> > > > > > The netex service captures URLs entered in Hebrew and searches
> for a
> > > > > correct
> > > > > > term in English. Could this be a possible cause of the 404s? Are
> > > users
> > > > > > entering Hebrew in their URLs? If you have an example URL in
> Hebrew
> > > it
> > > > > would
> > > > > > be very helpful.
> >
> > > > > > On Thu, Jul 8, 2010 at 10:30 AM, Alon Carmel  >
> > > wrote:
> > > > > > > i got to tell you, im on bezeq int and im not seeing any
> problems
> > > > > accessing
> > > > > > > appspot.com domains.
> >
> > > > > > > -
> > > > > > > Cheers,
> > > > > > > public static function AlonCarmel() {
> > > > > > > //Contact me
> > > > > > > var email = '@aloncarmel.me';
> >
> > > > > > > var twitter = '@aloncarmel';
> > > > > > > var web = 'http://aloncarmel.me';
> > > > > > > var phone = '+972-54-4860380';
> > > > > > > }
> >
> > > > > > > * If you received an unsolicited email from by mistake that
> wasn't
> > > of
> > > > > your
> > > > > > > matter please delete immediately. All E-mail sent from Alon
> Carmel
> > > is
> > > > > > > copyrighted to Alon Carmel 2008. Any details revealed in
> e-mails
> > > sent
> > > > > by
> > > > > > > Alon Carmel are owned by the Author only. Any attempt to
> duplicate
> > > or
> > > > > > > imitate any of the Content is prohibited under copyright law
> 2008.
> >
> > > > > > > On Mon, Jun 

Re: [google-appengine] Newbie question (html not rendering)

2010-07-27 Thread Alon Carmel
The template seems fine. we need to see the view controller code.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Tue, Jul 27, 2010 at 2:34 AM, Virender  wrote:

> Hi I am following the python tutorial. Everything was fine until I
> created the template.
> Here is my index.html file
>
> 
>  
>{% for greeting in greetings %}
>  {% if greeting.author %}
>{{ greeting.author.nickname }} wrote:
>  {% else %}
>   An anonymous person wrote:
>  {% endif %}
>  {{ greeting.content|escape }}
>{% endfor %}
>
>
>   div>
>  
>
>
>{{ url_linktext }}
>
>  
> 
>
> http://localhost:8081/ displays this  (what am I doing wrong?)
>
> 
>  
>
>
>
>   div>
>  
>
>
>Login
>
>  
> 
>
> thanks,
> Virender
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Advice about first application

2010-07-26 Thread Alon Carmel
Well, i think my first advice is to focus on learning python or java, what
ever language you learn. learn the basics, working with arrays, the syntax
etc.
Once you feel bit more comf' find a proper Framework. Django Changed my life
completely about python. there is an adapted version patched for app engine.

Third, learn the basics of building a model on the datastore, the difference
between No-rel and sql. you never did any so it might be easier for you but
its good to plan ahead.

and at last. i think the best kick off app that you can do is a blog. it
incorporates alot of basic features like templates, insert data and display
data from the datastore. editing stuff and basic user authentication to
write stuff.

thats my two cents.


-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jul 26, 2010 at 11:25 AM, Kay  wrote:

> Hello. I'm a web designer, interested in learning python on App
> Engine.
> I've read the "getting started" guide, wrote and understood the sample
> guestbook app, and I've read most of the python documentation on App
> Engine website. Though, I've never done any programming before, so
> these are my very first steps.
>
> I'm looking for some ideas and advice about my first application.
> Something that would be both easy to implement, as well as
> conceptually straight forward, for a rookie.
> I'm planning on developing on Google Code, so anyone can see my
> progress and hopefully give me hints.
> Thank you for your help.
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Help need!! Can not update my application

2010-07-26 Thread Alon Carmel
try clearing the security cookies using --no_cookies and --email and
--passin
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jul 26, 2010 at 5:44 PM, James Yang  wrote:

> Yes, It is the only account for the app
>
>
> On Jul 24, 12:38 am, Edel SM  wrote:
> > is your email (when you update your app) is still valid administator
> > of aipcopage?
> >
> >
> >
> >
> >
> > On Sat, Jul 24, 2010 at 4:06 AM, James Yang  wrote:
> > > No It just for question, the true id is "aipcopage"
> >
> > > On Jul 23, 2:11 pm, Geoffrey Spear  wrote:
> > >> Did you actually register an app called "APPID" at
> > >> appengine.google.com?  You need to use the actual ID of your
> > >> application.
> >
> > >> On Jul 23, 12:33 pm, James Yang  wrote:
> >
> > >> > Hi All:
> > >> > I got an error when update my application onn app engine
> > >> > Error 403: --- begin server output ---
> > >> > You do not have permission to modify this app (app_id=u'APPID').
> > >> > --- end server output ---
> >
> > >> > and I try to create a new application, after create the application
> > >> > id, It say I can not access the new application
> >
> > >> > Please help
> >
> > >> > Thanks in advance
> >
> > >> > James- Hide quoted text -
> >
> > >> - Show quoted text -
> >
> > > --
> > > 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.
> >
> > --
> > edel- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] new to app engine - how to handle control arrays

2010-07-26 Thread Alon Carmel
first, it depends on how your working with python on app engine.

django :
self.request.GET/POST['VARNAME'] or django request.GET/POST['VARNAME']

The .POST or .GET are dictionaries of all the passed data. you can also
access them via .REQUEST.

For example:

myarray = request.POST['myarray']

for item in myarray:
   //do something

you can also print those arrays to see the structure... dir or print.


-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jul 26, 2010 at 2:17 AM, mikemoum  wrote:

> Hi,
>
> I'm just getting started with app engine, and am porting a php site I
> developed as a learning tool. The input form on my page allows one to
> enter a number of participants in a small school program. As such,
> some fields are common to many people, such as last name. In my input
> form, therefore, there are a column of textboxes, with name=lname[].
> When the form is posted when the submit button is clicked, the global
> php variable, $_POST, contains the field lname[], which is an array of
> entries.
>
> It's not clear to me how to handle such an array when it is posted in
> app engine and parsed with python. How does one do this?
>
> Thanks for your replies,
> Mike
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Google Appengine is BROKEN

2010-07-22 Thread Alon Carmel
your development server uses your own ip to call twitter, it might be a
problem on either side, IP stack wise.
ill try reaching ikai also. you can find him on twitter @ikai but im afraid
its night time at google HQ in the states right now.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 23, 2010 at 9:06 AM, nischalshetty wrote:

> It seems to be Google App Engine for now since things are fine with my
> development server. But, I'll still do as you say, just in case.
>
> -Nischal
>
> On Jul 23, 11:01 am, Alon Carmel  wrote:
> > yeah im getting the same error on my end with my python app on GAE.
> theres
> > seem to be some block on some end, twitter or google. i suggest you also
> > write in twitters forum too.
> > -
> > Cheers,
> >
> > def AlonCarmel(request)
> >  import simplejson as json
> >  contact = {}
> >  contant['email'] = '@aloncarmel.me'
> >  contact['twitter'] = '@aloncarmel'
> >  contact['web'] = 'http://aloncarmel.me'
> >  contact['phone'] = '+972-54-4860380'
> >  return HttpResponse(json.dumps(contact))
> >
> > * If you received an unsolicited email from by mistake that wasn't of
> your
> > matter please delete immediately. All E-mail sent from Alon Carmel is
> > copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
> > Alon Carmel are owned by the Author only. Any attempt to duplicate or
> > imitate any of the Content is prohibited under copyright law 2008.
> >
> > On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty <
> nischalshett...@gmail.com>wrote:
> >
> >
> >
> > > Here it is :
> >
> > > justunfollow.action.Login authenticate: Error obtaining redirect URL
> > > twitter4j.TwitterException: Could not fetch URL:
> > >https://twitter.com/oauth/request_token
> > >at
> twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
> > >at
> > >
> twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> > > 68)
> > >at
> > > twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> > > 99)
> > >at
> >
> > >
> twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j
> ava:
> > > 121)
> > >at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
> > >at
> >
> > >
> justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowM
> anagerImpl.java:
> > > 60)
> > >at justunfollow.action.Login.authenticate(Login.java:56)
> > >at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
> > >at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> > >at java.lang.reflect.Method.invoke(Unknown Source)
> > >at
> >
> > >
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> ethod_
> > > $1.run(Method_.java:165)
> > >at java.security.AccessController.doPrivileged(Native Method)
> > >at
> >
> > >
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> ethod_.privilegedInvoke(Method_.java:
> > > 163)
> > >at
> >
> > >
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> ethod_.invoke_(Method_.java:
> > > 124)
> > >at
> >
> > >
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> ethod_.invoke(Method_.java:
> > > 43)
> > >at
> >
> > >
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionI
> nvocation.java:
> > > 404)
> > >at
> >
> > >
> com.opensymphony.xwork2.DefaultActionInvocati

Re: [google-appengine] Re: Google Appengine is BROKEN

2010-07-22 Thread Alon Carmel
yeah im getting the same error on my end with my python app on GAE. theres
seem to be some block on some end, twitter or google. i suggest you also
write in twitters forum too.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty wrote:

> Here it is :
>
> justunfollow.action.Login authenticate: Error obtaining redirect URL
> twitter4j.TwitterException: Could not fetch URL:
> https://twitter.com/oauth/request_token
>at twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
>at
> twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> 68)
>at
> twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> 99)
>at
>
> twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java:
> 121)
>at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
>at
>
> justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowManagerImpl.java:
> 60)
>at justunfollow.action.Login.authenticate(Login.java:56)
>at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>at java.lang.reflect.Method.invoke(Unknown Source)
>at
>
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_
> $1.run(Method_.java:165)
>at java.security.AccessController.doPrivileged(Native Method)
>at
>
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.privilegedInvoke(Method_.java:
> 163)
>at
>
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.invoke_(Method_.java:
> 124)
>at
>
> com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.invoke(Method_.java:
> 43)
>at
>
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:
> 404)
>at
>
> com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:
> 267)
>at
>
> justunfollow.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:
> 23)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:224)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:223)
>at
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
> 455)
>at
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
> 221)
>at
>
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:
> 221)
>at
>
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:
> 86)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:224)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:223)
>at
>
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:
> 455)
>at
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
> 221)
>at
>
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:
> 150)
>at
>
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:
> 48)
>at
>
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:
> 86)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:224)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:223)
>at
>
> com

Re: [google-appengine] Re: Problem with OAuth and Twitter

2010-07-22 Thread Alon Carmel
It could be twitter blocking calls from the appspot.com servers. it happened
before with the appspot servers being blocked by isps as malicious virus
spreading domain.

did you try using different libraries and not urlfetch?

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 23, 2010 at 5:39 AM, nischalshetty wrote:

> I'm facing the same problem. Not able to obtain the redirect URL from
> twitter, though it was working fine until now. It is still working in
> my development environment but not working on the live app engine
> deployment, Please help ASAP!
>
> -Nischal
>
> On Jul 23, 7:17 am, "ke...@kanno.com"  wrote:
> > Hi,
> >
> > I have a problem with OAuth and Twitter right now.
> > My application is a small Twitter client and was working fine about 6
> > hours ago but after that
> > I couldn't connect to Twitter anymore. I checked Twitter and their
> > OAuth and all the APIs are
> > working perfect. It seems like GAE's urlfetch is not working to
> > Twitter.
> >
> > I heard my friends also have a problem with connecting Twitter with
> > OAuth on GAE.
> >
> > Does anyone know how to solve this problem?
> >
> > Thanks,
> > Keiya Kanno
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Google Appengine is BROKEN

2010-07-22 Thread Alon Carmel
Can you give the 500 exception so maybe we can dissect it here? im pretty
familiar with the twitter api oauth process... maybe i can help..
Its definitely app engine side because all of my php twitter connect apps
work fine.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 23, 2010 at 8:33 AM, David Hewitson wrote:

> That really sucks. Guess it's just a matter of waiting it out.
>
> On Fri, Jul 23, 2010 at 6:29 AM, nischalshetty 
> wrote:
>
>> Yeah, its Google's problem. Checked out a list of twitter apps here -
>> http://appgallery.appspot.com/results?q=twitter&start=10&num=5  and
>> none of them seem to be able to connect to twitter :(
>>
>> I'm baffled to not have received any reply from a single appengine
>> engineer. I respect them all, they do a lot of work, but  hope they
>> see this and do something about it.
>>
>> -Nischal
>>
>> On Jul 23, 10:16 am, David Hewitson  wrote:
>> > @Nischal is it definitely on Google's side? Tried accessing the endpoint
>> > with CURL or similar?
>> >
>> > On Fri, Jul 23, 2010 at 6:14 AM, nischalshetty <
>> nischalshett...@gmail.com>wrote:
>> >
>> >
>> >
>> >
>> >
>> > > @David I'm hoping the same. Well over 10,000 twitter users access my
>> > > app every single day. Now everything's gone for a toss. Months of
>> > > efforts just seem to be going down the drain. To top it, I feel so
>> > > helpless!
>> >
>> > > -Nischal
>> >
>> > > On Jul 23, 10:08 am, David Hewitson  wrote:
>> > > > I'm beginning to remember some of the benefits of running my own
>> LAMP
>> > > > stack...
>> >
>> > > > Hope they get this fixed soon!
>> >
>> > > > On Fri, Jul 23, 2010 at 6:06 AM, nischalshetty <
>> > > nischalshett...@gmail.com>wrote:
>> >
>> > > > > @Shoubhik  500 keeps coming once a while (which is another
>> appengine
>> > > > > issue). But if you refresh, and click the sign in with twitter
>> button,
>> > > > > app engine is just not able to connect to twitter!
>> >
>> > > > > I really wonder where the app engine team is. My site's completely
>> > > > > unusable. The most frustrating experience ever!
>> >
>> > > > > -Nischal
>> >
>> > > > > On Jul 23, 9:02 am, "ke...@kanno.com"  wrote:
>> > > > > > I think it's because of the problem.
>> > > > > > I could see the top page but couldn't login.
>> > > > > > That's what we are yelling about
>> >
>> > > > > > On Jul 23, 12:57 pm, Shoubhik  wrote:
>> >
>> > > > > > > Hi Nischal,
>> > > > > > > its giving error 500
>> >
>> > > > > --
>> > > > > 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> e...@googlegroups.com>> > > e...@googlegroups.com>
>> > > > > .
>> > > > > For more options, visit this group at
>> > > > >http://groups.google.com/group/google-appengine?hl=en.
>> >
>> > > > --
>> > > > David
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Google App Engine" group.
>> > > To post to this group, send email to
>> g

Re: [google-appengine] GAE + RESTful webservice

2010-07-19 Thread Alon Carmel
Pistons for python gives you a restful access to all your methods.
I personally wrote all the rest api access points myself. i like to keep it
personal without revealing my data structure.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))



* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Sun, Jul 18, 2010 at 8:48 PM, ping  wrote:

> Hi,
> i want to develop a webapplication on GAE which stores and retrieves
> data from a database and make it available through RESTful
> Webservices.
> What's the best way to do this?
> Can I use Axis2? Or Restlet? Whats the general approach for
> implementing REST in GAE?
>
> greets.
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Order of data

2010-07-17 Thread Alon Carmel
created_at = db.DateTimeProperty(auto_now_add=True)

updated_at = db.DateTimeProperty(auto_now=True)


I almost add that to any datastore model i got so i could always use order
by created_at desc.

Please remember that in some cases you need an index for that to use online.

Default for datastore is ascending.


-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))



* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 16, 2010 at 7:56 PM, Geoffrey Spear wrote:

> If you want to get your data in the order it was inserted, it's almost
> certainly easier to use a DatetimeProperty with auto_now_add = True
> than to try to maintain your own guaranteed sequential IDs.
>
> On Jul 16, 12:07 pm, Blixt  wrote:
> > Okay, so data will be returned in a non-determinate order unless you
> > specify keys yourself (since ids aren't guaranteed to be in order).
> > I'll make my own counter.
> >
> > Thanks!
> >
> > On Jul 16, 6:01 pm, Nate Bauernfeind 
> > wrote:
> >
> > > They will be ordered by key. You should consider watching one of the
> > > datastore tech talks.
> >
> > > On Fri, Jul 16, 2010 at 3:54 AM, Blixt  wrote:
> > > > Imagine this query:
> >
> > > > Person.all().fetch(100)
> >
> > > > Is the order of data in the datastore guaranteed, or can the order of
> > > > the entities returned change as data is inserted?
> >
> > > > --
> > > > 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-appeng...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-appengine+unsubscr...@googlegroups.com e...@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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Appengine datastore resets on OSX

2010-07-17 Thread Alon Carmel
I had the same issue. and still having the same issue. seems like a
permission access denied when you relaunch the server. i never have too much
data and i always write some short script that inputs data. you can always
use the syncdb to sync your online database to your local or just hold some
example db file that you can load up using the bulkloader i think.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me'
 contact['twitter'] = '@aloncarmel'
 contact['web'] = 'http://aloncarmel.me'
 contact['phone'] = '+972-54-4860380'
 return HttpResponse(json.dumps(contact))



* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, Jul 16, 2010 at 9:06 PM, Bernard Matthews <
giant.killer.monk...@gmail.com> wrote:

> Yeah, thanks everyone.  I found what you were talking about and some
> example of how to change it on the app engine website.  But sadly I'm
> so bad at using the terminal I couldn't actually get it to work.
> Still..
>
> I'm using parallels, and writing and saving it in OSX and then
> entering the data into windows where I test it.  It's a lame work
> around but I'm totally new to Unix commands so.  This is working!
> Thanks for your help.
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Help

2010-07-11 Thread Alon Carmel
are you saving your passwords as clear passwords?
can you elaborate a bit more? why are you checking for password on two
tables?
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@aloncarmel.me';
 contact['twitter'] = '@aloncarmel';
 contact['web'] = 'http://aloncarmel.me';
 contact['phone'] = '+972-54-4860380';
 return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Sun, Jul 11, 2010 at 4:59 PM, Massimiliano <
massimiliano.pietr...@gmail.com> wrote:

> Hi all,
> I'm trying to check the password of my user. But it doesn't want to work.
>
> class PAGAMENTI(db.Expando):
> data = db.DateTimeProperty(auto_now_add=True)
>
> class BIG(db.Expando):
> data = db.DateTimeProperty(auto_now_add=True)
>
> class BigHandler(webapp.RequestHandler):
>
> def get(self):
>  ..
>
> def post(self):
> password = self.request.get('password')
>  controllo = db.Query(PAGAMENTI).filter('password=',
> password).fetch(limit=1)
> controllo2 = db.Query(BIG).filter('password=', password).fetch(limit=1)
>  if len(controllo) == 1 and len(controllo2) == 0:
> big = BIG()
>  big.nome = self.request.get('nome')
> big.msg = self.request.get('msg')
>  big.password = password
> big.put()
> self.redirect('/big')
>
> Could you please help me. The if doesn't work, It always goes in the else.
>
> Thanks
>
> Max
>
>
> --
>
> My email: massimiliano.pietr...@gmail.com
> My Google Wave: massimiliano.pietr...@googlewave.com
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Access from Israel

2010-07-08 Thread Alon Carmel
i got to tell you, im on bezeq int and im not seeing any problems accessing
appspot.com domains.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jun 7, 2010 at 8:47 AM, rainmaker  wrote:

> This is becoming a major inconvenience...any thoughts?
>
> On May 15, 12:46 pm, Alon Carmel  wrote:
> > im from israel with bezeq international and i can access all the domains
> > mentioned with no problem.
> > -
> > Cheers,
> > public static function AlonCarmel() {
> > //Contact me
> > var email = '@aloncarmel.me';
> > var twitter = '@aloncarmel';
> > var web = 'http://aloncarmel.me';
> > var phone = '+972-54-4860380';
> >
> > }
> >
> > * If you received an unsolicited email from by mistake that wasn't of
> your
> > matter please delete immediately. All E-mail sent from Alon Carmel is
> > copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
> > Alon Carmel are owned by the Author only. Any attempt to duplicate or
> > imitate any of the Content is prohibited under copyright law 2008.
> >
> >
> >
> > On Fri, May 14, 2010 at 11:10 AM, ori  wrote:
> > > I'm having the same problem
> >
> > > My ISP is Bezeq International too.
> >
> > > On May 14, 9:16 am, rainmaker  wrote:
> > > > Switching to Google's DNS didn't work for me.
> > > > ISP is Bezeq International
> >
> > > > On May 12, 6:11 pm, "Ikai L (Google)"  wrote:
> >
> > > > > Have we narrowed down the cause yet? Is this a DNS issue? Does
> using
> > > 8.8.8.8
> > > > > resolve this (http://code.google.com/speed/public-dns/)?
> >
> > > > > If it is a DNS issue, what ISP are you using?
> >
> > > > > On Wed, May 12, 2010 at 10:08 AM, rainmaker <
> a.thesilent...@gmail.com
> > > >wrote:
> >
> > > > > > I can confirm the same behavior.
> >
> > > > > > On Apr 26, 9:36 pm, "Ikai L (Google)"  wrote:
> > > > > > > Can anyone else having problems switch their DNS to 8.8.8.8 and
> > > 8.8.4.4?
> > > > > > > It's starting to seem like this may be an ISP DNS resolution
> > > problem.
> >
> > > > > > > On Mon, Apr 26, 2010 at 2:03 AM, Zarko 
> > > wrote:
> > > > > > > > There seems to be a problem with the SSL certificate on
> > > > > > > > "*.appspot.com". The browser think it's a redirect to
> another
> > > site and
> > > > > > > > block it, but you can revoke it like you mentioned.
> >
> > > > > > > > If you use secure connections try https directly, it will
> > > > > > > > give you a redirect warning, but will work.
> >
> > > > > > > > Zarko
> >
> > > > > > > > On Apr 26, 10:06 am, Lior Harsat 
> wrote:
> > > > > > > > > I have the same issue.
> > > > > > > > > I did notice that if I switch to https I can access my
> servers.
> > > > > > > > > I can also verify that after I started using google DNS the
> > > problem
> > > > > > > > > was gone.
> > > > > > > > > this is good for me but I cant tell my customers to change
> > > their dns
> > > > > > > > > settings.
> > > > > > > > > please resolve this issue promptly
> >
> > > > > > > > > --
> > > > > > > > > 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-appeng...@googlegroups.com.
> > > > > > > > > To unsubscribe from this

Re: [google-appengine] Re: "Getting Started" hangup with Eclipse

2010-07-07 Thread Alon Carmel
You didnt specify if you want to develop for GAE in python or java. if your
going to use java your good to go with the GAE plugin, but if you want
pyhton you need to install PyDev which installs a perspective and some GAE
new project wizards.

haul if you need help.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



2010/7/7 Jaroslav Záruba 

> 2010/7/7 Jaroslav Záruba 
>
> Unfortunately Google seem to recommend clear install with every update the
>> plugin gets,
>>
>
> Oh, looks like I was kinda wrong here. :)
>
> On Wed, Jul 7, 2010 at 3:34 PM, Jason Parekh 
>  wrote:
>
>> Yes, the clean installation is recommended *for milestones only* --
>> mainly because the code may have a few issues due to its milestone status,
>> so we wouldn't want your existing stable Eclipse environment to become
>> unusable.
>>
>  --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: Serious slowness and 500 errors for appengine.google.com

2010-06-30 Thread alon
failed alot of my tasks. 2500+ tasks. need to re-run them. err... :)

On Jul 1, 2:27 am, Waleed Abdulla  wrote:
> Yes, back to normal here too. Phew..
>
>
>
> On Wed, Jun 30, 2010 at 4:24 PM, alon  wrote:
> > it seems to be going back to normal now.
>
> > On Jul 1, 2:14 am, alon  wrote:
> > > must be related to the new sdk or something. i hope...
>
> > > On Jul 1, 2:11 am, Waleed Abdulla  wrote:
>
> > > > Same here. A ton of 500 errors. app = networkedblogs
>
> > > > On Wed, Jun 30, 2010 at 4:09 PM, alon  wrote:
> > > > > all my cron jobs are getting time exceeded for tiny processes. anyone
> > > > > investigating?
>
> > > > > On Jul 1, 2:07 am, alon  wrote:
> > > > > > Im getting 500 error messages on the
> > appengine.google.com/a/mydomain
> > > > > > and server is super slow to no response.
> > > > > > what is going on?
>
> > > > > --
> > > > > 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-appeng...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > google-appengine+unsubscr...@googlegroups.com > > > >  e...@googlegroups.com> > e...@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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Serious slowness and 500 errors for appengine.google.com

2010-06-30 Thread alon
it seems to be going back to normal now.

On Jul 1, 2:14 am, alon  wrote:
> must be related to the new sdk or something. i hope...
>
> On Jul 1, 2:11 am, Waleed Abdulla  wrote:
>
>
>
> > Same here. A ton of 500 errors. app = networkedblogs
>
> > On Wed, Jun 30, 2010 at 4:09 PM, alon  wrote:
> > > all my cron jobs are getting time exceeded for tiny processes. anyone
> > > investigating?
>
> > > On Jul 1, 2:07 am, alon  wrote:
> > > > Im getting 500 error messages on the appengine.google.com/a/mydomain
> > > > and server is super slow to no response.
> > > > what is going on?
>
> > > --
> > > 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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@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-appeng...@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.



[google-appengine] Re: Serious slowness and 500 errors for appengine.google.com

2010-06-30 Thread alon
must be related to the new sdk or something. i hope...

On Jul 1, 2:11 am, Waleed Abdulla  wrote:
> Same here. A ton of 500 errors. app = networkedblogs
>
>
>
> On Wed, Jun 30, 2010 at 4:09 PM, alon  wrote:
> > all my cron jobs are getting time exceeded for tiny processes. anyone
> > investigating?
>
> > On Jul 1, 2:07 am, alon  wrote:
> > > Im getting 500 error messages on the appengine.google.com/a/mydomain
> > > and server is super slow to no response.
> > > what is going on?
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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.



[google-appengine] Re: Serious slowness and 500 errors for appengine.google.com

2010-06-30 Thread alon
ok confirmed abnormal datastore.

http://code.google.com/status/appengine



On Jul 1, 2:09 am, alon  wrote:
> all my cron jobs are getting time exceeded for tiny processes. anyone
> investigating?
>
> On Jul 1, 2:07 am, alon  wrote:
>
>
>
> > Im getting 500 error messages on the appengine.google.com/a/mydomain
> > and server is super slow to no response.
> > what is going on?

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



[google-appengine] Re: Serious slowness and 500 errors for appengine.google.com

2010-06-30 Thread alon
all my cron jobs are getting time exceeded for tiny processes. anyone
investigating?

On Jul 1, 2:07 am, alon  wrote:
> Im getting 500 error messages on the appengine.google.com/a/mydomain
> and server is super slow to no response.
> what is going on?

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



[google-appengine] Serious slowness and 500 errors for appengine.google.com

2010-06-30 Thread alon
Im getting 500 error messages on the appengine.google.com/a/mydomain
and server is super slow to no response.
what is going on?

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



Re: [google-appengine] Re: Datastore design question

2010-06-28 Thread Alon Carmel
i got alot of user meta data, i save them on another db model called
usermeta which is referencekey to the user model key. under the usermeta i
write duplicated data from the user table too such as user key id as string
and much more. i usually pull the usermeta only and use the user model just
for authentication keeping it clean and to the purpose.

-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jun 28, 2010 at 9:17 AM, Robert Kluin wrote:

> The answer to this question depends on several other questions too.
> For example:
>  1) how many items are you expecting?
>  2) how often do a users items change, and how do they get changed
> (the user or something else)?
>  3) what type of querying / reporting do you need to be able to do?
>  4) what type of information would you need to store about each users item?
>
> Robert
>
>
>
>
>
>
>
> On Sun, Jun 27, 2010 at 9:59 PM, Tom Wu  wrote:
> > Hi Luís,
> >
> > If you have a "User" model, with a "items" heavy Property like
> TextProperty
> > which is not necessary for every query.
> > Which db structure is better ?
> >
> > Best Regards
> > Tom Wu
> >
> >
> > 2010/6/28 Luís Marques 
> >>
> >> Hello Phil,
> >>
> >> Anyone correct me if I'm wrong but you use one of the following
> >> options, among others.
> >>
> >> You can have a "User" model, with a "items" ListProperty. The pros: if
> >> you have the key for the user (e.g. you can use the email), then with
> >> a simple get (faster than a query) you can retrieve the entity
> >> including the items. Writing a new object is transactional. The cons:
> >> you must always get a set the entire user entity. The entity might get
> >> large if there are a lot of items. If you use custom indexes with the
> >> "items" property the index might get large quickly, especially if you
> >> use more than one ListProperty (exploding indexes).
> >>
> >> You can have a "User" model, and a "UserItem" whose parent is the
> >> User, making it part of a transaction group. Cons: you have limited
> >> QPS writes to the transaction group (about 1-10 QPS), but that's the
> >> same limitation you have to a standalone User with items. You have to
> >> query (seek) the items, although I wouldn't call that a problem
> >> without profile data. Pros: you can write individual UserItems. You
> >> can have transactions for the user and the items s/he has.
> >>
> >> You can have a "User" model and a "UserItem" with a User key
> >> reference. Cons: you can no longer have a transaction depending on the
> >> user and the items s/he has. Pros: you can write individual items
> >> without write collisions to the User.
> >>
> >> You can have a "User" and a flat list (e.g. text, non-indexed) of the
> >> corresponding items. Cons: limits the queries you can make, have to
> >> update all items at once. Pros: better index performance.
> >>
> >> Etc. I hope it was helpful and correct?
> >>
> >> Best regards,
> >> Luís
> >>
> >> --
> >> 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-appeng...@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-appeng...@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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Is there any way to get around the Urlfetch 10 second deadline limit?

2010-06-23 Thread Alon Carmel
if it takes that much time for your server to respond your likely to fall
under the 30seconds limit.
if its a data that you need to receive back i suggest you alter the 2nd
servers code to call a url on the app engine once its complete with a dump
of the data. push and not pull.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Wed, Jun 23, 2010 at 4:33 AM, rpalmer68 wrote:

> Thanks for the replies.
>
> I'm new to all of this, but doesn't the async method still have a
> deadline of 10 seconds from when the "urlfetch.make_fetch_call" is
> made?
>
> Now since the call goes to my server and then my server could take 15
> seconds to run it's task and retuen a simple "Data Added OK" or "Data
> Removed OK" response I can't see how using async will help at all.
>
> As I say, I'm very green so I may be missing the point completely, so
> sorry if I am.
>
> Thanks
> Richard
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Cannot fetch dynamic content from the same app (URL Fetch API)

2010-06-22 Thread Alon Carmel
if i wanted to hack this without nick's question i'd leave urlfetch and just
output a javascript jquery ajax call to that url. that might work. but its a
terrible hack.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jun 21, 2010 at 9:01 PM, PhilBeaudoin
wrote:

> I need to use the URL Fetch API to load dynamic content (a JSP or
> servlet-generated content) from the same application that uses URL
> Fetch. It looks like this is not allowed on AppEngine -- and it
> doesn't seem related to the documented limitation that URL Fetch
> cannot get its own URL. (The URL is different, even though is has the
> same domain). Another point to note is that this works if I'm using
> URL Fetch to get static content (an HTML page).
>
> * Background *
>
> I need to do this to serve content generated with HTMLUnit to make my
> app crawlable by search engines, as described in:
> http://code.google.com/web/ajaxcrawling/
>
> * AppEngine log analysis *
>
> From my browser I request
> http://puzzlebazaar.appspot.com?_escaped_fragment_=main
>
> From the AppEngine log I see that the request for
> http://puzzlebazaar.appspot.com?_escaped_fragment_=main starts, it
> goes through HTMLUnit which then uses URL Fetch to get
> http://puzzlebazaar.appspot.com#!main. Following this I get an
> IOException :
> com.philbeaudoin.gwtp.crawler.server.CrawlFilter logStackTrace:
> java.util.concurrent.ExecutionException: java.io.IOException: Timeout
> while fetching:
> http://puzzlebazaar.appspot.com#!main
>
> The page content is empty. This exception is caught, the servlet
> continues and terminates normally.
>
> Then the request for http://puzzlebazaar.appspot.com#!main starts.
> From the timings in the AppEngine logs it's clear that this request
> starts too late, that is, after the original request has terminated.
>
> * What I tried *
>
> 1) To make sure it wasn't a problem with HTMLUnit, I used URL Fetch
> directly, but got the same behavior.
> 3) I tried fetching dynamic content from the same domain but with more
> differences in the URL. (Not just the parameters.)  It fails.
> 2) I tried fetching a statically-served HTML page from the same
> domain. This works.
>
> * Questions *
>
> 1) Is this documented behavior from AppEngine?
> 2) Is there a way to work around this?
> 3) Are there any plans to allow this in the future?
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: Static images not being served

2010-06-22 Thread Alon Carmel
retry to put a-a.gif and see if it fails on that also.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jun 21, 2010 at 10:56 PM, n8gray  wrote:

> On Jun 21, 12:51 pm, n8gray  wrote:
> > Hi all,
> >
> > My static images aren't being served.
> > ...
> > Thanks for any help, and please CC me with replies.
>
> Ok, sorry for replying to myself, but just after posting this I tried
> renaming my image file from "HexaLex-logo.png" to "logo.png", and that
> solved the problem.  I'm guessing the '-' is the problem.  That's
> gotta be a bug in GAE, right?
>
> Thanks,
> -n8
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Is there any way to get around the Urlfetch 10 second deadline limit?

2010-06-22 Thread Alon Carmel
no there isnt, i myself parse large xml files for example that i download
remotely and the time for the process to run varies because of the time it
takes for the urlfetch to grab the data.
You can split the data into smaller chunks and use mapper to cycle when you
finished your time to continue posting.
You can also split it across alot of small tasks that run asyc like i did
for parsing the data into the datastore. works perfectly.

my suggestions, just split the chunks.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Tue, Jun 22, 2010 at 5:45 AM, rpalmer68 wrote:

> Hi,
>
> I have a GAE app that is using this line;
>
> result = urlfetch.fetch(url=url, payload=encodedParams,
> method=urlfetch.POST, deadline=10);
>
> The problem is that the server/app the GAE app is communicating with
> may have to do some external lookups from another remote databse and
> depending on servr load sometimes the response back to my GAE app can
> be 12 or 15 seconds.  This of course triggers a DownloadError.
>
> Is there any other way of performing the above task without being
> restricted to the 10 second deadline?
>
> Thanks
> Richard
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Datastore

2010-06-14 Thread Alon Carmel
i also suggest always putting in mind that selects unlike inserts are more
problematic in datastore unlike sql. so youll want to save all the data you
may think you want in advance. remember datastore row model structure can be
altered as you go by adding more entities to the model.
i always save all the data ill need and also referencekey to stuff just for
keeping things in order.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



2010/6/14 Ian Lewis 

> Ben,
>
> With non-relational databases like appengine's datastore you need to
> create data based on the way you will query it rather than the way you
> want to store it.
>
> In your case it looks like you would need to create a model to store
> the data you want to query (essentially an index that you manage). A
> model something like the following might work.
>
> PeopleOwnItemsIndex {
>person (reference to the person owning the items/people)
>owner (reference to the person owning the item)
>item (reference to the item owned)
> }
>
> You'll be querying on the person field so the query will need to go in
> your datastore-indexes.xml or index.yaml
>
> When you change owners or add items you'll need to update the data for
> this model. If you want to consolidate models you could also get only
> your own items by creating an index on person+owner and query it with
> person = me, owner = me. That would be instead of using PersonOwnItem,
> but the difference would be you would have a record for each person
> that can see the item rather than only one for the person owning the
> item.
>
> Ian
>
> On Sun, Jun 13, 2010 at 4:10 AM, Ben Woodhead 
> wrote:
> > Hello Everybody,
> >
> > I am very comfortable with SQL and relational databases and I am
> > trying to wrap my head around GAE. Below is an example of how I would
> > tackle my problem in SQL and it would be really great if someone could
> > give me some hints on how to accomplish something similar in GAE. Its
> > basically a hierarchy of ownership.
> >
> > The 2 base tables:
> >
> > table People {
> >   int personId;
> >   string name;
> > }
> >
> > table items {
> >int itemId;
> >string itemName;
> > }
> >
> > The 2 relational tables:
> > table PeopleOwnPeople {
> >int ownersId;
> >int personId;
> > }
> >
> > table PeopleOwnItems {
> >int personId;
> >int itemId;
> > }
> >
> > So now that we have a basic structure I can start to explain the idea
> > or problem. I want to be able to search for all items owned by me and
> > the people i own:
> >
> > select items.* from Items, PeopleOwnPeople, PeopleOwnItems where
> > (PeopleOwnPeople.ownersId=234 and
> > PeopleOwnPeople.personId=PeopleownItems.personId) or
> > PeopleOwnItems.personId = 234 ;
> >
> > I am looking to use GWT as my frontend to this project so I am likely
> > going to be using Java for the backend but that isn't set in stone
> > yet.
> >
> > Thanks any and all help.
> > Ben
> >
> > --
> > 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-appeng...@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.
> >
> >
>
>
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0021
> 東京都渋谷区恵比寿西2-3-2 NSビル6階
> email: ianmle...@beproud.jp
> TEL:03-6416-9836
> FAX:03-6416-9837
> http://www.beproud.jp/
> ===
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Deferred Library Not Working Intermittently

2010-06-14 Thread Alon Carmel
for me its just not running the deferred the third time. i see two tasks
maybe three running then everything halts. its like somewhere along the way
the deadtimeexceeded is not firing or the deferred doesnt have enough time
to fire up upon error.
i resolved by going task wise and just spreading the load across many tasks
(300) of them instead of doing it deferred.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jun 14, 2010 at 11:07 AM, Aaron Cheung wrote:

> I'd like to update this thread with a new set of observations.  Most
> importantly, I have divorced myself from the notion that this has anythign
> to do with the deferred library.
>
> When I took the datastore puts out of the deferred function, they still
> failed to complete.  When I put the puts inside a transaction, it helps a
> little bit, but the puts still fail about a third of the time.  My question
> is why this would be happening on the SDK.  There is nothing else running in
> the background when these puts are getting issued.
>
> Your thoughts are much appreciated!
>
> On Sun, Jun 13, 2010 at 2:58 PM, Alon Carmel  wrote:
>
>> having the same issue exactly. deferred lib runs two tasks then halts
>> without uppering the counter. i thought i had some issue.
>> -
>> Cheers,
>> public static function AlonCarmel() {
>> //Contact me
>> var email = 'a...@aloncarmel.me';
>> var twitter = '@aloncarmel';
>> var web = 'http://aloncarmel.me';
>> var phone = '+972-54-4860380';
>> }
>>
>> * If you received an unsolicited email from by mistake that wasn't of your
>> matter please delete immediately. All E-mail sent from Alon Carmel is
>> copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
>> Alon Carmel are owned by the Author only. Any attempt to duplicate or
>> imitate any of the Content is prohibited under copyright law 2008.
>>
>>
>>
>> On Sun, Jun 13, 2010 at 11:00 PM, Aaron Cheung 
>> wrote:
>>
>>> Hi Nick,
>>>
>>> Unfortunately, putting the update inside a transaction didn't solve the
>>> problem.  This problem is currently occuring on the SDK, where there
>>> shouldn't be any concurrency issues.  I looked into AppStats again, and I
>>> can clearly seeing the datastore.v3Commit taking place.  And, I am pretty
>>> sure the values are being passed in and set properly.  It just fails a large
>>> portion of the time.  Any other ideas?
>>>
>>> Very best and thanks for your help,
>>> Aaron
>>>
>>>
>>> On Sun, Jun 13, 2010 at 4:47 AM, Nick Johnson (Google) <
>>> nick.john...@google.com> wrote:
>>>
>>>> Hi Aaron,
>>>>
>>>> Since you're not doing the update inside a transaction, it's likely that
>>>> what's happening is that multiple tasks are updating the entity at the same
>>>> time, which results in a concurrency issue: Both tasks fetch the entity and
>>>> modify it, and the one that does the put last is the one whose results are
>>>> visible.
>>>>
>>>> Doing the update in a transaction should fix this.
>>>>
>>>> -Nick Johnson
>>>>
>>>> On Sun, Jun 13, 2010 at 8:50 AM, Aaron Cheung >>> > wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> I'm still having trouble debugging this error.  Would appreciate any
>>>>> thoughts!
>>>>>
>>>>> Thanks,
>>>>> Aaron
>>>>>
>>>>>
>>>>> On Sat, Jun 12, 2010 at 3:55 AM, Aaron wrote:
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> I am currently implementing the deferred library in my code, and I am
>>>>>> running into a very very strange problem.  The function that I am
>>>>>> deferring gets passed an entity key.  It does two tasks: 1) Gets the
>>>>>> entity,  retrieves a reference property, alters it, and then puts it
>>>>>

Re: [google-appengine] Deferred Library Not Working Intermittently

2010-06-13 Thread Alon Carmel
having the same issue exactly. deferred lib runs two tasks then halts
without uppering the counter. i thought i had some issue.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Sun, Jun 13, 2010 at 11:00 PM, Aaron Cheung wrote:

> Hi Nick,
>
> Unfortunately, putting the update inside a transaction didn't solve the
> problem.  This problem is currently occuring on the SDK, where there
> shouldn't be any concurrency issues.  I looked into AppStats again, and I
> can clearly seeing the datastore.v3Commit taking place.  And, I am pretty
> sure the values are being passed in and set properly.  It just fails a large
> portion of the time.  Any other ideas?
>
> Very best and thanks for your help,
> Aaron
>
>
> On Sun, Jun 13, 2010 at 4:47 AM, Nick Johnson (Google) <
> nick.john...@google.com> wrote:
>
>> Hi Aaron,
>>
>> Since you're not doing the update inside a transaction, it's likely that
>> what's happening is that multiple tasks are updating the entity at the same
>> time, which results in a concurrency issue: Both tasks fetch the entity and
>> modify it, and the one that does the put last is the one whose results are
>> visible.
>>
>> Doing the update in a transaction should fix this.
>>
>> -Nick Johnson
>>
>> On Sun, Jun 13, 2010 at 8:50 AM, Aaron Cheung 
>> wrote:
>>
>>> Hi guys,
>>>
>>> I'm still having trouble debugging this error.  Would appreciate any
>>> thoughts!
>>>
>>> Thanks,
>>> Aaron
>>>
>>>
>>> On Sat, Jun 12, 2010 at 3:55 AM, Aaron  wrote:
>>>
>>>> Hi!
>>>>
>>>> I am currently implementing the deferred library in my code, and I am
>>>> running into a very very strange problem.  The function that I am
>>>> deferring gets passed an entity key.  It does two tasks: 1) Gets the
>>>> entity,  retrieves a reference property, alters it, and then puts it
>>>> back 2)Sends out an email
>>>>
>>>> The email is getting sent out every time the deferred function is
>>>> called.  BUT, the first task only completes 2/3 of the time.  I have
>>>> been replicating this error over and over and have yet to find any
>>>> pattern in the failures.  Here is the deferred function
>>>>
>>>> def complete_insert(self, data, answer_key, userkey):
>>>>a = db.get(answer_key)
>>>>q = a.question
>>>>q.answercount += 1
>>>>q.answerers += [str(userkey)]
>>>>q.answerers = list(set(q.answerers))
>>>>q.answered = True
>>>>q.lastanswer = str(answer_key)
>>>>q.lastanswerdate = datetime.now()
>>>>q.put()
>>>>
>>>>mail = Mail()
>>>>followers = db.get(q.indexes.followerlist)
>>>>emails = []
>>>>for follower in followers:
>>>>mail.send(emails, "question-followers-email", params =
>>>> {"question": common.strip_html(q.question),
>>>> "details":common.strip_html(q.details), "slug":q.slug,
>>>> "answer":common.strip_html(data["answer"])} )
>>>>
>>>> A couple observations that make this even more boggling.  I can tell
>>>> when the function fails because the counter does not increment and the
>>>> other properties do not change.  However, when it fails, I can see the
>>>> put() being done in AppStats under /ah/deferred.  FURthermore, I have
>>>> checked that the values being passed into the function are the ones
>>>> that I am expecting.  (I did this by adding another put that wrote the
>>>> arguments to a test model)
>>>>
>>>> I have absolutely no idea what could be going on here.  Is this a bug?
>>>>
>>>> Very best and thanks for your time,
>>>> Aaron
>>>>
>>>> --
>>>> You received this mes

Re: [google-appengine] Re: Using GAE as external storage

2010-06-07 Thread Alon Carmel
is the data textual files? images? why not use blobstore service to store
the files using a proprietary api and write a proprietary api to download
them?
its not supposed to be an issue or am i missing the point?

-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Mon, Jun 7, 2010 at 2:32 PM, Maaartin-1  wrote:

> I'm afraid, this won't work. My problem is quite exactly as the one
> described in
> http://groups.google.com/group/gs-discussion/msg/dd3bae779fecd633?hl=en
>
> On 10-06-04 23:05, ctran wrote:
> > Google Storage for Developers or use S3 is much more suitable for your
> > purpose.
> >
> > On Jun 3, 1:18 pm, Maaartin  wrote:
> >
> >> I'm very new to GAE. I'm thinking about using GAE for storing huge
> >> quantities of data, sent and retrieved by a client. What I mean looks
> >> more like a remote file system then like a web app. Do I have to use
> >> https for the communication or is there something better?
> >>
> >> How can I store it most efficiently? The vast majority of my data
> >> belong to a single table looking like
> >> CREATE TABLE MyBlobs (id BINARY(32), content BLOB, PRIMARY KEY (id))
> >> where the contents are a couple of kilobytes long, the ids are random-
> >> looking unrelated binary strings, and all queries look like
> >> INSERT INTO MyBlobs VALUES (id1, content1), (id2, content2), (id3,
> >> content3), 
> >> or
> >> DELETE FROM MyBlobs WHERE id IN (id1, id2, id3, )
> >> or
> >> SELECT * FROM MyBlobs WHERE id IN (id1, id2, id3, )
> >> There will be no updates and no range searches nor alike.
> >>
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] Re: 500 errors

2010-05-25 Thread Alon Carmel
roads?... where were going we dont need roads...
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



2010/5/26 Jaroslav Záruba 

> On Wed, May 26, 2010 at 12:51 AM, Harlan Crystal  > wrote:
>
>> Currently the admin console believes my "oldest task" in my task queue
>> was created at a time in the future.  It literally says:
>>
>> 2010-05-25 15:57:21 (0:07:31 from now)
>>
>> (note the "from now")
>>
>
> then you better believe it!
>
>
>>
>> On Tue, May 25, 2010 at 5:50 PM, Harlan Crystal
>>  wrote:
>> > -- Forwarded message --
>> > From: App Engine Team 
>> > Date: Tue, May 25, 2010 at 5:42 PM
>> > Subject: [google-appengine] Re: 500 errors
>> > To: Google App Engine 
>> >
>> >
>> > Task Queues and Cron Tasks are not running while we are waiting for
>> > the datastore to come back completely. Sorry, I've updated the
>> > downtime notify thread to point this out.
>> >
>> > On May 25, 2:38 pm, Harlan Crystal  wrote:
>> >> Logs are showing "InternalError: internal error." being thrown in all
>> my apps.
>> >>
>> >> On Tue, May 25, 2010 at 5:37 PM, Harlan Crystal
>> >>
>> >>
>> >>
>> >>  wrote:
>> >> > +1.
>> >>
>> >> > It is happening to all of my apps.  Task queues are not being
>> processed.
>> >>
>> >> > On Tue, May 25, 2010 at 5:31 PM, Juan Pablo Guereca <
>> jpguer...@gmail.com> wrote:
>> >> >> Hi, taskqueues don't work in my app, the tasks are added to the
>> queue but
>> >> >> they don't get executed ( I see no entry in the log and no retries
>> ).
>> >>
>> >> >> Cheers,
>> >> >> JP
>> >>
>> >> >> On 25/05/10 22:50, App Engine Team wrote:
>> >>
>> >> >>> App Engine is currently experiencing a datastore outage:
>> >>
>> >> >>>
>> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>> >>
>> >> >>> Things are improving now, but we're still seeing some high latency.
>> >> >>> Please let us know if you are still seeing issues.
>> >>
>> >> >>> On May 25, 1:20 pm, Jeff Schnitzer  wrote:
>> >>
>> >> >>>> I'm also seeing 500 errors.  My logs are full of this:
>> >>
>> >> >>>> com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
>> The
>> >> >>>> API call datastore_v3.Put() is temporarily unavailable.
>> >> >>>> at
>> >> >>>>
>> com.google.net.rpc.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.jav
>> >> >>>> a:1025)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.jav
>> >> >>>> a:444)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext.runInContext(TraceContext.java:684)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInherited
>> >> >>>> ContextNoUnref(TraceContext.java:322)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInherited
>> >> >>>> Context(TraceContext.java:314)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:
>> >> >>>> 442)
>> >> >>>> at
>> >> >>>>
>> com.google.net.rpc.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:1
>> >> >

Re: [google-appengine] Google Apps Engine-Application

2010-05-17 Thread Alon Carmel
jaroslav i got a feeling your right. happened to me also. now it figures. :)
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



2010/5/17 Jaroslav Záruba 

> If I'm not mistaken you wouldn't be able to use the newly added fields in
> queries.
>
>
> On Mon, May 17, 2010 at 3:57 PM, Ravi Sharma  wrote:
>
>> Yes you can do.just add extra class(entity) or extra field in existing
>> class(entity).
>>
>> On 16 May 2010, at 08:12, megala dhinakaran 
>> wrote:
>>
>>  Hi,
>>>
>>>I create one application in ecllipse.That application contains
>>> the coding to create table in google app engine
>>>
>>> datastore.(i.e)Google Big table.In that application a created two
>>> table .After that i deployed the application.My constraints is ,is it
>>> possible to create a new table after depolyment the project and is it
>>> possible to create new column in  already exits table.
>>>
>>>
>>> Thanks in advance
>>>
>>> --
>>> 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-appeng...@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-appeng...@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-appeng...@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-appeng...@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.



Re: [google-appengine] google app engine

2010-05-17 Thread Alon Carmel
You dont add tables, you add models to the db.models. just add any or change
existing. you can do it with live data without damaging existing existing
data in those 'tables'.

tables = entities.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Sun, May 16, 2010 at 9:42 AM, maheswari maheswari wrote:

>
>
> I have deployed one application in google app engine. In that
> application i have created three table. Now i need to add one new
> table to the existing application. is it possible can any one help me.
>
> thanks in advance.
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: A bunch of questions

2010-05-15 Thread alon
well, i didnt say chuck norris is liked in thailand.
about the stability, i agree there was a recent stability issues with
the app engine. but most of the time its not server failure and you
dont need to be concerned about loosing data like you should when
hosted on private servers.

I lost so much data over the years experiencing server failures at
hosting companies im grown sick of it. having a 500 error for 5
minutes from time to time isnt a stability issue. write your app
properly and you wont even be concerned about it (proper 404 etc).

your also referring to java, im referring to python which i didnt have
too much issues.

On May 15, 1:31 pm, Jaroslav Záruba  wrote:
> On Sat, May 15, 2010 at 12:19 PM, Alon Carmel  wrote:
>
> > 2. You can't get more reliable partner than google really.
>
> > Your right :) its very stable and can handle loads.
>
> Recent couple of days like 15% of messages I got from AppEngine groups
> (google-appengine and google-appengine-java) were about applications being
> unreachable. AppEngine is something that develops so one can understand but
> let's be honest, it sometimes happens... Just browse back google-appengine
> and/or google-appengine-java tosee for yourself whether it is something that
> you should be concerned about.
>
> 11. If Google gets banned in any country [well, it can happen :P],
>
>
>
> > will people from that country be still able to use my app [I guess
> >> answer would be no]?
>
> > Google bans countries, countries dont ban google. just like chuck norris.
>
> appspot.com blocked in
> Thailand!<http://groups.google.com/group/google-appengine/browse_thread/thread/...>
>
> --
> 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-appeng...@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-appeng...@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.



Re: [google-appengine] A bunch of questions

2010-05-15 Thread Alon Carmel
Answers below in red:

2010/5/15 Paweł Gronkiewicz 

> Hello everyone :)
>
> My first post and it will be quite big. I spend last week looking at
> Google App Engine, so my head is full of questions now. There is
> surely a lot of reading ahead, but I think that best way to get it
> sorted will be by asking here. I'd like to get some hints and
> directions. And I'd like to know if all that stuff is worth looking
> into...
>
> Anyway, my project is browser-based game. The goal is to go through
> pages/tabs and modify database values [also known as building,
> recruiting, producing, spellcasting, attacking...]. So it's mostly
> about constant access to data + social aspects [forum, chat, etc]. All
> interaction between accounts occurs only once every 24h [attacks,
> spells etc; except some minor stuff [target validations, war
> declarations etc].
>
> There were some changes in programming languages etc, final decision
> was to go with Java [wicket + hibernate + spring + jboss probably],
> but a friend pointed me to Google App Engine. So my main question is,
> would it be the right direction? There are some questions/thoughts
> that come:
>
> 1. Free hosting sounds great - limits sound good enough for beta-
> testing purposes. Prices later seem competitive. And you don't have to
> worry about where you host, while serving customers from the whole
> world.
>
> 2. You can't get more reliable partner than google really.
>
Your right :) its very stable and can handle loads.

>
> 3. But what are drawbacks? Can you later host your application
> somewhere else without redoing most of it? [database access etc mostly
> comes to mind]
>
You cant host your application elsewhere because its written ontop of the
app engine, you can use the dev server you get with your python sdk to host
it elsewhere but its highly unrecommanded. you can access your datastore
database remotely by using /remote_api or writing your own proprietary api
to access your data remotely.

>
> 4. Does application identifier matter at all? It seems like everyone
> can claim anything. I guess it's just to identify your app and people
> won't see it? [if you link your domain]
>
Application identifier matters if you plan on hosting your app on the .
appspot.com domain, i assume you want your own domain. so no its doesnt
really matter.

>
> 5. I don't understand "Authentication Options " when creating app.
> What does it mean? I don't want anyone else aaccessing my app and
> source code. But I want to have my own user database for my app - not
> openID or google accounts [and people could be unhappy about having to
> use one of these just to play the game]. And I want few domains to
> link to just one app.
>
Noone can access your database, code or anything else. but its all up to
you. i recommand using the google app engine django patch which lets you run
webapps using django python framework ontop of app engine and datastore. you
can then use alot of pre-written code (middleware) to allow users to access
your app using openid,google,facebook,twitter etc and have a dedicated
datastore user base.

>
> 6. I have naked domain, just parked where I got it. How can I link it
> to google, so my app can be there? As it's just parked I cannot put
> html there. And I don't have CNET record access.
>
if you dont have CNAME records you can access you cant point your domain. if
your domain is parked on godaddy for example they got 'TotalDNS' that you
can park your domain on their DNS servers and they allow you to add CNAME
records freely. remember you cannot host naked domain. only subdomain. i.e
http://beta.mydomain.com and not http://mydomain.com etc...

>
> 7. Scalability sounds cool, but can I maintain multiple game servers
> as one app? I don't want all users to play on one.
>
the term servers is thrown around... :P dont think of servers anymore. there
arent any. its google app engine voodoo. just like you dont have ftp access
to your files is because there is no specific machine that hosts your code.
its spread around. you can just upload different .appspot applications for
different servers.
you can also host different apps under django framework.

>
> 8. Is there any way to use SMS services [liek the google one that
> sends you activation code] in our app? It'd be nice to be able to send
> notification [or account verification] this way.
>
there are alot of sms services out there that lets you send sms via their
servers with simple HTTP request. i dont think google has api for their sms
services.

>
> 9. Are there any tools to support payments from customers? Anything
> that I could just deploy, modify and be able to accept money securely?
>
I recommend using google's Payment service called 'checkout'. they let you
even add a small javascript code api that added a fully blown shopping cart.
similare to paypal but easier.

>
> 10. How do data backups work? I'd like to be able to back up my entire
> database probably every 24h or some things even more often. It

Re: [google-appengine] Re: Access from Israel

2010-05-15 Thread Alon Carmel
im from israel with bezeq international and i can access all the domains
mentioned with no problem.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Fri, May 14, 2010 at 11:10 AM, ori  wrote:

> I'm having the same problem
>
> My ISP is Bezeq International too.
>
> On May 14, 9:16 am, rainmaker  wrote:
> > Switching to Google's DNS didn't work for me.
> > ISP is Bezeq International
> >
> > On May 12, 6:11 pm, "Ikai L (Google)"  wrote:
> >
> >
> >
> > > Have we narrowed down the cause yet? Is this a DNS issue? Does using
> 8.8.8.8
> > > resolve this (http://code.google.com/speed/public-dns/)?
> >
> > > If it is a DNS issue, what ISP are you using?
> >
> > > On Wed, May 12, 2010 at 10:08 AM, rainmaker  >wrote:
> >
> > > > I can confirm the same behavior.
> >
> > > > On Apr 26, 9:36 pm, "Ikai L (Google)"  wrote:
> > > > > Can anyone else having problems switch their DNS to 8.8.8.8 and
> 8.8.4.4?
> > > > > It's starting to seem like this may be an ISP DNS resolution
> problem.
> >
> > > > > On Mon, Apr 26, 2010 at 2:03 AM, Zarko 
> wrote:
> > > > > > There seems to be a problem with the SSL certificate on
> > > > > > "*.appspot.com". The browser think it's a redirect to another
> site and
> > > > > > block it, but you can revoke it like you mentioned.
> >
> > > > > > If you use secure connections try https directly, it will
> > > > > > give you a redirect warning, but will work.
> >
> > > > > > Zarko
> >
> > > > > > On Apr 26, 10:06 am, Lior Harsat  wrote:
> > > > > > > I have the same issue.
> > > > > > > I did notice that if I switch to https I can access my servers.
> > > > > > > I can also verify that after I started using google DNS the
> problem
> > > > > > > was gone.
> > > > > > > this is good for me but I cant tell my customers to change
> their dns
> > > > > > > settings.
> > > > > > > please resolve this issue promptly
> >
> > > > > > > --
> > > > > > > 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-appeng...@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.
> >
> > > > > --
> > > > > Ikai Lan
> > > > > Developer Relations, Google App Engine
> > > > > Twitter:http://twitter.com/ikai
> > > > > Delicious:http://delicious.com/ikailan
> >
> > > > > 
> > > > > Google App Engine links:
> > > > > Blog:http://googleappengine.blogspot.com
> > > > > Twitter:http://twitter.

Re: [google-appengine] Is App Engine Google's Dumbest TOS..?

2010-05-13 Thread Alon Carmel
you can google around, there is a link somewhere to bypass the phone number
thing for google apps for your domain subscription.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, May 13, 2010 at 7:52 AM, Leaf.  wrote:

> Google want us to build fast website right..?
> Google gives us CDN capabilities with App Engine (and thank you
> Google, it's an awesome tool).
> Google restrict you to a single application with the ludacrist "1
> application per phone number" TOS. How many webmaster build/run/
> develop one account..?
>
> Google is this going to change any time soon..?
>
> --
> 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-appeng...@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-appeng...@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.



[google-appengine] Re: Unable to add a collaborator?

2010-04-23 Thread alon
same here issue. no add collaborator or remove one.

On Apr 23, 3:16 pm, Juan González  wrote:
> when I go to permissions on my apps I see the form in the attached image so
> maybe you should file an 
> issue:http://code.google.com/p/googleappengine/issues/entry
>
> cheers
>
> 2010/4/23 Mike Axiak 
>
>
>
>
>
> > Hey,
>
> > I am trying to add a collaborator to my project to no avail. I was
> > told that there should be an option in the "Permissions" screen of the
> > console, but this is what I see:http://imgur.com/xipjM?full
>
> > Sorry if I have missed something obvious, I've spent a long time
> > looking around the docs for an answer.
>
> > Cheers,
> > MIke
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Indifference will be the downfall of mankind, but who 
> cares?...http://blog.opsiland.info/
>
> --
> 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-appeng...@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.
>
>  Captura de pantalla 2010-04-23 a las 14.13.14.png
> 22KViewDownload

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