[google-appengine] Unindexed properties look like they're indexed anyway

2012-04-27 Thread xophe
I have an entity with only unindexed properties (indexed=False), but 
whenever I bulk upload a bunch of them, it gets suspiciously close to the 
quota limit as if the properties were indexed. If I run a query in admin 
with one of those property in the where clause or the order by clause, it 
works just fine, even though my understanding of unindexed properties is 
that this type of query should return an error. Also, the stats shows 
indexes for all these properties.

Any idea what I'm missing? Here is my entity:

class User(db.Model):
token = db.TextProperty(indexed=False)
location = db.TextProperty(indexed=False)
timestamp = db.DateTimeProperty(indexed=False, auto_now_add=True)

Thanks.

-- 
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/-/JqxnF3fnBEsJ.
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] Accept POST requests from external domain?

2012-04-27 Thread John Del Rosario
I can't seem to get my app to accept POST requests from a different
domain. I'm trying to make an PayPal IPN handler in my app.

When a user clicks the Subscribe button on my page, PayPal sends an
IPN (a POST), to my IPN handler.

I can see in my logs that a POST request is received, but it is empty
(e.g. no arguments, my logging.debug messages aren't showing up in the
logs, etc.)

So I test my handler by making a POST to it *within* my app, and the
handler works as expected.

I'm assuming it's a security feature to not accept POSTs from outside
sources? If so, how do I make my app accept POSTs from PayPal?

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-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] Accept POST requests from external domain?

2012-04-27 Thread Jeff Schnitzer
Nope there is no such restriction.  Look for some sort of silly error
in your code.

Helpful: Use curl to post some random form data to your handler from
your desktop.

Jeff

On Thu, Apr 26, 2012 at 11:45 PM, John Del Rosario
j...@wemakeprojects.com wrote:
 I can't seem to get my app to accept POST requests from a different
 domain. I'm trying to make an PayPal IPN handler in my app.

 When a user clicks the Subscribe button on my page, PayPal sends an
 IPN (a POST), to my IPN handler.

 I can see in my logs that a POST request is received, but it is empty
 (e.g. no arguments, my logging.debug messages aren't showing up in the
 logs, etc.)

 So I test my handler by making a POST to it *within* my app, and the
 handler works as expected.

 I'm assuming it's a security feature to not accept POSTs from outside
 sources? If so, how do I make my app accept POSTs from PayPal?

 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-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: Gadgets in site feeds get lost

2012-04-27 Thread segnini
Up

El jueves, 26 de abril de 2012 13:18:18 UTC+2, segnini escribió:

 Hello,


 I have an application that retrieves a page from google sites, then it 
 edit some content and saves it, but the problem is that the Gadget embed 
 via Apps Script get lost (they dont appears on the content feed).


 I need a way to retrieve de gadgets and save them with the rest of the 
 page.


 Thanks a lot in advance


-- 
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/-/j9zByliUomsJ.
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] Facebook App Config (App Engine Java)

2012-04-27 Thread Sambi Reddy
Hello All,

I created a test facebook using appengine: http://facebook-test.appspot.com

I am able to access the app using the two URL's:

http://facebook-test.appspot.com
https://facebook-test.appspot.com

But, I am not able to access the app using the URL:

https://apps.facebook.com/timeline_test_test_t/ (nothing happens when I go 
to the URL)

Following is my app config on Facebook, Is there anything wrong in my app 
config?

https://lh3.googleusercontent.com/-iVSlLWs_o5o/T5pMmg-WsqI/Zyw/CkYwM9rH9RA/s1600/2012-04-27_0036.png

Thanks,
Sambi

-- 
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/-/i2gvbKnaR6kJ.
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: Facebook App Config (App Engine Java)

2012-04-27 Thread Richard Watson
Sambi, that's more of a Facebook dev question than App Engine. Also, I'd 
suggest you ask it on Stackoverflow since it's not a platform problem.

On Friday, April 27, 2012 9:41:46 AM UTC+2, Sambi Reddy wrote:

 Hello All,

 I created a test facebook using appengine: 
 http://facebook-test.appspot.com

 I am able to access the app using the two URL's:

 http://facebook-test.appspot.com
 https://facebook-test.appspot.com

 But, I am not able to access the app using the URL:

 https://apps.facebook.com/timeline_test_test_t/ (nothing happens when I 
 go to the URL)

 Following is my app config on Facebook, Is there anything wrong in my app 
 config?


 https://lh3.googleusercontent.com/-iVSlLWs_o5o/T5pMmg-WsqI/Zyw/CkYwM9rH9RA/s1600/2012-04-27_0036.png

 Thanks,
 Sambi


-- 
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/-/rOLc5DGfi2EJ.
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: Storing from PDF to IMG

2012-04-27 Thread Max
Really Simple!
This is my code:

class FAX(db.Expando):
date = db.DateTimeProperty(auto_now_add=True)


class LogSenderHandler(InboundMailHandler):
def receive(self, mail_message):
for elemento in mail_message.attachments:
asset = conversion.Asset(application/pdf, str(elemento[1]), 
Fax.pdf)
conversion_obj = conversion.Conversion(asset, image/png)
result = conversion.convert(conversion_obj)
for elemento2 in result.assets:
fax = FAX()
fax.immagine = elemento2.data
fax.put()


def main():
application = webapp.WSGIApplication([LogSenderHandler.mapping()], debug
=True)
wsgiref.handlers.CGIHandler().run(application)


if __name__ == '__main__':
main()

This is my code. It must work, but it doesn't.


Il giorno giovedì 26 aprile 2012 20:32:33 UTC+2, Computer_Engineer ha 
scritto:

 Max: What is the problem with conversion API,it's simple!!
 *
 *
 On Thursday, March 15, 2012 12:16:44 PM UTC+2, Max wrote:

 Dear All,
 I'm always storing the img I receive in the blobstore using this code:

 class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
  def post(self):
  upload_files = self.get_uploads('File')
  blob_info = upload_files[0]
  fotos = FOTO()
  fotos.link = blob_info.key()
  fotos.Tlink = images.get_serving_url(fotos.link, 94)
  fotos.Glink = images.get_serving_url(fotos.link, 800)
  fotos.put()

 Now I receive a PDF and I have to store an IMG.
 And I'm thinking to use the conversions tool as per below.

 from google.appengine.api import conversion

 # Create a conversion request from HTML to PNG.
 asset = conversion.Asset(text/html, bsome data/b, test.html)
 conversion_obj = conversion.Conversion(asset, image/png)

 result = conversion.convert(conversion_obj)
 if result.assets:
   # Note: in most cases, we will return data all in one asset.
   # Except that we return multiple assets for multiple pages image.
   for asset in result.assets:
 doSomethingWithAsset(asset.data)
 else:
   handleError(result.error_code, result.error_text)


 My question is:
 How can I store the asset? Could I still use the way I was?

 Thanks

 Max



-- 
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/-/WqjgenoLFqwJ.
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] SLA clarifications

2012-04-27 Thread alex
So, the only mention of SLA in 
TOShttps://developers.google.com/appengine/termsis the following:

Google warrants it will provide the Service in accordance with the 
applicable SLA

Could someone from AE team clarify where it is specified what applicable 
SLA means and where it can be applied (aside from features/pricing 
pagehttp://www.google.com/enterprise/cloud/appengine/pricing.htmlwhich has no 
legal base/authority for an business entity defined as 
Customer in TOS as the page is not mentioned anywhere in TOS).

I'm just trying to understand what guarantees my company can give to our 
customers based on AE TOS and SLA (again, if applicable without applying 
for a Premier account).


Thanks a lot,
Alex.


On Thursday, April 26, 2012 8:01:43 PM UTC+2, alex wrote:

 Right. Thanks for the link, Barry. 

 The thing is, that's just a page describing it in a marketing-like style. 
 That page, however, isn't mentioned anywhere in TOS nor SLA.

 I don't mind running my apps for me and my friends (which I did and am 
 doing on AE) but when it comes to business and you practically have to 
 give guarantees to your customers. The guarantees/whatever are TOS and SLAs 
 and a features and pricing table page won't cut it as lawyers and other 
 legal/whatever people and entities will only consider TOS and SLA.

 The other problem with that page is, Google changed lots of things 
 recently, including deprecation and other policies. There's a chance that 
 features/pricing page just isn't updated yet. Again, it's referenced in 
 neither TOS nor in the SLA.

 Don't get me wrong. This is not a complain. I'm just trying to figure out 
 my options from the legal/agreement point of view (tech side is awesome).


 On Thursday, April 26, 2012 7:37:40 PM UTC+2, barryhunter wrote:

 Seems pretty clear here: 
 http://www.google.com/enterprise/cloud/appengine/pricing.html 
 who the SLA applies to. 

 Anyone actually paying for the service. 

 On Thu, Apr 26, 2012 at 6:08 PM, alex a...@cloudware.it wrote: 
  I'm afraid my post got lost somewhere in other threads so I'll start a 
 new 
  one. 
  I was re-reading it (https://developers.google.com/appengine/sla) and 
 the 
  following raised a couple questions. 
  
  Eligible Application means an Application that has been created by 
  Customer using the High Replication Datastore setting. 
  
  The questions are: 
  
  1. Customer term is not defined anywhere in the SLA (unless I missed 
 it) 
  so, I'm not really sure whether Customer means Billing Administrator 
 (for a 
  paid app) or it now relates to App Engine Premier Accounts only, or 
  both. OTOH, Customer is defined as the business entity agreeing to 
 these 
  terms in AE TOS. So, this looks more like a Premier Accounts only but 
 I 
  might have missed something. 
  
  2. There's no mention about what billing setting that Application 
  could/should have: paid, only premier or even a free quota. The latter 
  actually fits the original quote sentence, but I'd don't think it 
 really is 
  the case. 
  
  
  To sum up the above, the real question is: under which conditions an 
 app 
  deployed/running on AE is covered by the SLA? (paid / premier / only 
 between 
  Google and a business entity or can be a single developer / etc) 
  
  
  Sorry if this is not the right place to ask such a question. SO is 
 neither I 
  guess, and I can't use Billing Requests form as it asks for a App ID 
 and 
  this is not about a specific app deployed on AE. Could someone from AE 
 team 
  clarify the above or direct me to an official 
  channel (e.g. appengine_premier_reque...@google.com email address?) 
  
  
  Thanks! 
  Alex. 
  
  -- 
  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/-/3saW2TWZesgJ. 
  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/-/Nt1VgXopgqwJ.
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] Datastore restore from backup by namespace

2012-04-27 Thread hugues2
Hi,

Quick questions regarding datastore backup/restore.

-- In the documentation, it is mentioned that the backup/restore affects 
all namespaces. Is it possible to backup for all namespaces but to restore 
only one namespace ? If not possible, is this in the development roadmap ?

-- If possible to restore only one namespace, is it possible to load this 
namespace in the development server ? Would be great for solving production 
issues to have the ability to copy data for some users to increase 
debugging speed ?

Cheers,

Hugues

-- 
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/-/VmzDFgdIkx8J.
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] Asynchronous session persistence: rate limit?

2012-04-27 Thread Ian Marshall
I have configured my application to write HTTP session data to the
datastore asynchronously. I have configured my own push queue for this
purpose, as opposed to using the default push queue.

My question is: is this queue limited to the push queue execution rate
limit of 500 task invocations per second? If so, does this mean that
an application that exceeds 500 session persistence operations per
second must use synchronous session persistence only?

-- 
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: Gadgets in site feeds get lost

2012-04-27 Thread Barry Hunter
Are you sure this is related to AppEngine? The subject of this group.

https://developers.google.com/appengine/




On Fri, Apr 27, 2012 at 8:16 AM, segnini
jesus.segn...@bbvaglobalnet.com wrote:
 Up

 El jueves, 26 de abril de 2012 13:18:18 UTC+2, segnini escribió:

 Hello,


 I have an application that retrieves a page from google sites, then it
 edit some content and saves it, but the problem is that the Gadget embed via
 Apps Script get lost (they dont appears on the content feed).


 I need a way to retrieve de gadgets and save them with the rest of the
 page.


 Thanks a lot in advance

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

 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.



Re: [google-appengine] Re: Does the Log Viewer actually work for anyone?

2012-04-27 Thread someone1
Was an issue created for this? I can't seem to find it and I would like to 
star it. I've been searching through my logs trying to determine a few 
errors we're getting and all this time I thought my lack of results was my 
fault. Kinda glad (or maybe not so glad) that it is Google's fault...

-Prateek

On Wednesday, April 18, 2012 1:46:55 PM UTC-4, Greg D'Alesandre wrote:

 Ah, c'mon now you are giving away the ending!  ;)  We are looking into 
 this as a possibility.  BigQuery has some awesome capabilities and paired 
 with logs its quite effective!

 Greg

 On Wed, Apr 18, 2012 at 10:13 AM, Jason Collins jason.a.coll...@gmail.com
  wrote:

 Thanks Greg - it totally makes sense and explains why something that
 is even quite recent does not appear on a high-rate application.

 Proppy just demo'd a BigQuery-based log analysis in the App Engine
 Chat - you should just go straight to that solution under the hood...

 j

 On Apr 18, 12:45 am, Gregory D'alesandre gr...@google.com wrote:
  Hey Jason,
 
  Please do fill out an issue but this is indeed a known issue.  We don't 
 do
  currently index for regex and labels so when you do a search across your
  records it will take quite a while and we stop and return whatever 
 results
  we've found after 10 seconds.  We are looking to improve this at some 
 point
  but it does mean right now you'll get inconsistent results when trying 
 to
  search across a lot of logs.
 
  Hope that makes sense!
 
  Greg
 
 
 
 
 
 
 
  On Tue, Apr 17, 2012 at 9:59 PM, Takashi Matsuo tmat...@google.com 
 wrote:
   Hi Jason,
 
   Do you mind filing an issue on the issue tracker with some details?
   (e.g. app-id, example queries, etc)
 
   If you mind making the info public, you can also send it directly to 
 me.
 
   Thanks,
 
   -- Takashi
 
   On Wed, Apr 18, 2012 at 7:33 AM, Jason Collins
   jason.a.coll...@gmail.com wrote:
Is it just me, or does the Log Viewer searching basically not work?
 
I have my log storage configured to give me about 11 days of logs, 
 but
I can rarely actually find stuff (that I _know_ occurred within my
window) by searching - both regex- and label-based searching. We run
at about 100+QPS, so trying to catch something in action is 
 basically
impossible.
 
I'm guessing the log indexing runs async to the log entries
themselves, and it's just not able to keep pace, or the indexing 
 jobs
themselves are just failing.
 
Does anyone actually have any luck searching the logs in the Log
Viewer on a reasonably high rate application?
 
j
 
--
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.
 
   --
   Takashi Matsuo | Developer Advocate | tmat...@google.com | 
 03-6384-9224
 
   --
   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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/gjd-OSDjuq4J.
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] UserService gets back to google.com rather than the application url

2012-04-27 Thread Deepak Singh
Hi,
GWT + GAE 1.6.3 project

I am using UserService as follows

UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if(user !=null || userService.isUserLoggedIn()) {
return user.getEmail();
}else if(user == null || !userService.isUserLoggedIn()) {
return userService.createLoginURL(userService.createLoginURL(
http://www.yatrafinder.com;));
}

It works fine in development mode but in production,

after user login it redirects the application to google.com instead of
redirecting to the given url - http://www.yatrafinder.com

Can someone tell me why it is happening like this ?

Thanks
Deepak Singh

-- 
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] SLA clarifications

2012-04-27 Thread Gregory D'alesandre
Hey Alex,

The SLA applies to all apps using HRD (as outlined in the ToS).  While it
technically applies to Free apps, the compensation for failure to meet the
SLA is a refund of a portion of your monthly bill, since Free apps don't
pay anything there would be no compensation.  The specifics about what is
covered under the SLA are in the the SLA link you provided (in terms of
which services are covered).

Customer is defined in the ToS as noted in the previous response.

All upcoming changes to the ToS can be found here:
https://developers.google.com/appengine/upcoming_terms which is referenced
in the ToS.

You're correct that the current terms doesn't link to the SLA, that's an
oversight that we'll correct.

Let me know if you have any other questions!

Greg D'Alesandre
Senior Product Manager, Google App Engine

On Fri, Apr 27, 2012 at 7:09 PM, alex a...@cloudware.it wrote:

 So, the only mention of SLA in 
 TOShttps://developers.google.com/appengine/termsis the following:

 Google warrants it will provide the Service in accordance with the
 applicable SLA

 Could someone from AE team clarify where it is specified what applicable
 SLA means and where it can be applied (aside from features/pricing 
 pagehttp://www.google.com/enterprise/cloud/appengine/pricing.htmlwhich has 
 no legal base/authority for an business entity defined as
 Customer in TOS as the page is not mentioned anywhere in TOS).

 I'm just trying to understand what guarantees my company can give to our
 customers based on AE TOS and SLA (again, if applicable without applying
 for a Premier account).


 Thanks a lot,
 Alex.


 On Thursday, April 26, 2012 8:01:43 PM UTC+2, alex wrote:

 Right. Thanks for the link, Barry.

 The thing is, that's just a page describing it in a marketing-like style.
 That page, however, isn't mentioned anywhere in TOS nor SLA.

 I don't mind running my apps for me and my friends (which I did and am
 doing on AE) but when it comes to business and you practically have to
 give guarantees to your customers. The guarantees/whatever are TOS and SLAs
 and a features and pricing table page won't cut it as lawyers and other
 legal/whatever people and entities will only consider TOS and SLA.

 The other problem with that page is, Google changed lots of things
 recently, including deprecation and other policies. There's a chance that
 features/pricing page just isn't updated yet. Again, it's referenced in
 neither TOS nor in the SLA.

 Don't get me wrong. This is not a complain. I'm just trying to figure out
 my options from the legal/agreement point of view (tech side is awesome).


 On Thursday, April 26, 2012 7:37:40 PM UTC+2, barryhunter wrote:

 Seems pretty clear here:
 http://www.google.com/**enterprise/cloud/appengine/**pricing.htmlhttp://www.google.com/enterprise/cloud/appengine/pricing.html
 who the SLA applies to.

 Anyone actually paying for the service.

 On Thu, Apr 26, 2012 at 6:08 PM, alex a...@cloudware.it wrote:
  I'm afraid my post got lost somewhere in other threads so I'll start a
 new
  one.
  I was re-reading it 
  (https://developers.google.**com/appengine/slahttps://developers.google.com/appengine/sla)
 and the
  following raised a couple questions.
 
  Eligible Application means an Application that has been created by
  Customer using the High Replication Datastore setting.
 
  The questions are:
 
  1. Customer term is not defined anywhere in the SLA (unless I missed
 it)
  so, I'm not really sure whether Customer means Billing Administrator
 (for a
  paid app) or it now relates to App Engine Premier Accounts only, or
  both. OTOH, Customer is defined as the business entity agreeing to
 these
  terms in AE TOS. So, this looks more like a Premier Accounts only but
 I
  might have missed something.
 
  2. There's no mention about what billing setting that Application
  could/should have: paid, only premier or even a free quota. The latter
  actually fits the original quote sentence, but I'd don't think it
 really is
  the case.
 
 
  To sum up the above, the real question is: under which conditions an
 app
  deployed/running on AE is covered by the SLA? (paid / premier / only
 between
  Google and a business entity or can be a single developer / etc)
 
 
  Sorry if this is not the right place to ask such a question. SO is
 neither I
  guess, and I can't use Billing Requests form as it asks for a App ID
 and
  this is not about a specific app deployed on AE. Could someone from AE
 team
  clarify the above or direct me to an official
  channel (e.g. 
  appengine_**premier_reque...@google.comappengine_premier_reque...@google.com
  **email address?)
 
 
  Thanks!
  Alex.
 
  --
  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/-/**3saW2TWZesgJhttps://groups.google.com/d/msg/google-appengine/-/3saW2TWZesgJ.

  To post to this group, send email to 

[google-appengine] Re: Task size too large

2012-04-27 Thread Dale Humby
Passing the contents of a file around within a task is not really correct. 
Rather store the file in the blobstore (or the datastore) first and then 
pass a reference to the location of the file as a parameter to the task. 

 



On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:

 Hi,

 I have a deferred task and am doing database insertion in task queue 
 defined as below,

  queue
 namedbinsert/name
 rate20/s/rate
 bucket-size100/bucket-size
 max-concurrent-requests10/max-concurrent-requests
 retry-parameters
   task-retry-limit7/task-retry-limit
 /retry-parameters
   /queue


 Since i am uploading files in task, most often i get the exception Task 
 size too large.

 What can i do to avoid this ?



 thanks 
 Deepak Singh
  

-- 
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/-/bP6mraNokV0J.
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] HRD Migration tool

2012-04-27 Thread blackpawn
Worked flawlessly!  Thanks so much GAE team!  I was super paranoid about 
switching and put it off for too long.  The migration worked great and the 
performance on HRD has been excellent.  

-- 
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/-/F-mz6BdgReAJ.
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] SLA clarifications

2012-04-27 Thread alex
Hi Greg,

Thanks for a quick reply! I was about to send you private email but didn't 
want to bother you.

This is awesome. 
The problem was I needed to convince my sort of team-mates and legals 
that we're backed up by a TOS and SLA while making promises to our clients. 
I didn't really bother to read AE TOS and SLA from the top to the bottom 
'till we decided (recently, just a couple days back) to officially register 
a company (Italy-based) and move our commercial service, the startup will 
be initially based on, to App Engine.

I gotta say, over the past years, and recently even more, I can't find any 
product/technology that would match App Engine as a whole, including 
built-in services and APIs it offers to devs and enterprises (plus, Cloud 
Storage, Prediction API, ...)

Of course it has its bugs and limitations but so does any other product. 
The thing is, it's so much worth it comparing to managing your MongoDB 
instances, sharding, replications, HAproxy, nginx, provisioning and a whole 
bunch of other stuff, even though all of the latter are awesome 
technologies too. I even signed up to OpenShift preview awhile back (which 
I liked, actually) but you'd still need to do some provisioning and 
monitoring, meaning spending time on admin stuff and less on your 
product/service/whatever it is.


Thanks again!
Alex.


On Friday, April 27, 2012 6:43:59 PM UTC+2, Greg D'Alesandre wrote:

 Hey Alex,

 The SLA applies to all apps using HRD (as outlined in the ToS).  While it 
 technically applies to Free apps, the compensation for failure to meet the 
 SLA is a refund of a portion of your monthly bill, since Free apps don't 
 pay anything there would be no compensation.  The specifics about what is 
 covered under the SLA are in the the SLA link you provided (in terms of 
 which services are covered).

 Customer is defined in the ToS as noted in the previous response.

 All upcoming changes to the ToS can be found here: 
 https://developers.google.com/appengine/upcoming_terms which is 
 referenced in the ToS.

 You're correct that the current terms doesn't link to the SLA, that's an 
 oversight that we'll correct.

 Let me know if you have any other questions!

 Greg D'Alesandre
 Senior Product Manager, Google App Engine

 On Fri, Apr 27, 2012 at 7:09 PM, alex a...@cloudware.it wrote:

 So, the only mention of SLA in 
 TOShttps://developers.google.com/appengine/termsis the following:

 Google warrants it will provide the Service in accordance with the 
 applicable SLA

 Could someone from AE team clarify where it is specified what applicable 
 SLA means and where it can be applied (aside from features/pricing 
 pagehttp://www.google.com/enterprise/cloud/appengine/pricing.htmlwhich has 
 no legal base/authority for an business entity defined as 
 Customer in TOS as the page is not mentioned anywhere in TOS).

 I'm just trying to understand what guarantees my company can give to our 
 customers based on AE TOS and SLA (again, if applicable without applying 
 for a Premier account).


 Thanks a lot,
 Alex.


 On Thursday, April 26, 2012 8:01:43 PM UTC+2, alex wrote:

 Right. Thanks for the link, Barry. 

 The thing is, that's just a page describing it in a marketing-like 
 style. That page, however, isn't mentioned anywhere in TOS nor SLA.

 I don't mind running my apps for me and my friends (which I did and am 
 doing on AE) but when it comes to business and you practically have to 
 give guarantees to your customers. The guarantees/whatever are TOS and SLAs 
 and a features and pricing table page won't cut it as lawyers and other 
 legal/whatever people and entities will only consider TOS and SLA.

 The other problem with that page is, Google changed lots of things 
 recently, including deprecation and other policies. There's a chance that 
 features/pricing page just isn't updated yet. Again, it's referenced in 
 neither TOS nor in the SLA.

 Don't get me wrong. This is not a complain. I'm just trying to figure 
 out my options from the legal/agreement point of view (tech side is 
 awesome).


 On Thursday, April 26, 2012 7:37:40 PM UTC+2, barryhunter wrote:

 Seems pretty clear here: 
 http://www.google.com/**enterprise/cloud/appengine/**pricing.htmlhttp://www.google.com/enterprise/cloud/appengine/pricing.html
  
 who the SLA applies to. 

 Anyone actually paying for the service. 

 On Thu, Apr 26, 2012 at 6:08 PM, alex a...@cloudware.it wrote: 
  I'm afraid my post got lost somewhere in other threads so I'll start 
 a new 
  one. 
  I was re-reading it 
  (https://developers.google.**com/appengine/slahttps://developers.google.com/appengine/sla)
   
 and the 
  following raised a couple questions. 
  
  Eligible Application means an Application that has been created by 
  Customer using the High Replication Datastore setting. 
  
  The questions are: 
  
  1. Customer term is not defined anywhere in the SLA (unless I 
 missed it) 
  so, I'm not really sure whether Customer means Billing Administrator 
 

Re: [google-appengine] Re: Task size too large

2012-04-27 Thread Deepak Singh
But my objective to use the task is only to insert the file in datastore.
its an uploaded file by user.

I want to put this operation in task to just make the instance free and
insertion should happen in background.

On Fri, Apr 27, 2012 at 5:49 PM, Dale Humby d...@nomanini.com wrote:

 Passing the contents of a file around within a task is not really correct.
 Rather store the file in the blobstore (or the datastore) first and then
 pass a reference to the location of the file as a parameter to the task.





 On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:

 Hi,

 I have a deferred task and am doing database insertion in task queue
 defined as below,

  queue
 namedbinsert/name
 rate20/s/rate
 bucket-size100/bucket-size
 max-concurrent-requests10/**max-concurrent-requests
 retry-parameters
   task-retry-limit7/task-**retry-limit
 /retry-parameters
   /queue


 Since i am uploading files in task, most often i get the exception Task
 size too large.

 What can i do to avoid this ?



 thanks
 Deepak Singh

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




-- 
Deepak Singh

-- 
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: Does the Log Viewer actually work for anyone?

2012-04-27 Thread Jason Collins
I didn't create an issue for this because it seemed like something was
underway already.

If you create one, I'll star it.

j

On Apr 27, 10:25 am, someone1 someo...@gmail.com wrote:
 Was an issue created for this? I can't seem to find it and I would like to
 star it. I've been searching through my logs trying to determine a few
 errors we're getting and all this time I thought my lack of results was my
 fault. Kinda glad (or maybe not so glad) that it is Google's fault...

 -Prateek







 On Wednesday, April 18, 2012 1:46:55 PM UTC-4, Greg D'Alesandre wrote:

  Ah, c'mon now you are giving away the ending!  ;)  We are looking into
  this as a possibility.  BigQuery has some awesome capabilities and paired
  with logs its quite effective!

  Greg

  On Wed, Apr 18, 2012 at 10:13 AM, Jason Collins jason.a.coll...@gmail.com
   wrote:

  Thanks Greg - it totally makes sense and explains why something that
  is even quite recent does not appear on a high-rate application.

  Proppy just demo'd a BigQuery-based log analysis in the App Engine
  Chat - you should just go straight to that solution under the hood...

  j

  On Apr 18, 12:45 am, Gregory D'alesandre gr...@google.com wrote:
   Hey Jason,

   Please do fill out an issue but this is indeed a known issue.  We don't
  do
   currently index for regex and labels so when you do a search across your
   records it will take quite a while and we stop and return whatever
  results
   we've found after 10 seconds.  We are looking to improve this at some
  point
   but it does mean right now you'll get inconsistent results when trying
  to
   search across a lot of logs.

   Hope that makes sense!

   Greg

   On Tue, Apr 17, 2012 at 9:59 PM, Takashi Matsuo tmat...@google.com
  wrote:
Hi Jason,

Do you mind filing an issue on the issue tracker with some details?
(e.g. app-id, example queries, etc)

If you mind making the info public, you can also send it directly to
  me.

Thanks,

-- Takashi

On Wed, Apr 18, 2012 at 7:33 AM, Jason Collins
jason.a.coll...@gmail.com wrote:
 Is it just me, or does the Log Viewer searching basically not work?

 I have my log storage configured to give me about 11 days of logs,
  but
 I can rarely actually find stuff (that I _know_ occurred within my
 window) by searching - both regex- and label-based searching. We run
 at about 100+QPS, so trying to catch something in action is
  basically
 impossible.

 I'm guessing the log indexing runs async to the log entries
 themselves, and it's just not able to keep pace, or the indexing
  jobs
 themselves are just failing.

 Does anyone actually have any luck searching the logs in the Log
 Viewer on a reasonably high rate application?

 j

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

--
Takashi Matsuo | Developer Advocate | tmat...@google.com |
  03-6384-9224

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



Re: [google-appengine] Re: Task size too large

2012-04-27 Thread Jeff Schnitzer
You cannot.  You could stash the data in memcache, but at the risk the
data will disappear before your task executes.

This sounds like premature optimization.  You're still in the learning
stage.  Start by writing the simplest program that could possibly
work, then figure out how to optimize it later.

Jeff

On Fri, Apr 27, 2012 at 2:46 PM, Deepak Singh deepaksingh...@gmail.com wrote:
 But my objective to use the task is only to insert the file in datastore.
 its an uploaded file by user.

 I want to put this operation in task to just make the instance free and
 insertion should happen in background.


 On Fri, Apr 27, 2012 at 5:49 PM, Dale Humby d...@nomanini.com wrote:

 Passing the contents of a file around within a task is not really correct.
 Rather store the file in the blobstore (or the datastore) first and then
 pass a reference to the location of the file as a parameter to the task.





 On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:

 Hi,

 I have a deferred task and am doing database insertion in task queue
 defined as below,

  queue
     namedbinsert/name
     rate20/s/rate
     bucket-size100/bucket-size
     max-concurrent-requests10/max-concurrent-requests
     retry-parameters
       task-retry-limit7/task-retry-limit
     /retry-parameters
   /queue


 Since i am uploading files in task, most often i get the exception Task
 size too large.

 What can i do to avoid this ?



 thanks
 Deepak Singh

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




 --
 Deepak Singh

 --
 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: URGENT main url path: /, not serving.. but getting 200 response

2012-04-27 Thread Matthew Blain
Typically a 204 with nothing run is simply a signal that your content
has been cached elsewhere in Google's network. If you responded with
cache-control: public with a max-age of something, it may be cached
until that expires.
Without futher info (such as an appid or the domain), it's hard to
tell what's going on.

On Apr 27, 11:34 am, Gregory Nicholas faction.greg...@gmail.com
wrote:
 really need help.. i'm at a place where i can't really fix this on my own..
 it's 11:00am.. been trouble shooting this since 9pm last night (thank god
 for adderall)

 *Preface (kinda):*

    - we've been working with appengine for a couple years now (haven't seen
    everything, but been through a lot of troubleshooting)
    - python 2.7, webapp 2.3, django 1.2, HRD
    - absolutely NO issues with local dev environ, production issue only

 *Issue / Symptoms:*

    - only the main url path: / for my app domain is not serving the
    request to my app
    - essentially breaks down to only the home page not working on
    http://www.domainname.com
    - the main url path for the appspot
    domain: http://domainname.appspot.com serves
       - request is routed properly from the app.yaml to my request handler
    - on http://domainname.com, any request to a subpath STILL WORKS!
       - ex: http:// domainname .com/user/login serves, works
    - the request IS hitting my application:
       - attached is a screen shot of my app logs, where the main path serves
          - not hitting my app.yaml file, and not routed to any request
          handlers
          - appears as though my code is never being executed for the request

 *What I've tried:*

    - i telnet'ed and tracerouted the domain name to rule out it being a DNS
    issue
       - see attached terminal screenshot
    - i've redeployed my app several times
    - i reverted the default version to a previous version
    - i've shutdown any instances several times
    - i switched from automatic instance allocation to manual, switching
    from F1 to F2 classes

 PLEASE HELP!!!

  Screen Shot 2012-04-27 at 11.14.15 AM.png
 193KViewDownload

  Screen Shot 2012-04-27 at 11.31.23 AM.png
 156KViewDownload

-- 
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: Task size too large

2012-04-27 Thread Deepak Singh
Thanks Jeff.
yes i am in learning stage now.
Will it be better to use the url based task options instead of DeferredTask
for this scenario ?

On Sat, Apr 28, 2012 at 12:40 AM, Jeff Schnitzer j...@infohazard.orgwrote:

 You cannot.  You could stash the data in memcache, but at the risk the
 data will disappear before your task executes.

 This sounds like premature optimization.  You're still in the learning
 stage.  Start by writing the simplest program that could possibly
 work, then figure out how to optimize it later.

 Jeff

 On Fri, Apr 27, 2012 at 2:46 PM, Deepak Singh deepaksingh...@gmail.com
 wrote:
  But my objective to use the task is only to insert the file in datastore.
  its an uploaded file by user.
 
  I want to put this operation in task to just make the instance free and
  insertion should happen in background.
 
 
  On Fri, Apr 27, 2012 at 5:49 PM, Dale Humby d...@nomanini.com wrote:
 
  Passing the contents of a file around within a task is not really
 correct.
  Rather store the file in the blobstore (or the datastore) first and then
  pass a reference to the location of the file as a parameter to the task.
 
 
 
 
 
  On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:
 
  Hi,
 
  I have a deferred task and am doing database insertion in task queue
  defined as below,
 
   queue
  namedbinsert/name
  rate20/s/rate
  bucket-size100/bucket-size
  max-concurrent-requests10/max-concurrent-requests
  retry-parameters
task-retry-limit7/task-retry-limit
  /retry-parameters
/queue
 
 
  Since i am uploading files in task, most often i get the exception
 Task
  size too large.
 
  What can i do to avoid this ?
 
 
 
  thanks
  Deepak Singh
 
  --
  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/-/bP6mraNokV0J.
  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.
 
 
 
 
  --
  Deepak Singh
 
  --
  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.




-- 
Deepak Singh

-- 
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] URGENT main url path: /, not serving.. but getting 200 response

2012-04-27 Thread Joshua Smith
You could test this theory by hitting /?foo

On Apr 27, 2012, at 3:17 PM, Matthew Blain wrote:

 Typically a 204 with nothing run is simply a signal that your content
 has been cached elsewhere in Google's network. If you responded with
 cache-control: public with a max-age of something, it may be cached
 until that expires.
 Without futher info (such as an appid or the domain), it's hard to
 tell what's going on.
 
 On Apr 27, 11:34 am, Gregory Nicholas faction.greg...@gmail.com
 wrote:
 really need help.. i'm at a place where i can't really fix this on my own..
 it's 11:00am.. been trouble shooting this since 9pm last night (thank god
 for adderall)
 
 *Preface (kinda):*
 
- we've been working with appengine for a couple years now (haven't seen
everything, but been through a lot of troubleshooting)
- python 2.7, webapp 2.3, django 1.2, HRD
- absolutely NO issues with local dev environ, production issue only
 
 *Issue / Symptoms:*
 
- only the main url path: / for my app domain is not serving the
request to my app
- essentially breaks down to only the home page not working on
http://www.domainname.com
- the main url path for the appspot
domain: http://domainname.appspot.com serves
   - request is routed properly from the app.yaml to my request handler
- on http://domainname.com, any request to a subpath STILL WORKS!
   - ex: http:// domainname .com/user/login serves, works
- the request IS hitting my application:
   - attached is a screen shot of my app logs, where the main path serves
  - not hitting my app.yaml file, and not routed to any request
  handlers
  - appears as though my code is never being executed for the request
 
 *What I've tried:*
 
- i telnet'ed and tracerouted the domain name to rule out it being a DNS
issue
   - see attached terminal screenshot
- i've redeployed my app several times
- i reverted the default version to a previous version
- i've shutdown any instances several times
- i switched from automatic instance allocation to manual, switching
from F1 to F2 classes
 
 PLEASE HELP!!!
 
  Screen Shot 2012-04-27 at 11.14.15 AM.png
 193KViewDownload
 
  Screen Shot 2012-04-27 at 11.31.23 AM.png
 156KViewDownload
 
 -- 
 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.



Re: [google-appengine] Re: Task size too large

2012-04-27 Thread Jeff Schnitzer
It's best to just write your data directly to the datastore.

Jeff

On Fri, Apr 27, 2012 at 3:24 PM, Deepak Singh deepaksingh...@gmail.com wrote:
 Thanks Jeff.
 yes i am in learning stage now.
 Will it be better to use the url based task options instead of DeferredTask
 for this scenario ?


 On Sat, Apr 28, 2012 at 12:40 AM, Jeff Schnitzer j...@infohazard.org
 wrote:

 You cannot.  You could stash the data in memcache, but at the risk the
 data will disappear before your task executes.

 This sounds like premature optimization.  You're still in the learning
 stage.  Start by writing the simplest program that could possibly
 work, then figure out how to optimize it later.

 Jeff

 On Fri, Apr 27, 2012 at 2:46 PM, Deepak Singh deepaksingh...@gmail.com
 wrote:
  But my objective to use the task is only to insert the file in
  datastore.
  its an uploaded file by user.
 
  I want to put this operation in task to just make the instance free and
  insertion should happen in background.
 
 
  On Fri, Apr 27, 2012 at 5:49 PM, Dale Humby d...@nomanini.com wrote:
 
  Passing the contents of a file around within a task is not really
  correct.
  Rather store the file in the blobstore (or the datastore) first and
  then
  pass a reference to the location of the file as a parameter to the
  task.
 
 
 
 
 
  On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:
 
  Hi,
 
  I have a deferred task and am doing database insertion in task queue
  defined as below,
 
   queue
      namedbinsert/name
      rate20/s/rate
      bucket-size100/bucket-size
      max-concurrent-requests10/max-concurrent-requests
      retry-parameters
        task-retry-limit7/task-retry-limit
      /retry-parameters
    /queue
 
 
  Since i am uploading files in task, most often i get the exception
  Task
  size too large.
 
  What can i do to avoid this ?
 
 
 
  thanks
  Deepak Singh
 
  --
  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/-/bP6mraNokV0J.
  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.
 
 
 
 
  --
  Deepak Singh
 
  --
  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.




 --
 Deepak Singh

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



Re: [google-appengine] URGENT main url path: /, not serving.. but getting 200 response

2012-04-27 Thread Gregory Nicholas
yep.. bingo.. what are my options from here?



On Fri, Apr 27, 2012 at 12:29 PM, Joshua Smith joshuaesm...@charter.netwrote:

 You could test this theory by hitting /?foo

 On Apr 27, 2012, at 3:17 PM, Matthew Blain wrote:

  Typically a 204 with nothing run is simply a signal that your content
  has been cached elsewhere in Google's network. If you responded with
  cache-control: public with a max-age of something, it may be cached
  until that expires.
  Without futher info (such as an appid or the domain), it's hard to
  tell what's going on.
 
  On Apr 27, 11:34 am, Gregory Nicholas faction.greg...@gmail.com
  wrote:
  really need help.. i'm at a place where i can't really fix this on my
 own..
  it's 11:00am.. been trouble shooting this since 9pm last night (thank
 god
  for adderall)
 
  *Preface (kinda):*
 
 - we've been working with appengine for a couple years now (haven't
 seen
 everything, but been through a lot of troubleshooting)
 - python 2.7, webapp 2.3, django 1.2, HRD
 - absolutely NO issues with local dev environ, production issue only
 
  *Issue / Symptoms:*
 
 - only the main url path: / for my app domain is not serving the
 request to my app
 - essentially breaks down to only the home page not working on
 http://www.domainname.com
 - the main url path for the appspot
 domain: http://domainname.appspot.com serves
- request is routed properly from the app.yaml to my request
 handler
 - on http://domainname.com, any request to a subpath STILL WORKS!
- ex: http:// domainname .com/user/login serves, works
 - the request IS hitting my application:
- attached is a screen shot of my app logs, where the main path
 serves
   - not hitting my app.yaml file, and not routed to any request
   handlers
   - appears as though my code is never being executed for the
 request
 
  *What I've tried:*
 
 - i telnet'ed and tracerouted the domain name to rule out it being a
 DNS
 issue
- see attached terminal screenshot
 - i've redeployed my app several times
 - i reverted the default version to a previous version
 - i've shutdown any instances several times
 - i switched from automatic instance allocation to manual, switching
 from F1 to F2 classes
 
  PLEASE HELP!!!
 
   Screen Shot 2012-04-27 at 11.14.15 AM.png
  193KViewDownload
 
   Screen Shot 2012-04-27 at 11.31.23 AM.png
  156KViewDownload
 
  --
  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.



Re: [google-appengine] Re: Task size too large

2012-04-27 Thread Deepak Singh
So Will that not consume more instance hours ?

On Sat, Apr 28, 2012 at 1:11 AM, Jeff Schnitzer j...@infohazard.org wrote:

 It's best to just write your data directly to the datastore.

 Jeff

 On Fri, Apr 27, 2012 at 3:24 PM, Deepak Singh deepaksingh...@gmail.com
 wrote:
  Thanks Jeff.
  yes i am in learning stage now.
  Will it be better to use the url based task options instead of
 DeferredTask
  for this scenario ?
 
 
  On Sat, Apr 28, 2012 at 12:40 AM, Jeff Schnitzer j...@infohazard.org
  wrote:
 
  You cannot.  You could stash the data in memcache, but at the risk the
  data will disappear before your task executes.
 
  This sounds like premature optimization.  You're still in the learning
  stage.  Start by writing the simplest program that could possibly
  work, then figure out how to optimize it later.
 
  Jeff
 
  On Fri, Apr 27, 2012 at 2:46 PM, Deepak Singh deepaksingh...@gmail.com
 
  wrote:
   But my objective to use the task is only to insert the file in
   datastore.
   its an uploaded file by user.
  
   I want to put this operation in task to just make the instance free
 and
   insertion should happen in background.
  
  
   On Fri, Apr 27, 2012 at 5:49 PM, Dale Humby d...@nomanini.com
 wrote:
  
   Passing the contents of a file around within a task is not really
   correct.
   Rather store the file in the blobstore (or the datastore) first and
   then
   pass a reference to the location of the file as a parameter to the
   task.
  
  
  
  
  
   On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:
  
   Hi,
  
   I have a deferred task and am doing database insertion in task queue
   defined as below,
  
queue
   namedbinsert/name
   rate20/s/rate
   bucket-size100/bucket-size
   max-concurrent-requests10/max-concurrent-requests
   retry-parameters
 task-retry-limit7/task-retry-limit
   /retry-parameters
 /queue
  
  
   Since i am uploading files in task, most often i get the exception
   Task
   size too large.
  
   What can i do to avoid this ?
  
  
  
   thanks
   Deepak Singh
  
   --
   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/-/bP6mraNokV0J.
   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.
  
  
  
  
   --
   Deepak Singh
  
   --
   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.
 
 
 
 
  --
  Deepak Singh
 
  --
  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.




-- 
Deepak Singh

-- 
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: Does the Log Viewer actually work for anyone?

2012-04-27 Thread someone1
http://code.google.com/p/googleappengine/issues/detail?id=7422http://code.google.com/p/googleappengine/issues/detail?id=7422thanks=7422ts=1335556877
 

On Friday, April 27, 2012 2:54:30 PM UTC-4, Jason Collins wrote:

 I didn't create an issue for this because it seemed like something was 
 underway already. 

 If you create one, I'll star it. 

 j 

 On Apr 27, 10:25 am, someone1 someo...@gmail.com wrote: 
  Was an issue created for this? I can't seem to find it and I would like 
 to 
  star it. I've been searching through my logs trying to determine a few 
  errors we're getting and all this time I thought my lack of results was 
 my 
  fault. Kinda glad (or maybe not so glad) that it is Google's fault... 
  
  -Prateek 
  
  
  
  
  
  
  
  On Wednesday, April 18, 2012 1:46:55 PM UTC-4, Greg D'Alesandre wrote: 
  
   Ah, c'mon now you are giving away the ending!  ;)  We are looking into 
   this as a possibility.  BigQuery has some awesome capabilities and 
 paired 
   with logs its quite effective! 
  
   Greg 
  
   On Wed, Apr 18, 2012 at 10:13 AM, Jason Collins 
 jason.a.coll...@gmail.com 
wrote: 
  
   Thanks Greg - it totally makes sense and explains why something that 
   is even quite recent does not appear on a high-rate application. 
  
   Proppy just demo'd a BigQuery-based log analysis in the App Engine 
   Chat - you should just go straight to that solution under the hood... 
  
   j 
  
   On Apr 18, 12:45 am, Gregory D'alesandre gr...@google.com wrote: 
Hey Jason, 
  
Please do fill out an issue but this is indeed a known issue.  We 
 don't 
   do 
currently index for regex and labels so when you do a search across 
 your 
records it will take quite a while and we stop and return whatever 
   results 
we've found after 10 seconds.  We are looking to improve this at 
 some 
   point 
but it does mean right now you'll get inconsistent results when 
 trying 
   to 
search across a lot of logs. 
  
Hope that makes sense! 
  
Greg 
  
On Tue, Apr 17, 2012 at 9:59 PM, Takashi Matsuo tmat...@google.com 

   wrote: 
 Hi Jason, 
  
 Do you mind filing an issue on the issue tracker with some 
 details? 
 (e.g. app-id, example queries, etc) 
  
 If you mind making the info public, you can also send it directly 
 to 
   me. 
  
 Thanks, 
  
 -- Takashi 
  
 On Wed, Apr 18, 2012 at 7:33 AM, Jason Collins 
 jason.a.coll...@gmail.com wrote: 
  Is it just me, or does the Log Viewer searching basically not 
 work? 
  
  I have my log storage configured to give me about 11 days of 
 logs, 
   but 
  I can rarely actually find stuff (that I _know_ occurred within 
 my 
  window) by searching - both regex- and label-based searching. 
 We run 
  at about 100+QPS, so trying to catch something in action is 
   basically 
  impossible. 
  
  I'm guessing the log indexing runs async to the log entries 
  themselves, and it's just not able to keep pace, or the 
 indexing 
   jobs 
  themselves are just failing. 
  
  Does anyone actually have any luck searching the logs in the 
 Log 
  Viewer on a reasonably high rate application? 
  
  j 
  
  -- 
  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. 
  
 -- 
 Takashi Matsuo | Developer Advocate | tmat...@google.com | 
   03-6384-9224 
  
 -- 
 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/VckTQZ91fs8J.
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 

Re: [google-appengine] Re: Task size too large

2012-04-27 Thread Jeff Schnitzer
Stop trying to optimize until you have a working application.

Jeff

On Fri, Apr 27, 2012 at 4:00 PM, Deepak Singh deepaksingh...@gmail.com wrote:
 So Will that not consume more instance hours ?


 On Sat, Apr 28, 2012 at 1:11 AM, Jeff Schnitzer j...@infohazard.org wrote:

 It's best to just write your data directly to the datastore.

 Jeff

 On Fri, Apr 27, 2012 at 3:24 PM, Deepak Singh deepaksingh...@gmail.com
 wrote:
  Thanks Jeff.
  yes i am in learning stage now.
  Will it be better to use the url based task options instead of
  DeferredTask
  for this scenario ?
 
 
  On Sat, Apr 28, 2012 at 12:40 AM, Jeff Schnitzer j...@infohazard.org
  wrote:
 
  You cannot.  You could stash the data in memcache, but at the risk the
  data will disappear before your task executes.
 
  This sounds like premature optimization.  You're still in the learning
  stage.  Start by writing the simplest program that could possibly
  work, then figure out how to optimize it later.
 
  Jeff
 
  On Fri, Apr 27, 2012 at 2:46 PM, Deepak Singh
  deepaksingh...@gmail.com
  wrote:
   But my objective to use the task is only to insert the file in
   datastore.
   its an uploaded file by user.
  
   I want to put this operation in task to just make the instance free
   and
   insertion should happen in background.
  
  
   On Fri, Apr 27, 2012 at 5:49 PM, Dale Humby d...@nomanini.com
   wrote:
  
   Passing the contents of a file around within a task is not really
   correct.
   Rather store the file in the blobstore (or the datastore) first and
   then
   pass a reference to the location of the file as a parameter to the
   task.
  
  
  
  
  
   On Thursday, April 26, 2012 11:37:06 PM UTC+2, Deepak Singh wrote:
  
   Hi,
  
   I have a deferred task and am doing database insertion in task
   queue
   defined as below,
  
    queue
       namedbinsert/name
       rate20/s/rate
       bucket-size100/bucket-size
       max-concurrent-requests10/max-concurrent-requests
       retry-parameters
         task-retry-limit7/task-retry-limit
       /retry-parameters
     /queue
  
  
   Since i am uploading files in task, most often i get the exception
   Task
   size too large.
  
   What can i do to avoid this ?
  
  
  
   thanks
   Deepak Singh
  
   --
   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/-/bP6mraNokV0J.
   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.
  
  
  
  
   --
   Deepak Singh
  
   --
   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.
 
 
 
 
  --
  Deepak Singh
 
  --
  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.




 --
 Deepak Singh

 --
 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] Re: Migrating from Google App Engine to dedicated hosting

2012-04-27 Thread Robert Lancer
Checkout  http://appscale.cs.ucsb.edu/index.html a few other AppEngine 
containers are out there...

On Thursday, April 26, 2012 4:37:42 PM UTC-5, abhishek jain wrote:

 Hi,
 How to migrate an application made in GAE java + database from GAE to a 
 dedicated server or Amazon EC2 .
 Is there a way so that no modifications are made to the code.
 I think the code will work but what about database? Do we have a similar 
 service by another provider?
 The site is built with Java play framework with Siena.
 Please advice asap
 thanks,
 abhi


-- 
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/-/E22JgJKwY30J.
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] URGENT main url path: /, not serving.. but getting 200 response

2012-04-27 Thread Gregory Nicholas
by bingo i meant that was the request with the /? worked indeed..

dare i ask on options to cache bust?




On Fri, Apr 27, 2012 at 12:53 PM, Gregory Nicholas 
nicholas.g.greg...@gmail.com wrote:

 yep.. bingo.. what are my options from here?



 On Fri, Apr 27, 2012 at 12:29 PM, Joshua Smith 
 joshuaesm...@charter.netwrote:

 You could test this theory by hitting /?foo

 On Apr 27, 2012, at 3:17 PM, Matthew Blain wrote:

  Typically a 204 with nothing run is simply a signal that your content
  has been cached elsewhere in Google's network. If you responded with
  cache-control: public with a max-age of something, it may be cached
  until that expires.
  Without futher info (such as an appid or the domain), it's hard to
  tell what's going on.
 
  On Apr 27, 11:34 am, Gregory Nicholas faction.greg...@gmail.com
  wrote:
  really need help.. i'm at a place where i can't really fix this on my
 own..
  it's 11:00am.. been trouble shooting this since 9pm last night (thank
 god
  for adderall)
 
  *Preface (kinda):*
 
 - we've been working with appengine for a couple years now (haven't
 seen
 everything, but been through a lot of troubleshooting)
 - python 2.7, webapp 2.3, django 1.2, HRD
 - absolutely NO issues with local dev environ, production issue only
 
  *Issue / Symptoms:*
 
 - only the main url path: / for my app domain is not serving the
 request to my app
 - essentially breaks down to only the home page not working on
 http://www.domainname.com
 - the main url path for the appspot
 domain: http://domainname.appspot.com serves
- request is routed properly from the app.yaml to my request
 handler
 - on http://domainname.com, any request to a subpath STILL WORKS!
- ex: http:// domainname .com/user/login serves, works
 - the request IS hitting my application:
- attached is a screen shot of my app logs, where the main path
 serves
   - not hitting my app.yaml file, and not routed to any request
   handlers
   - appears as though my code is never being executed for the
 request
 
  *What I've tried:*
 
 - i telnet'ed and tracerouted the domain name to rule out it being
 a DNS
 issue
- see attached terminal screenshot
 - i've redeployed my app several times
 - i reverted the default version to a previous version
 - i've shutdown any instances several times
 - i switched from automatic instance allocation to manual, switching
 from F1 to F2 classes
 
  PLEASE HELP!!!
 
   Screen Shot 2012-04-27 at 11.14.15 AM.png
  193KViewDownload
 
   Screen Shot 2012-04-27 at 11.31.23 AM.png
  156KViewDownload
 
  --
  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: Images - app.yaml

2012-04-27 Thread Computer_Engineer
Patrik:
Try as 
- url: /(.*\.(gif|png|jpg))
  static_files: css/images//\1
  upload: css/images//(.*\.(gif|png|jpg))

On Sunday, April 22, 2012 3:50:39 PM UTC+3, Patrik wrote:

 Hello, 
 i have a problem with the app.yaml. 
 How i can integrate for my project? (python). 

 The images are in the directory /css/images/... 

 How should it look like in the app.yaml? 


 - url: /css/images/test.png 
   static_files: css/images/test.png 
   upload: css/images/test.png 
 Does not work :(

-- 
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/-/CALFLxkQmDoJ.
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] URGENT main url path: /, not serving.. but getting 200 response

2012-04-27 Thread Joshua Smith
Let's review:

Google has cached a blank version of your / page.

The blank page is only about 12 hours old. The max-age is set to 1 year. So 
this problem will go away on its own in a year.

It really sucks to be you right now. :(

You should try really, really hard to figure out how this happened. I've never 
heard of anything like this on these lists, so it's likely that it's a bug in 
your code someplace that can yield blank page with a 1 year timeout.

If you repeat that telnet session, you can probably figure out more exactly 
when the page was cached, then you can look at your logs to figure out what 
caused it. Maybe.

Getting the problem cleared would require some manual intervention from google. 
They'd have to manually invalidate that cache entry. I'd bet money that the 
Google App Engine team has no ability whatever to cause that to happen. Upgrade 
to a $500/month enterprise account perhaps?

I've been trying to think of a way to fix this using DNS, but I'm coming up 
empty, short of changing your domain name.

-Joshua

On Apr 27, 2012, at 3:53 PM, Gregory Nicholas wrote:

 yep.. bingo.. what are my options from here?
 
 
 
 On Fri, Apr 27, 2012 at 12:29 PM, Joshua Smith joshuaesm...@charter.net 
 wrote:
 You could test this theory by hitting /?foo
 
 On Apr 27, 2012, at 3:17 PM, Matthew Blain wrote:
 
  Typically a 204 with nothing run is simply a signal that your content
  has been cached elsewhere in Google's network. If you responded with
  cache-control: public with a max-age of something, it may be cached
  until that expires.
  Without futher info (such as an appid or the domain), it's hard to
  tell what's going on.
 
  On Apr 27, 11:34 am, Gregory Nicholas faction.greg...@gmail.com
  wrote:
  really need help.. i'm at a place where i can't really fix this on my own..
  it's 11:00am.. been trouble shooting this since 9pm last night (thank god
  for adderall)
 
  *Preface (kinda):*
 
 - we've been working with appengine for a couple years now (haven't seen
 everything, but been through a lot of troubleshooting)
 - python 2.7, webapp 2.3, django 1.2, HRD
 - absolutely NO issues with local dev environ, production issue only
 
  *Issue / Symptoms:*
 
 - only the main url path: / for my app domain is not serving the
 request to my app
 - essentially breaks down to only the home page not working on
 http://www.domainname.com
 - the main url path for the appspot
 domain: http://domainname.appspot.com serves
- request is routed properly from the app.yaml to my request handler
 - on http://domainname.com, any request to a subpath STILL WORKS!
- ex: http:// domainname .com/user/login serves, works
 - the request IS hitting my application:
- attached is a screen shot of my app logs, where the main path 
  serves
   - not hitting my app.yaml file, and not routed to any request
   handlers
   - appears as though my code is never being executed for the 
  request
 
  *What I've tried:*
 
 - i telnet'ed and tracerouted the domain name to rule out it being a DNS
 issue
- see attached terminal screenshot
 - i've redeployed my app several times
 - i reverted the default version to a previous version
 - i've shutdown any instances several times
 - i switched from automatic instance allocation to manual, switching
 from F1 to F2 classes
 
  PLEASE HELP!!!
 
   Screen Shot 2012-04-27 at 11.14.15 AM.png
  193KViewDownload
 
   Screen Shot 2012-04-27 at 11.31.23 AM.png
  156KViewDownload
 
  --
  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.

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

[google-appengine] migrate data

2012-04-27 Thread waseem altaf
hi
We have a java application deployed on Google appengine datastore. We
want to migrate to postgreeSql. There is one table that contains one
column as blob. Is there any way to migrate the whole data from google
appengine datastore to postgresql.Any help will be highly appreciated

-- 
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] Migration to HRD stuck in Sync phase (read only mode)

2012-04-27 Thread Alfred Fuller
We have found and fixed the problem (it was a utf-8 encoding issue with the
blob metadata). If you try again it should work. Thanks for your patients.

On Sat, Apr 14, 2012 at 6:52 AM, Lucian Baciu lucianba...@gmail.com wrote:

 I'm trying to migrate my app (id: timetonote) to HRD. However, it seems is
 stuck at 66.67% in the Sync phase in read only mode. It has been like this
 for over 5 hour now. Is the migration stuck? Should I revert, should I wait
 a little longer?

 Thank you,
 Lucian Baciu

 --
 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/-/3Sguy2eINyIJ.
 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.



Re: [google-appengine] URGENT main url path: /, not serving.. but getting 200 response

2012-04-27 Thread Barry Hunter
Because its apparent there has been a blank version of the page cached
in edge-cache.

Can you perhaps hardcode your domain to go though a different
edge-cache? (ie put the www. as a A record to a different IP at the
DNS level.)

There are apprently a few of them
http://just-ping.com/index.php?vh=ghs.google.comc=s=ping%21


... because you havent revealed your domain name, we can't help you
find an edge-cache that has a valid copy.


(alternativly put the domain though some other CDN. Ie bypass Google
Apps and the Google Edge Cache altogether. It can proxy your appspot
URL - which is working ok)


On Fri, Apr 27, 2012 at 9:31 PM, Joshua Smith joshuaesm...@charter.net wrote:
 Let's review:

 Google has cached a blank version of your / page.

 The blank page is only about 12 hours old. The max-age is set to 1 year. So
 this problem will go away on its own in a year.

 It really sucks to be you right now. :(

 You should try really, really hard to figure out how this happened. I've
 never heard of anything like this on these lists, so it's likely that it's a
 bug in your code someplace that can yield blank page with a 1 year timeout.

 If you repeat that telnet session, you can probably figure out more exactly
 when the page was cached, then you can look at your logs to figure out what
 caused it. Maybe.

 Getting the problem cleared would require some manual intervention from
 google. They'd have to manually invalidate that cache entry. I'd bet money
 that the Google App Engine team has no ability whatever to cause that to
 happen. Upgrade to a $500/month enterprise account perhaps?

 I've been trying to think of a way to fix this using DNS, but I'm coming up
 empty, short of changing your domain name.

 -Joshua

 On Apr 27, 2012, at 3:53 PM, Gregory Nicholas wrote:

 yep.. bingo.. what are my options from here?



 On Fri, Apr 27, 2012 at 12:29 PM, Joshua Smith joshuaesm...@charter.net
 wrote:

 You could test this theory by hitting /?foo

 On Apr 27, 2012, at 3:17 PM, Matthew Blain wrote:

  Typically a 204 with nothing run is simply a signal that your content
  has been cached elsewhere in Google's network. If you responded with
  cache-control: public with a max-age of something, it may be cached
  until that expires.
  Without futher info (such as an appid or the domain), it's hard to
  tell what's going on.
 
  On Apr 27, 11:34 am, Gregory Nicholas faction.greg...@gmail.com
  wrote:
  really need help.. i'm at a place where i can't really fix this on my
  own..
  it's 11:00am.. been trouble shooting this since 9pm last night (thank
  god
  for adderall)
 
  *Preface (kinda):*
 
     - we've been working with appengine for a couple years now (haven't
  seen
     everything, but been through a lot of troubleshooting)
     - python 2.7, webapp 2.3, django 1.2, HRD
     - absolutely NO issues with local dev environ, production issue only
 
  *Issue / Symptoms:*
 
     - only the main url path: / for my app domain is not serving the
     request to my app
     - essentially breaks down to only the home page not working on
     http://www.domainname.com
     - the main url path for the appspot
     domain: http://domainname.appspot.com serves
        - request is routed properly from the app.yaml to my request
  handler
     - on http://domainname.com, any request to a subpath STILL WORKS!
        - ex: http:// domainname .com/user/login serves, works
     - the request IS hitting my application:
        - attached is a screen shot of my app logs, where the main path
  serves
           - not hitting my app.yaml file, and not routed to any request
           handlers
           - appears as though my code is never being executed for the
  request
 
  *What I've tried:*
 
     - i telnet'ed and tracerouted the domain name to rule out it being a
  DNS
     issue
        - see attached terminal screenshot
     - i've redeployed my app several times
     - i reverted the default version to a previous version
     - i've shutdown any instances several times
     - i switched from automatic instance allocation to manual, switching
     from F1 to F2 classes
 
  PLEASE HELP!!!
 
   Screen Shot 2012-04-27 at 11.14.15 AM.png
  193KViewDownload
 
   Screen Shot 2012-04-27 at 11.31.23 AM.png
  156KViewDownload
 
  --
  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
 

[google-appengine] Testing blob migration

2012-04-27 Thread c h
Hello,

I'm trying to test migration from master/slave to HRD.  I just ran the 
migration and selected the option for migrating blobs.  i got the 
notification that the migration is complete, but i don't see any blobs in 
the blob viewer of my destination app.  has anyone else had this 
experience?  what can i do to get my blobs to show up in my copied app?

thanks,

christian

-- 
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/-/5x0A98K0EDkJ.
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] Migration to HRD stuck in Sync phase (read only mode)

2012-04-27 Thread Lucian Baciu
That's great, thank you. I will try again.

Regards,
Lucian Baciu

On Sat, Apr 28, 2012 at 3:25 AM, Alfred Fuller arful...@google.com wrote:

 We have found and fixed the problem (it was a utf-8 encoding issue with
 the blob metadata). If you try again it should work. Thanks for your
 patients.

 On Sat, Apr 14, 2012 at 6:52 AM, Lucian Baciu lucianba...@gmail.comwrote:

 I'm trying to migrate my app (id: timetonote) to HRD. However, it seems
 is stuck at 66.67% in the Sync phase in read only mode. It has been like
 this for over 5 hour now. Is the migration stuck? Should I revert, should I
 wait a little longer?

 Thank you,
 Lucian Baciu

 --
 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/-/3Sguy2eINyIJ.
 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.