Re: [google-appengine] How to re-enable a task queue which has become disabled

2012-09-20 Thread Nicholas Verne
Did someone upload a new version of your app? If so, the SendPrize
queue may have been missing from queue.yaml/xml


On Fri, Sep 21, 2012 at 12:15 PM, phtq  wrote:
> kbdlessons2

-- 
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] How to re-enable a task queue which has become disabled

2012-09-20 Thread phtq
Our application (kbdlessons2) has a number of task queues, one of which 
(SendPrize) became disabled a few days ago.

How do we re-enable it? Also, what made it become disabled? The 
documentation on task queues and the dashboard don't provide any clues.

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



Re: [google-appengine] 500 Error updating backend

2012-09-20 Thread Takashi Matsuo
Hi Frank,

Sorry about the inconvenience you had. We have identified the root cause
and will work on the prevention.

-- Takashi


On Fri, Sep 21, 2012 at 7:32 AM, turbofrank  wrote:

> It cleared up yesterday afternoon, but I was unable to update my backends
> for the entire first half of the day.  I've also seen this error other
> times in the past few months.  Any hopes for a fix, or tips on how to
> prevent this?
>
> Thanks,
> Frank
>
>
> On Thursday, September 20, 2012 3:54:34 AM UTC-7, Takashi Matsuo (Google)
> wrote:
>
>> Hi,
>>
>> Are you still seeing this issue or was it just a transient problem?
>>
>>
>> On Thu, Sep 20, 2012 at 3:35 AM, turbofrank  wrote:
>>
>>> I get this intermittently, and today I can't seem to update my backends
>>> at all.  Here is the exception, any help is greatly appreciated:
>>>
>>> Unable to update:
>>> com.google.appengine.tools.**admin.HttpIoException: Error posting to
>>> URL: https://appengine.google.com/**api/appversion/startserving?**
>>> backend=api&app_id=turbofrank&
>>> 500 Internal Server Error
>>>
>>> Server Error (500)
>>> A server error has occurred.
>>>
>>> at com.google.appengine.tools.**admin.**
>>> AbstractServerConnection.**send1(**AbstractServerConnection.java:**285)
>>> at com.google.appengine.tools.**admin.**
>>> AbstractServerConnection.send(**AbstractServerConnection.java:**245)
>>> at com.google.appengine.tools.**admin.**
>>> AbstractServerConnection.post(**AbstractServerConnection.java:**224)
>>> at com.google.appengine.tools.**admin.AppVersionUpload.send(**
>>> AppVersionUpload.java:606)
>>> at com.google.appengine.tools.**admin.AppVersionUpload.**
>>> startServing(AppVersionUpload.**java:587)
>>> at com.google.appengine.tools.**admin.AppVersionUpload.commit(**
>>> AppVersionUpload.java:532)
>>> at com.google.appengine.tools.**admin.AppVersionUpload.**
>>> doUpload(AppVersionUpload.**java:141)
>>> at com.google.appengine.tools.**admin.AppAdminImpl.doUpdate(**
>>> AppAdminImpl.java:328)
>>> at com.google.appengine.tools.**admin.AppAdminImpl.**
>>> updateAllBackends(**AppAdminImpl.java:74)
>>> at com.google.appengine.tools.**admin.AppCfg$**
>>> BackendsUpdateAction.execute(**AppCfg.java:1095)
>>> at com.google.appengine.tools.**admin.AppCfg$BackendsAction.**
>>> execute(AppCfg.java:1259)
>>> at com.google.appengine.tools.**admin.AppCfg.(AppCfg.**
>>> java:172)
>>> at com.google.appengine.tools.**admin.AppCfg.(AppCfg.**
>>> java:69)
>>> at com.google.appengine.tools.**admin.AppCfg.main(AppCfg.java:**
>>> 65)
>>> at net.kindleit.gae.**EngineGoalBase$1.run(**
>>> EngineGoalBase.java:318)
>>>
>>> --
>>> 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/-/**DT8BIpzfevUJ
>>> .
>>> To post to this group, send email to google-a...@googlegroups.**com.
>>> To unsubscribe from this group, send email to google-appengi...@**
>>> googlegroups.com.
>>>
>>> For more options, visit this group at http://groups.google.com/**
>>> group/google-appengine?hl=en
>>> .
>>>
>>
>>
>>
>> --
>> Takashi Matsuo | Developers Advocate | tma...@google.com
>>
>>   --
> 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/-/EsfG2pBfqbMJ.
>
> 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.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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.



Re: [google-appengine] Help me About /_ah/warmup

2012-09-20 Thread Takashi Matsuo
Hi,

405 is method not allowed, which indicates that you have POST only
handler(could be PUT, DELETE or whatever only) and the warmup request were
handled by that handler. The response code must be 2xx or 404 for warmup
requests to work correctly.


On Fri, Sep 21, 2012 at 12:59 AM, MR.SURACHAI YDR <
surachai...@aseancloud.com> wrote:

> Hello! every body, please help me about app engine. My app is loop request
> about warmup. how to disable it. Following picture.
>
>
> 
>
>  --
> 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/-/JYMGQ-5DZB4J.
> 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.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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.



Re: [google-appengine] App Engine HRD migration and easier process for people with no data

2012-09-20 Thread Joshua Smith
I have one such app, and I can tell you that it has had exactly 0 downtime for 
years. If you don't use the datastore, then whether you are on HR or M/S 
completely doesn't matter. Even during periodic maintenance, the app will just 
keep on serving.

So… why bother?

On Sep 20, 2012, at 5:09 PM, Greg Linden  wrote:

> Perhaps I'm wrong, but I'd assume there are a large number of appengine 
> applications that have stored nothing in the datastore.
> 
> It would be fantastic if there was a quick, easy tool to do the migration to 
> HRD for those applications without the hassle of changing the application 
> name and other goodies people with a more serious migrations have to do.  
> Again, I may be wrong, but I'd assume that, if you have no data in your 
> master/slave datastore, if you are not using your master/slave datastore, the 
> migration to HRD could be done in place.
> 
> Perhaps someone at Google could think about that, whether it would be easy to 
> do, and how many people fall into this category.  I'm sure you'd have much 
> higher compliance if you made it easier, and this probably is one easy way to 
> make it easier for a large number of people.
> 
> -- 
> 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/-/VpNv04_Nr1YJ.
> 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] App Engine HRD migration and easier process for people with no data

2012-09-20 Thread Greg Linden
Perhaps I'm wrong, but I'd assume there are a large number of appengine 
applications that have stored nothing in the datastore.

It would be fantastic if there was a quick, easy tool to do the migration 
to HRD for those applications without the hassle of changing the 
application name and other goodies people with a more serious migrations 
have to do.  Again, I may be wrong, but I'd assume that, if you have no 
data in your master/slave datastore, if you are not using your master/slave 
datastore, the migration to HRD could be done in place.

Perhaps someone at Google could think about that, whether it would be easy 
to do, and how many people fall into this category.  I'm sure you'd have 
much higher compliance if you made it easier, and this probably is one easy 
way to make it easier for a large number of people.

-- 
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/-/VpNv04_Nr1YJ.
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: Unable to restore backup from Google Cloud Storage.

2012-09-20 Thread Josué Moëns
Hi, I had exactly the same issue and clicking on the link "Share Publicly" 
of the corresponding file in the bucket solved the problem

On Friday, August 17, 2012 7:47:55 AM UTC+2, vaithi wrote:
>
> Hi,
>
> I am unable to restore a backup from bucket in Google Cloud Storage to a 
> different appspot, for which i have given a full control on ACL of the 
> bucket.
> It always throws an error like 'Requested path was not found ' on 
> Datastore Admin page.
> Please help me on this.
>

-- 
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/-/DDRUzxubT9AJ.
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: Properties Elided

2012-09-20 Thread Danny Leshem
Added an issue based on this conversation: 
http://code.google.com/p/googleappengine/issues/detail?id=8158, feel free 
to star.

On Thursday, September 20, 2012 2:29:45 PM UTC+3, Marcel Manz wrote:
>
> +1
>
> The Datastore Viewer should always show all properties (or at least have 
> some 'Show all' functionality).
>
>

-- 
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/-/ait9WjWmuToJ.
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] Help me About /_ah/warmup

2012-09-20 Thread MR.SURACHAI YDR
Hello! every body, please help me about app engine. My app is loop request 
about warmup. how to disable it. Following picture.



-- 
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/-/JYMGQ-5DZB4J.
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.



Re: [google-appengine] 500 Error updating backend

2012-09-20 Thread turbofrank
It cleared up yesterday afternoon, but I was unable to update my backends 
for the entire first half of the day.  I've also seen this error other 
times in the past few months.  Any hopes for a fix, or tips on how to 
prevent this?

Thanks,
Frank

On Thursday, September 20, 2012 3:54:34 AM UTC-7, Takashi Matsuo (Google) 
wrote:
>
> Hi,
>
> Are you still seeing this issue or was it just a transient problem?
>
>
> On Thu, Sep 20, 2012 at 3:35 AM, turbofrank 
> > wrote:
>
>> I get this intermittently, and today I can't seem to update my backends 
>> at all.  Here is the exception, any help is greatly appreciated:
>>
>> Unable to update:
>> com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
>> https://appengine.google.com/api/appversion/startserving?backend=api&app_id=turbofrank&;
>> 500 Internal Server Error
>>
>> Server Error (500)
>> A server error has occurred.
>>
>> at 
>> com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:285)
>> at 
>> com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:245)
>> at 
>> com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:224)
>> at 
>> com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:606)
>> at 
>> com.google.appengine.tools.admin.AppVersionUpload.startServing(AppVersionUpload.java:587)
>> at 
>> com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:532)
>> at 
>> com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:141)
>> at 
>> com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:328)
>> at 
>> com.google.appengine.tools.admin.AppAdminImpl.updateAllBackends(AppAdminImpl.java:74)
>> at 
>> com.google.appengine.tools.admin.AppCfg$BackendsUpdateAction.execute(AppCfg.java:1095)
>> at 
>> com.google.appengine.tools.admin.AppCfg$BackendsAction.execute(AppCfg.java:1259)
>> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:172)
>> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:69)
>> at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:65)
>> at net.kindleit.gae.EngineGoalBase$1.run(EngineGoalBase.java:318)
>>  
>> -- 
>> 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/-/DT8BIpzfevUJ.
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> -- 
> Takashi Matsuo | Developers Advocate | tma...@google.com 
>
>  

-- 
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/-/EsfG2pBfqbMJ.
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: How do I stop all the duplicate posting copies to the LinkedIn "Google App Engine Developers" group?

2012-09-20 Thread Greg
To clarify, the LInkedIn posts are linking to blog entries from the 
official "Google App Engine Blog", not digests from this forum.  For 
instance, one of those blog postings is at
http://googleappengine.blogspot.com/2012/09/app-engine-172-released.html 

You can see the copied-in postings on the "discussions" for that LinkedIn 
group (since it's an open group), at 
http://www.linkedin.com/groups?gid=128878 

I apologize for posting here, but I didn't see another place to do it.  It 
didn't seem appropriate to add a comment to the original blog entries, 
since the problem is not specific to each blog entry.  In that blog 
posting, it said to provide "general discussion and feedback", find "us" 
(meaning the authors of that blog) at this forum, providing a link to it.   
So I'm hoping that the Google people who generate the blog postings are 
indeed watching this forum.   The blog is "the official Google App Engine 
Blog", so I'm assuming someone at Google set this up. 

There's no headers to look at, since this doesn't involve e-mail.  The 
entry just appears on the web page for "discussions" (the second link 
provided above). 



On Wednesday, September 19, 2012 1:23:20 PM UTC-5, Greg wrote:
>
> We periodically get a blast of at least 6 identical postings from this 
> blog to the LinkedIn "Google App Engine Developers group".  I only recently 
> started moderating this LinkedIn group, and I have no idea how those posts 
> even get there, or how to stop or specify them.  Who is causing this, and 
> how can we reduce this to just one posting?   We're making a serious effort 
> to eliminate spam in this group, and posting an item more than once 
> effectively makes it spam! 

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



Re: [google-appengine] Re: NDB Query offset - limit

2012-09-20 Thread Guido van Rossum
On Thu, Sep 20, 2012 at 1:59 AM, Moises Belchin  wrote:
> Hi Guido,
>
> Thanks for your answer.
>
> We test to use query cursors and we decide don't use them because query
> cursors don't work in reverse order if you don't do query orders.

If you have inequalities the order you give must start with the
property involved in the inequalities (<, <=, >, >=, !=).

> We have queries with many filters and we can't do query orders for this
> queries. In this case if we use cursors, the reverse function doesn't work
> properly.

Did you follow the recipe for paging backwards in the docs?
https://developers.google.com/appengine/docs/python/ndb/queries#cursors

> We want to know how we must work in this cases without create indexes for
> this kind of queries.

Can you post your model and query here? (Or mail them privately if you
think they're too sensitive.)

> Thanks and regards.
> Moisés Belchín.
>
>
>
> 2012/9/20 Guido van Rossum 
>>
>> On Wednesday, September 19, 2012 8:51:48 AM UTC-7, Moises Belchin wrote:
>>>
>>> Hi guys,
>>>
>>> I have this query:
>>>
>>> q = MyKind.query()
>>> regs = q.fetch(offset = 990, limit = 10) // Returns 10 entities.
>>>
>>> If I press next button on my UI:
>>>
>>> q = MyKind.query()
>>> regs = q.fetch(offset = 1000, limit = 10) // Returns 0  entities .
>>>
>>> MyKind has 1300 entities.
>>>
>>> Any thoughts?
>>>
>>> Thanks and regards.
>>> Moisés Belchín.
>>
>>
>> I can confirm this. I believe it is intentional to encourage you to use
>> cursors instead of offsets for such queries; internally, you are paying for
>> reading all the entities that you are skipping using the offset.
>>
>> --Guido
>>
>> --
>> 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/-/uNrSdb1M29wJ.
>> 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.



-- 
--Guido van Rossum (python.org/~guido)

-- 
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: How do I stop all the duplicate posting copies to the LinkedIn "Google App Engine Developers" group?

2012-09-20 Thread Kristopher Giesing
My guess is your LinkedIn group is getting the email digests from this 
group.  I can think of a few ways this might happen:

1) Someone signed up to this Google group with the email address by which 
people can directly post to your LinkedIn group
2) Someone has an automatic forwarding rule for the digests to go to the 
email address by which people can directly post to your LinkedIn group

My guess would be 2), but that means the problem is out of this group's 
control.  If you peek at the headers for the spammy posts, can you tell 
what user they were posted on behalf of?

On Wednesday, September 19, 2012 11:23:20 AM UTC-7, Greg wrote:
>
> We periodically get a blast of at least 6 identical postings from this 
> blog to the LinkedIn "Google App Engine Developers group".  I only recently 
> started moderating this LinkedIn group, and I have no idea how those posts 
> even get there, or how to stop or specify them.  Who is causing this, and 
> how can we reduce this to just one posting?   We're making a serious effort 
> to eliminate spam in this group, and posting an item more than once 
> effectively makes it spam! 

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



Re: [google-appengine] Using SMTP on GAE

2012-09-20 Thread Vinny P
It should be noted that the best way is through an external service such as 
Sendgrid (  http://sendgrid.com/  ) or similar. Emails sent using the 
standard Mail API seem to have a high chance of being spam-filtered. Search 
the archives if you'd like to see specific examples.

-Vinny

On Wednesday, September 19, 2012 1:55:40 PM UTC-5, barryhunter wrote:
>
>
>
> On Wed, Sep 19, 2012 at 7:49 PM, Barry Hunter  wrote:
>
>> To send mail use the Mail API - that is the only supported way to do it. 
>
>
> PErhaps should qualify that: The only way to do it running directly in 
> AppEngine. 
>
> Can use other third party services/servers, as long as they have HTTP 
> Interface/API (to be used by URLFetch API) or a number of other protocols 
> that AppEngine supports (email! and XMPP) . 
>
> So if you really need to send via SMTP, could find a server that has a 
> HTTP interface, which then dispatches off via SMTP
>

-- 
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/-/2RkcsmK4DNoJ.
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.



Re: [google-appengine] Using SMTP on GAE

2012-09-20 Thread ruralgeek
Thank you for helping me to answer questions.
I found my problem. I have thought that development web server is on the 
server.Actually it is on the local.
Also,thank you for your suggestions.I will consider them.

在 2012年9月20日星期四UTC+8上午2时55分40秒,barryhunter写道:
>
>
>
> On Wed, Sep 19, 2012 at 7:49 PM, Barry Hunter  wrote:
>
>> To send mail use the Mail API - that is the only supported way to do it. 
>
>
> PErhaps should qualify that: The only way to do it running directly in 
> AppEngine. 
>
> Can use other third party services/servers, as long as they have HTTP 
> Interface/API (to be used by URLFetch API) or a number of other protocols 
> that AppEngine supports (email! and XMPP) . 
>
> So if you really need to send via SMTP, could find a server that has a 
> HTTP interface, which then dispatches off via SMTP
>

-- 
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/-/kCsR4m3Uvo4J.
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] How to design a Form Template Library for GAE/Python

2012-09-20 Thread Ola Fosheim Grøstad
Hi, I think GAE is a wonderful development environment, and the Python 
version is really empowering. However, I have decided to make my life 
easier by writing a form-generating library suitable for CMS like editing 
(admin stuff). I think Django is too big.

Requirements:
- work well with jinja2, but not assume jinja2
- work well with the ndb modelling
- possible to extend the library to allow dynamic online creation of forms
- allow multiple ndb objects in a form
- allow multipe objects of the same class in a form
- allow partial updates of objects (only touch some fields)
- return the form content untouched to the browser when validators fail, 
but indicating the field errors
- efficient instancing/generating/handling of forms

More suggestions?

My experience with GAE is somewhat limited so I am not quite sure how to 
best represent this in Python. 

I am thinking usage along these lines (pseudocode) for GET:

form = Form(
  objs={'SITE':model.SiteInfoDbModel,'USR1':model.UserDbModel,'USR2':model.
UserDbModel},
)

form.set_template(
  (Form.GROUP, # generates a DIV or other grouping mechanism
(form.SITE.sitename, 40), # allow editing of sitename string 40 chars 
line
(form.USR1.fullname, 50), # 50 chars line
(form.USR1.description, 50,15) # generate multi line editing
(Form.READONLY,'edited by',form.USR2.username)
  )
)

form.attach_db_objects(fetch_siteinfo(),fetch_admin(),fetch_currentuser())

self.response.out.write(template.render(form=form))


and something like this for POST:

form.attach_db_objects(fetch_siteinfo(),fetch_admin(),fetch_currentuser())

try:
  form.set_from_request(self.request)
  form.validate_and_commit()
  self.response.out.write(template.render(form=form,message='Data Stored'))
except ValidationError: 
  self.response.out.write(template.render(form=form,message='Validation 
failed, not stored'))

It might be better to use classes rather than lists for the form template.

Comments?

Ola.












-- 
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/-/ioOwq7yGu8wJ.
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: Properties Elided

2012-09-20 Thread Marcel Manz
+1

The Datastore Viewer should always show all properties (or at least have 
some 'Show all' functionality).

-- 
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/-/9AaMxoIIavEJ.
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.



Re: [google-appengine] Google App Engine SDK 1.7.2 is out

2012-09-20 Thread Shilendra Sharma
Hi, Takaskhi

Thanks


Regards & Thanks
Shilendra Sharma
+919891343808
shilendra...@googlemail.com


On Thu, Sep 20, 2012 at 3:56 PM, Takashi Matsuo  wrote:

>
> Hi everyone,
>
> We're happy to announce that we released the 1.7.2 SDK.
>
> This release includes several new features including the trusted tester
> program of App Engine outbound socket, as well as huge amount of bug fixes.
>
> For more details, please read our blog post and release notes.
>
> Announcement:
> http://googleappengine.blogspot.com.au/2012/09/app-engine-172-released.html
>
> Release notes for Java:
> http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
>
> Release notes for Python:
> http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
>
> Enjoy!
>
> --
> Takashi Matsuo | Developers Advocate | tmat...@google.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-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] namespace delete and restore

2012-09-20 Thread Aswath Satrasala
Hello All,
I am working with namespace a lot.I am having difficulty in
deleting/backup/restore of namespace. This feature is not available in
Datastore admin console.
If you are working with namespace and having the same pain, please star
this issue

http://code.google.com/p/googleappengine/issues/detail?id=7311&can=4&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log

Thanks a lot

-Aswath

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



Re: [google-appengine] 500 Error updating backend

2012-09-20 Thread Takashi Matsuo
Hi,

Are you still seeing this issue or was it just a transient problem?


On Thu, Sep 20, 2012 at 3:35 AM, turbofrank  wrote:

> I get this intermittently, and today I can't seem to update my backends at
> all.  Here is the exception, any help is greatly appreciated:
>
> Unable to update:
> com.google.appengine.tools.admin.HttpIoException: Error posting to URL:
> https://appengine.google.com/api/appversion/startserving?backend=api&app_id=turbofrank&;
> 500 Internal Server Error
>
> Server Error (500)
> A server error has occurred.
>
> at
> com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:285)
> at
> com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:245)
> at
> com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:224)
> at
> com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:606)
> at
> com.google.appengine.tools.admin.AppVersionUpload.startServing(AppVersionUpload.java:587)
> at
> com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:532)
> at
> com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:141)
> at
> com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:328)
> at
> com.google.appengine.tools.admin.AppAdminImpl.updateAllBackends(AppAdminImpl.java:74)
> at
> com.google.appengine.tools.admin.AppCfg$BackendsUpdateAction.execute(AppCfg.java:1095)
> at
> com.google.appengine.tools.admin.AppCfg$BackendsAction.execute(AppCfg.java:1259)
> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:172)
> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:69)
> at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:65)
> at net.kindleit.gae.EngineGoalBase$1.run(EngineGoalBase.java:318)
>
> --
> 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/-/DT8BIpzfevUJ.
> 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.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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.



Re: [google-appengine] Search service - pricing

2012-09-20 Thread Takashi Matsuo
Hi Oliver,

Unfortunately, we don't have nothing to say for now except that we're
trying to offer as competitive a price as possible.
I can not predict whether or not you will be comfortable with our price,
however, if I were you, I'd go with the new search API.

-- Takashi


On Thu, Sep 20, 2012 at 4:47 AM, Oliver Billing wrote:

> I am currently in a need of a fast reliable geobased search function on
> pretty much static data. The search service seem perfect.
>
> But since we are going live in a month and the search service is still
> experimental, and have no pricing. I am in serious doubt on what todo?
>
>
> Oliver Billing - Crowdplayce.com
>
> --
> 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/-/Ds6fAa-FoFoJ.
> 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.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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.



Re: [google-appengine] Automating creation of new apps

2012-09-20 Thread Takashi Matsuo
Hi Antony,

Unfortunately, now we don't provide a formal way to do that.
Here is a similar feature request, so maybe you can star it, or create a
new one for the deployment API.
http://code.google.com/p/googleappengine/issues/detail?id=900

Thanks,

-- Takashi


On Thu, Sep 20, 2012 at 1:13 AM, Antony A  wrote:

> Hi there:
>
> We have created a single tenanted app running on app engine (using
> Python). When new customers sign up for our service, we ned to create a new
> app for that customer. We can do this manually via the dashboard, but it
> would seem that there should be a way to create new apps automatically
> using say a script.
>
> Has anyone come across a solution to this?
>
> Thanks,
> Antony
>
> --
> 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/-/j94j9tJRJCwJ.
> 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.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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.



Re: [google-appengine] Static files limit

2012-09-20 Thread Takashi Matsuo
Hi Stefan,

Unfortunately there is no plan to increase the maximum file count.
Can you create a feature request for this?

-- Takashi


On Thu, Sep 20, 2012 at 5:52 PM, Stefan  wrote:

> Hi,
>
> I have a question regarding the static files quota.
> With billing enabled it is now possible to upload more than 1GB.
> The number of files limit is still 10.000. Will that be changed?
> Thanks!
>
> Regards,
> Stefan
>
> --
> 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/-/F6cj-MS5whYJ.
> 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.
>



-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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] Google App Engine SDK 1.7.2 is out

2012-09-20 Thread Takashi Matsuo
Hi everyone,

We're happy to announce that we released the 1.7.2 SDK.

This release includes several new features including the trusted tester
program of App Engine outbound socket, as well as huge amount of bug fixes.

For more details, please read our blog post and release notes.

Announcement:
http://googleappengine.blogspot.com.au/2012/09/app-engine-172-released.html

Release notes for Java:
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes

Release notes for Python:
http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes

Enjoy!

-- 
Takashi Matsuo | Developers Advocate | tmat...@google.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-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.



Re: [google-appengine] Re: NDB Query offset - limit

2012-09-20 Thread Moises Belchin
Hi Guido,

Thanks for your answer.

We test to use query cursors and we decide don't use them because query
cursors don't work in reverse order if you don't do query orders.

We have queries with many filters and we can't do query orders for this
queries. In this case if we use cursors, the reverse function doesn't work
properly.

We want to know how we must work in this cases without create indexes for
this kind of queries.

Thanks and regards.
Moisés Belchín.



2012/9/20 Guido van Rossum 

> On Wednesday, September 19, 2012 8:51:48 AM UTC-7, Moises Belchin wrote:
>
>> Hi guys,
>>
>> I have this query:
>>
>> q = MyKind.query()
>> regs = q.fetch(offset = 990, limit = 10) // *Returns 10 entities.*
>>
>> If I press next button on my UI:
>>
>> q = MyKind.query()
>> regs = q.fetch(offset = 1000, limit = 10) // *Returns 0 * *entities* *.*
>>
>> MyKind has 1300 entities.
>>
>> Any thoughts?
>>
>> Thanks and regards.
>> Moisés Belchín.
>>
>
> I can confirm this. I believe it is intentional to encourage you to use
> cursors instead of offsets for such queries; internally, you are paying for
> reading all the entities that you are skipping using the offset.
>
> --Guido
>
> --
> 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/-/uNrSdb1M29wJ.
> 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] Static files limit

2012-09-20 Thread Stefan
Hi,

I have a question regarding the static files quota.
With billing enabled it is now possible to upload more than 1GB.
The number of files limit is still 10.000. Will that be changed?
Thanks!

Regards,
Stefan

-- 
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/-/F6cj-MS5whYJ.
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.