[google-appengine] Re: Snow Leopard

2009-11-04 Thread Glenn
Ryan, Thank you very much for the tip. I did as you suggested, and as evidence of it making the switch, when I invoke "python", I see that it's now 2.5.4: % defaults write com.apple.versioner.python Version 2.5 % defaults read com.apple.versioner.python { Version = "2.5"; } % python Pytho

[google-appengine] Re: Expando and Index partitioning

2009-11-04 Thread Eli
Hmm, that's interesting. So, this suggests that Inserts take the same amount of time.. whether a Model has 100,000,000 Entities or 100 Entities(presuming the Model has no extra indexes defined and all Properties of the Model are required). Is that really true? If so, I guess it's good and bad.

[google-appengine] Re: import os

2009-11-04 Thread Ikai L (Google)
Jairo, You'll see DeadlineExceededError if your request takes too long to complete. It's described here: http://code.google.com/appengine/docs/python/runtime.html Is this reproducible in your development environment? What's likely happening is that some operation or series of operations prior o

[google-appengine] Re: Expando and Index partitioning

2009-11-04 Thread Stephen
On Nov 4, 10:20 pm, Eli wrote: > I want to get our wordology clear (let me know where I am going > wrong): > > A Model in AppEngine is equivalent to a Table in SQL (or, if you like, > it is equivalent to the Table Schema). > > An Entity in a Model is equivalent to a Row in a Table.  (so.. a Mod

[google-appengine] Re: Specifying App Engine Server Locations

2009-11-04 Thread ego008
NO 2009/11/5 Stephen > > > > On Nov 4, 4:07 pm, Nick T wrote: > > Hi - We're working on a project that requires we can specify only > > servers located within the European Union. > > > > Is this possible with Google App Engine? > > > Please star this issue: > >http://code.google.com/p/googl

[google-appengine] Re: java mail unauthorized user

2009-11-04 Thread Tchijov Andrei
as FROM use e-mail you are using to login to your GAE account On Nov 4, 2009, at 16:37 , rasensio wrote: > > I'm trying to send an email from a servlet and got this exception. > > avax.servlet.ServletContext log: javax.mail.SendFailedException: Send > failure (javax.mail.MessagingException: Ille

[google-appengine] Re: Specifying App Engine Server Locations

2009-11-04 Thread Stephen
On Nov 4, 4:07 pm, Nick T wrote: > Hi - We're working on a project that requires we can specify only > servers located within the European Union. > > Is this possible with Google App Engine? Please star this issue: http://code.google.com/p/googleappengine/issues/detail?id=193 --~--~

[google-appengine] Re: Create and adding Task objects is expensive

2009-11-04 Thread Peter
A feature we have in the pipeline is batch inserting of tasks, i.e. inserting multiple tasks with a single API call. This will significantly increase the number of tasks that can be inserted in the context of a single request. On Nov 3, 1:07 pm, Eli wrote: > Modify your task to allow emails to

[google-appengine] Re: Expando and Index partitioning

2009-11-04 Thread Eli
I want to get our wordology clear (let me know where I am going wrong): A Model in AppEngine is equivalent to a Table in SQL (or, if you like, it is equivalent to the Table Schema). An Entity in a Model is equivalent to a Row in a Table. (so.. a Model is potentially a collection of Entities in

[google-appengine] java mail unauthorized user

2009-11-04 Thread rasensio
I'm trying to send an email from a servlet and got this exception. avax.servlet.ServletContext log: javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Unauthorized Sender: Unauthorized sender)) my code

[google-appengine] Re: XMPP Requests

2009-11-04 Thread Kevin
ok.. and is it possible to give the bot a profile? and a profile picture? thanks! On Wed, Nov 4, 2009 at 7:52 AM, Nick Johnson (Google) < nick.john...@google.com> wrote: > Hi Kevin, > > At the moment, App Engine XMPP bots can only receive XMPP messages of types > 'normal' and 'chat'. > > -Nick J

[google-appengine] Re: Expando and Index partitioning

2009-11-04 Thread Stephen
On Nov 4, 6:48 pm, Eli wrote: > Stephen, > > My thinking on this is.. > > Say you have a Month Column.. and it has the default lexically sorted > asc,dsc indexes on it. > > My assumption is, when you insert a new row with a Month value > defined, the entire index will have to be updated (no mat

[google-appengine] Re: ClassNotFoundException: void

2009-11-04 Thread napu
I got the same exception with JSF 2.0.1. The page showed once but when I tried to move forward with a button click I got the exception. I guess I'll go back to 1.2 for the time being. /napu On Nov 1, 2:28 am, Bryan Harper wrote: > I have been playing with a fairly simple app locally with not >

[google-appengine] Re: Specifying App Engine Server Locations

2009-11-04 Thread Wooble
No. On Nov 4, 11:07 am, Nick T wrote: > Hi - We're working on a project that requires we can specify only > servers located within the European Union. > > Is this possible with Google App Engine? > > Thanks! --~--~-~--~~~---~--~~ You received this message because

[google-appengine] Re: frame/object control with login

2009-11-04 Thread reyelts
I did find a rather ugly workaround. If imbed the login as an (not an ), I can use a bit of Javascript to reload the parent page and make the go away. To do this, I have the the login redirect generates the following: self.response.out.write('\n') self.response.out.write('\n') self.response.out

[google-appengine] Re: frame/object control with login

2009-11-04 Thread reyelts
I admit to not having been through all of the Java documentation on http://code.google.com/appengine/docs/. I have, however, been through the Python stuff extensively and never came across anything that suggests "framing the login page is strongly discouraged". In fact, some information on recomme

[google-appengine] Re: frame/object control with login

2009-11-04 Thread Joshua Smith
+1. We've abandoned using google's user authentication for exactly this reason. It confused the hell out of all our users. When we started using google apps for our email, it started confusing the hell out of us. -Joshua On Nov 4, 2009, at 1:44 PM, ryan baldwin wrote: > Nick, > > I think

[google-appengine] Re: Snow Leopard

2009-11-04 Thread ryan baldwin
You have to switch to 2.5. Easy to do. Open a terminal and throw this command to the wind: defaults write com.apple.versioner.python Version 2.5 Enjoy! - ryan. On Wed, Nov 4, 2009 at 8:37 AM, Glenn wrote: > > I'm running Snow Leopard and therefore by default Python 2.6. > > I know that I nee

[google-appengine] Re: Expando and Index partitioning

2009-11-04 Thread Eli
Stephen, My thinking on this is.. Say you have a Month Column.. and it has the default lexically sorted asc,dsc indexes on it. My assumption is, when you insert a new row with a Month value defined, the entire index will have to be updated (no matter how many shards or tablets it's broken up in

[google-appengine] Re: After the scheduled maintenance, can no longer deploy app

2009-11-04 Thread ctea
I'm getting the same error. It just started about an hour ago. --~--~-~--~~~---~--~~ 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 un

[google-appengine] Re: Datastore writes are temporarily unavailable

2009-11-04 Thread ke...@allcapsapps.com
Hi Jeff, Any update on the expected remaining time past 6:00? Thanks On Nov 3, 6:10 pm, "Jeff S (Google)" wrote: > Hi all, > > Apologies for the delay, the status site has been updated to mention > this planned maintenance. > > Thank you, > > Jeff > > P.S. As noted in the following blog post, we

[google-appengine] Specifying App Engine Server Locations

2009-11-04 Thread Nick T
Hi - We're working on a project that requires we can specify only servers located within the European Union. Is this possible with Google App Engine? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google

[google-appengine] Snow Leopard

2009-11-04 Thread Glenn
I'm running Snow Leopard and therefore by default Python 2.6. I know that I need Python 2.5. I'm running the first "Hello, World" example, and trying the following at the Unix prompt in Terminal: %python2.5 /usr/local/bin/dev_appserver.py helloworld/ and this is what I get: Traceback (most re

[google-appengine] How to use JSON on server-side?

2009-11-04 Thread Nguyễn Kim Kha
Hello, I'm newbie... I write my app with Eclipse, and now I can't use JSONObject on server- side... How to do it? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to

[google-appengine] Re: frame/object control with login

2009-11-04 Thread ryan baldwin
Nick, I think you're overestimating the proverbial "average user". In fact, in user testing our own application, users are almost unanimously tripped up when they are redirected to Google to login. We frequently *heard* the user say this: "Okay, now I click here to login and... oh... why am I ask

[google-appengine] How can i query the system time?

2009-11-04 Thread Tito George
How can i query like this JDO "select sysdate from dual" ? --~--~-~--~~~---~--~~ 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 unsubscr

[google-appengine] Re: My app died

2009-11-04 Thread Michał Klich
Nevermind, my fault. Disregard this post please. On Nov 4, 5:15 pm, Michał Klich wrote: > After some minor problems that happened with GAE my app throws error > > Traceback (most recent call last): >   File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > __init__.py", line 507, in _

[google-appengine] My app died

2009-11-04 Thread Michał Klich
After some minor problems that happened with GAE my app throws error Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 507, in __call__ handler.get(*groups) File "/base/data/home/apps/contacts-exporter/1-01a. 3375176158877

[google-appengine] Re: Possible saving of metadata space by having short model class name?

2009-11-04 Thread Rafe
And alternative would be to override 'kind'. Just make sure you remember when doing GQL queries in the console: class MyModelClassWithLongName(db.Model): def kind(self): return 'MWLN' On Nov 4, 6:55 am, Anh Hai Trinh wrote: > Since every full entity key includes the name of its

[google-appengine] HTTP Basic authentication

2009-11-04 Thread bsb
I think I read in some thread on this forum that HTTP Basic Authentication is possible somehow with GAE. Is this correct? If yes, how to do that? I have a very simple webservice backend for an iPhone app which I would like to protect from unintended access, so HTTP Basic Authentication would be by

[google-appengine] Re: Possible saving of metadata space by having short model class name?

2009-11-04 Thread Eli
Yes, that helps. Mainly, you want to make sure the keys for your most frequently used entities are the shortest (see Huffman Encoding) if you will have a large datastore (though, this may be good practice in general). It is discussed in the Building Scalable Web Apps IO talk from this year: "Bu

[google-appengine] Re: AppEngine Appears to be Down, Hard

2009-11-04 Thread Michał Klich
Mine is down right now. I thought that i messed up something when rolling back update. On Nov 4, 2:17 pm, pdub wrote: > Okay, it's working again.  What was that all about? > > On Nov 4, 7:13 am, pdub wrote: > > > > > My app started returning 500 errors a few minutes ago.  I checked my > > logs

[google-appengine] Possible saving of metadata space by having short model class name?

2009-11-04 Thread Anh Hai Trinh
Since every full entity key includes the name of its model class (and its parents'), is the following scheme preferable in term of metadata space usage? Instead of class MyModelClassWithLongName(db.Model): ... I'd use: class MWLN(db.Model): ... MyModelWithLongName = MWLN -

[google-appengine] Re: I am unable to update my cron.yaml

2009-11-04 Thread Wooble
the command is update_cron, not update-cron, although a normal appcfg.py update should work too. On Nov 3, 3:57 pm, SK wrote: > Hi, > I wrote the following cron.yaml file, but it is not being updated to > the server. I have updated the folder with appcfg.py update > foldername. I have also tried

[google-appengine] Re: Expando and Index partitioning

2009-11-04 Thread Stephen
On Nov 3, 11:35 pm, Eli wrote: > > (This is just the first usage example that comes to mind.  This row > naming method could be used for all sorts of set intersection stuff, > and would cut down on insert times due to the fact that it should > partition out the indexes when dealing with humongo

[google-appengine] Re: AppEngine Appears to be Down, Hard

2009-11-04 Thread pdub
Okay, it's working again. What was that all about? On Nov 4, 7:13 am, pdub wrote: > My app started returning 500 errors a few minutes ago.  I checked my > logs and saw tons of datastore timeout errors.  Now, I can't even get > into the web console anymore. --~--~-~--~~~-

[google-appengine] AppEngine Appears to be Down, Hard

2009-11-04 Thread pdub
My app started returning 500 errors a few minutes ago. I checked my logs and saw tons of datastore timeout errors. Now, I can't even get into the web console anymore. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Seeking any Good Opinions / Design Pattern Input

2009-11-04 Thread Stephen
On Nov 3, 9:06 pm, nolybab wrote: > For the most part, I don't need/want to be able to query > within the data, but i do need to query by date to > get entries. For instance, assume I am showing a google > visualization for "Fights Won" plotted over the last 30 days. > Therefore, all I would n

[google-appengine] Re: XMPP Requests

2009-11-04 Thread Nick Johnson (Google)
Hi Kevin, At the moment, App Engine XMPP bots can only receive XMPP messages of types 'normal' and 'chat'. -Nick Johnson On Fri, Oct 30, 2009 at 3:23 PM, kevinalle wrote: > > Hi. > I am developing an app that uses the XMPP handler to make a chat bot.. > my question is: > is it possible to wri

[google-appengine] Re: Can't verify App Engine Account as my Phone number is already verified

2009-11-04 Thread Nick Johnson (Google)
Hi, If you are having trouble with SMS verification, or want an additional account activated, please fill out the following form: http://appengine.google.com/waitlist/sms_issues (This is from the following FAQ http://code.google.com/appengine/kb/sms .html#error ) Once you fill out this form, yo

[google-appengine] Re: Data Size Differs in Stats and Quota Details

2009-11-04 Thread mably
Hi Nick, We have exactly the same problem with our GAE application (webwinewatch), but the ratio is even higher around 15. It's probably related to the way we try to manage "full-text" indexes via multi-value properties. Will the future native full-text indexes (http://code.google.com/p/ google

[google-appengine] Re: Data Size Differs in Stats and Quota Details

2009-11-04 Thread Nick Johnson (Google)
Hi Pavel, The stats don't include indexes - the difference in size is the overhead from your (automatic and composite) indexes. -Nick Johnson On Sun, Nov 1, 2009 at 11:14 AM, Pavel Kaplin wrote: > > Datastore statistics says that "Size of all entities" is 18 Mbytes, > however Quota Details show

[google-appengine] Re: Permission to view, which way is more efficient?

2009-11-04 Thread Nick Johnson (Google)
Hi Lynge, Storing a List of keys of users who may view a profile on the profile's entity is probably the best way to do this. -Nick Johnson On Tue, Nov 3, 2009 at 12:54 AM, Lynge wrote: > > Hi > The app I am about to build is going to have some kind of profile page > for each user. The user w

[google-appengine] Re: frame/object control with login

2009-11-04 Thread Nick Johnson (Google)
Hi, Framing the login page is strongly discouraged, and may in fact be contrary to the TOS. The only way for the user to determine that a login page for a Google account is legitimate is to check if it's being served off the google.com domain, and this is not possible inside a frame. -Nick Johnso