[google-appengine] Re: Datastore Admin not working for long application names?

2012-11-07 Thread Oliver Sturm
Update: I found that in the case where the page remains blank, I can pick 
the inner frame URL from the HTML and go to the page directly, and then it 
works. It doesn't seem to work while used in the context of the dashboard. 

Oliver


On Tuesday, November 6, 2012 7:14:02 PM UTC, Oliver Sturm wrote:

 Hi,

 I have a few applications in GAE. In one of them, I can access the 
 Datastore Admin page in the dashboard just fine. However, for two other 
 applications it is not working - curiously in two different ways. For one 
 of the applications, the Datastore Admin page always remains blank - it 
 seems to load for a moment, but nothing ever happens and it stays white. 

 The second application has a different issue: the auto-generated server 
 name for it is too long to be considered legal by the DNS name lookup. 
 The browser (Chrome) just says that the DNS lookup failed for the name 
 ah-builtin-python-bundle-dot-latest-dot-01234567890123456789012345.appspot.com(I'm
  replacing the actual app name part of the DNS name with digits, but 
 yes, the app name is 26 chars long). Testing with the host command from a 
 Unix command prompt, I get an error message declaring the name not legal.

 Is this a known problem? Why am I allowed to use app names this long if a 
 standard mechanism like Datastore Admin is not going to work if the name is 
 too long? Is there a workaround, other than renaming my app?

 The second app for which the page also doesn't work seems to be just 
 within the limits, btw - DNS lookup seems to be working for the name in 
 that case. Any ideas what might be wrong in that case?

 Cheers
 Oliver


-- 
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/-/0_UX3n3JDskJ.
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] yellow clock. Appengine hangs

2012-11-07 Thread Thiago Catoto
Hi,

Have you resolved the issue? Can you give more info about the app.yaml file
and the GAELaucher configuration? Have you tried with virtual env?

Here is my SS

http://cl.ly/image/0b1U0s2o2w3g

Cheers,

-- Catoto


On Mon, Nov 5, 2012 at 8:15 PM, Blaine Hodder blainehod...@gmail.comwrote:

 Hi all,

 I am unable to get Appengine running as it hangs with the yellow clock
 when I hit run.

 I am running python 2.7.3 and OSX 10.6.8.

 I have downloaded Appengine, dragged the launcher to my desktop and
 created a new project. When I hit run, the yellow clock appears and never
 goes away. Therefore when I navigate to the local host the app is not
 running.

 In the log I get the following error:

 *** Running dev_appserver with the following flags:
 --admin_console_server= --port=8081 Python command:

 The name of the project is simply 'hello' in lowercase, so that should not
 be the problem. I have tried both port 8080, and 8081, but the problem
 persists. I have attempted fresh installs of both Python 2.7 and Appengine
 yet that does not asolve the problem. Lastly, I have tried pasting the
 python path in Appengine's launcher preferences but it doesn't seem to help
 either.


 Any ideas?

  --
 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/-/56l8--FpNRsJ.
 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] Filtering Datastore entities while downloading data via Bulkloader

2012-11-07 Thread Mikhail Dubov
Hello,

Just read an article on how to download data from AppEngine Datastore:
https://developers.google.com/appengine/docs/python/tools/uploadingdata

Is the *post_export_function*, as described in the article, the only way to 
implement Custom Logic? The problem is that, as far as I can see, the 
entities get filtered only after they are downloaded by the Bulkloader, 
that is, on the client side (that's why the function is called *post *export). 
This process is rather slow, though. Is there a possibility to perform that 
filtering on the server? Something like *pre_export_function*?

Thank you,
Mikhail

-- 
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/-/jQyMdIL4amMJ.
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: SDK 1.7.3 not detecting source file changes - ANNOYING!

2012-11-07 Thread Jason Collins
I've been seeing this on Mac as well. Very misleading and annoying.


On Tuesday, 6 November 2012 18:17:43 UTC-6, Jakob Holmelund wrote:

 We have the same issue. 4 guys running on ubuntu. This is really annoying..

 Den tirsdag den 6. november 2012 04.55.41 UTC+1 skrev GregF:

 I just updated to SDK 1.7.3 running on Linux. At the same time I switched 
 to the SQLite datastore stub, suggested by the depreciation message.

 After this, edits to source (python) files are not always detected, and I 
 have to stop and restart the SDK after every edit. Occasionally it starts 
 working for a run, then stops working again. Jinja2 template file 
 modifications are being detected properly, presumably because it has it's 
 own file change detection.

 I asked on Stackoverflow, but apart from one other person with the same 
 problem, got no responses. This is intensely annoying. Is anyone else 
 seeing this? Any ideas on how to diagnose and fix it?

 Cheers!
 Greg.



-- 
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/-/kX-NzhiRy9IJ.
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: java.lang.NoSuchFieldError: CHARSET_UTF8

2012-11-07 Thread Papick G. Taboada
Redeployed, it went away. Took me half a day. Today I have it again.

On Friday, October 12, 2012 4:23:41 PM UTC+2, Samuel Schmid wrote:

 I have the same problem. Did you find any solution?

 On Saturday, July 7, 2012 5:01:38 PM UTC+2, Papick G. Taboada wrote:

 Problem persists. Any help?



-- 
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/-/vl9U3nEfZ8MJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Google AppEngine Endpoints and TrustedTester Program

2012-11-07 Thread Alexej Haak
The technology is great, and easy to handle. I love it so far
Only thing that sucks is that I haven't found why it isn't working for an 
hour.. then I found the admin log feature (only looked at the normal user 
log..) and found out that endpoints isn't avaible to me.
I've signd up to it alrdy, what are the chances so far into testing to 
still get a spot? I haven't found any official blog entries or news how far 
the development process is now and when it will be released to public

so far, keep the good work google

-- 
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/-/03F4ZoBnAswJ.
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] Backends Unresponsive

2012-11-07 Thread Frank Orozco
I posted this a bit ago but don't see it on the forum. If I posted twice, I 
apologize for the repost.

At 5:55pm PST I received an alert from Pingdom that our production api 
servers were down.  We use a cluster of b2 backends to host our API.  Upon 
checking the logs, I found that an /_ah/stop command had been issued around 
the time of the alert.  I tried restarting the backends via the admin 
console and programatically, but they are completely unresponsive to 
requests.  Requests do not show up in the logs, and the last message is 
simply the /_ah/stop command.

When I programatically list the backends, I receive this output showing 
that the backends are in the START state.  Backend: api, instances = 2, 
instanceClass = B2, options = [PUBLIC], state = START

Can someone at Google PLEASE look into this!  Our identifier is 
loyaldash-services.  Our apps interact with this via the url 
https://api.loyaldash.com by using the SNI SSL certificate and custom 
domain.

Thanks in advance,
Frank Orozco

-- 
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/-/gc0JVYZrDkoJ.
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] Backends Unresponsive

2012-11-07 Thread Frank Orozco
I received an alert from Pingdom this evening at 5:55pm PST that our 
production API servers were unresponsive.  I use a number of B2 backends to 
host our production api and none of them are responsive.  Upon checking the 
logs I found that an /_ah/stop command had been issued at approximately the 
same time as the pingdom alert.  

I've attempted clicking stop then Start on the backends page, and even 
redeploying source and doing a Backends-update command to get this going 
again, but nothing is working.  I need support ASAP.

The account identifier is loyaldash-services. 

Thanks 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/-/jOipNz3es14J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Google Plugin for Eclipse 3.7: Cannot Sign In to Google: Javascript disabled

2012-11-07 Thread Roland Blochberger
A few days ago I have updated my Eclipse 3.7 SR2 with the newest Google 
Plugin (3.1.1.v201210291353-rel-r37) and GAE 1.7.3 and GWT 2.5.

When I use the buttonSign in to Google.. the sign in page appears, after 
entering my email and password I get the page to allow the plugin access. 
But thereafter a page with the following text appears:
You've reached this page because we have detected that Javascript is 
disabled in your browser. The page you attempted to load cannot display 
properly if scripts are disabled.

Please enable scripts and retry the operation or go back in your browser.

Eclipse uses its internal browser. How is it possible that this browser has 
JavaScript disabled?

-- 
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/-/0nWEsPnQa00J.
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: Process pdf which is stored in the blobstore

2012-11-07 Thread mireia
Hello! 

I want to do the same! Did you do it?

Thank you :)

Mireia

On Thursday, March 8, 2012 10:49:19 PM UTC+1, conman wrote:

 Hi,

 is it possible to read a pdf file which previously has been stored in the 
 blobstore?

 I would like to get the number of pages and perhaps the word count of the 
 document.

 With pyPdf this is possible, but how do I let pyPdf read in the blobstore?

 Thanks for your help!
 Constantin



-- 
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/-/_XegWe1-6oYJ.
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] Django non-rel AdminForm question

2012-11-07 Thread Christian
Hi, 

I have two models in my Django app (non-rel on appengine). From what I know 
it is not possible to use manytomany relations between models in Django 
non-rel.
However I need to implement an admin function where the user can choose 
between all the items of a modeltype and add them to a list in the other 
model. 

eg: My Agent model needs to have a list of Costumer models.

Is it possible to use ModelMultipleChoiceField in Django non-rel? I am 
wondering because some sites claim that such forms don't work on the app 
engine since they rely on the Django ORM.

I am very new to Django and would appreciate if somebody could point me in 
the right direction for this.

Regards / 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/-/VhyrLpfYGNsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Google AppEngine Endpoints and TrustedTester Program

2012-11-07 Thread Dan Holevoet
Hi Alexej,

We go through the invites on a ~weekly basis, so you shouldn't have to wait
too long. (Which will remain true as long as the signup form remains open.)

Thanks,
Dan


On Wed, Nov 7, 2012 at 1:24 PM, Alexej Haak 
alexejmichaelh...@googlemail.com wrote:

 The technology is great, and easy to handle. I love it so far
 Only thing that sucks is that I haven't found why it isn't working for an
 hour.. then I found the admin log feature (only looked at the normal user
 log..) and found out that endpoints isn't avaible to me.
 I've signd up to it alrdy, what are the chances so far into testing to
 still get a spot? I haven't found any official blog entries or news how far
 the development process is now and when it will be released to public

 so far, keep the good work google

 --
 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/-/03F4ZoBnAswJ.
 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.




-- 
Dan Holevoet
Google Developer Relations

-- 
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] Reminder: Hangout 4pm PST - chat with the App Engine PMs

2012-11-07 Thread Amy Unruh
Reminder: this hangout starts in about an hour.  This is a great chance to
talk with the App Engine Product Managers.  If you have questions, you can
submit them here: here: http://goo.gl/y5ugb .  There should be room for a
few people to join the live hangout as well.

 -Amy


-- Forwarded message --
From: Amy Unruh amyu+gro...@google.com
Date: 7 November 2012 14:48
Subject: Hangout tomorrow 4pm PST - chat with the App Engine PMs
To: google-appengine@googlegroups.com


hi all,

Join us for an App Engine G+ hangout on Wed. Nov. 7, 4pm-5pm (US /
Pacific), to chat with the App Engine PMs (Product Managers), and ask them
questions.  Submit your questions here: http://goo.gl/y5ugb , and we hope
to open up a few live slots in the hangout as well.
(For our last hangout, we had hoped to invite people to join live, but it
didn't work out. However, this time we really ought to be able to manage it
:).

When the hangout starts, you can watch it here:
https://developers.google.com/events/10315083/ .
If you're a Google+ user, you can RSVP to the event here:
 https://plus.google.com/117105793163182226623/posts/ch8MghGAiyu
to get a reminder.

Also, for those who haven't seen it, you might be interested in our hangout
from last week.  We talked with Steve Huffman, founder of reddit and
Hipmunk, and Chris Chew, senior software engineer at Udacity, which runs on
App Engine and provides free online courses.  Steve talked about his
experience teaching a course on web development using App Engine at
Udacity, and Chris discussed his experience building Udacity itself using
App Engine.
https://developers.google.com/live/shows/9826022/ .

 -Amy

-- 
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] Backends Unresponsive

2012-11-07 Thread Amy Unruh
Frank,

Sorry about the delay in moderating your post to the group.  This should
now be resolved. (Let us know if it's not).


On 7 November 2012 14:15, Frank Orozco turbofr...@gmail.com wrote:

 I received an alert from Pingdom this evening at 5:55pm PST that our
 production API servers were unresponsive.  I use a number of B2 backends to
 host our production api and none of them are responsive.  Upon checking the
 logs I found that an /_ah/stop command had been issued at approximately the
 same time as the pingdom alert.

 I've attempted clicking stop then Start on the backends page, and even
 redeploying source and doing a Backends-update command to get this going
 again, but nothing is working.  I need support ASAP.

 The account identifier is loyaldash-services.

 Thanks 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/-/jOipNz3es14J.

 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] Understanding Request was aborted after waiting too long

2012-11-07 Thread ckhan
Several requests over the last two days have failed with:

0.1.0.2 - - [06/Nov/2012:10:26:04 -0800] POST /_ah/queue/deferred 
HTTP/1.1 500 0 http://myapp.appspot.com/my/url; AppEngine-Google; 
(+http://code.google.com/appengine)
1:1352226364.645785 Request was aborted after waiting too long to attempt 
to service your request.

I know this problem is reported and discussed often here - but I'm still 
unclear on precisely how to interpret it.

I'm trying to make sure I understand the relationship between idle 
instances,
pending latency, dynamic/resident instances, warmup requests and startup 
time.
My configuration:

   Idle instances : 4 - Automatic
   Pending latency: Autoomatic - Automatic

My app makes having use of deferred, at the time of the failure several
dozen tasks were posted to the app from taskqueue.

1. I'm going to start by assuming that while this request came to my app
   from the taskqueue (via the deferred library), this problem has nothing
   to do with the taskqueue per se.

2. The 500 means that this request in the Pending Queue:

  
https://developers.google.com/appengine/docs/adminconsole/performancesettings

  App Engine's scheduler is responsible for routing incoming
  requests to be served by your app's instances. Sometimes the
  volume of incoming requests exceeds the capacity of the
  instances currently available to your app. When this happens,
  incoming requests may have to wait in the Pending Queue until
  busy instances become available, or until the scheduler starts
  new instances.

3. So by that definition, there were only 3 ways out of the queue.
   After minimum pending latency, but before max, Scheduler does one of 
these:

   1. One of the 4 resident instances becomes idle, and get the request.

   2. One of the dynamic instances becomes idle, and gets the request.

   3. Scheduler spins up a new dynamic instance.
  
  3a. If the instance comes up in time, the request is sent there.
  
  As the 'inaugural request' to this instance, this request
  is known as a loading request. 

  Your app handles the request, but its noticeably slower.
  You get the warning in the log:

  This request caused a new process to be started for your
  application, and thus caused your application code to be
  loaded for the first time. This request may thus take longer
  and use more CPU than a typical request for your
  application.
  
  3b. If the instance does not come up in time, the request is
  aborted in the Pending Queue before the app ever sees it.

  You get the error in the log: 

  Request was aborted after waiting too long to attempt to
  service your request.

The big questions I have :

1. Is my summary above accurate? Are there any other cases
   where request was aborted after waiting too long happens?

2. How long can you sit in the pending queue before you hit case #3b,
   and the request is aborted? Do I have any control over this value?

3. I don't have warmup requests configured. Would this have helped?
   If so, why? The scheduler has *real* requests waiting in the
   pending queue, why/when would it need to send me warmup ones?

And most importantly:
How can I tell the difference between :

   my instance took too long to come up because my app isn't optimized 
properly (ie, my problem)

   AND

   my instance took too long to come up because of something internal to 
GAE, entirely outside of my control
   (ie, an issue that should be reported GAE prod)

Thanks so much for any comments/pointers/responses.
-ckhan

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