[google-appengine] Re: Using __key__ and SearchableModel

2009-06-12 Thread acuth
With the SearchableModel class you get a new method called search() that takes as a parameter the terms you are searching on. AFAIK there isn't a GQL construct that matches it. On Jun 12, 3:48 am, Antoniov nio@gmail.com wrote: SELECT [* | __key__ ] FROM entity [WHERE condition [AND

[google-appengine] Re: Data Preload Script Equivalent?

2009-06-12 Thread djidjadji
Or use the remote api [1] and write a python script on your local computer to parse the file with insert statements and create the objects. This is kind of what bulkupload does but using CSV files for input. If you parse the file into a dictionary, key=attribute name. You can use myObj =

[google-appengine] Re: Monitoring Server on GAE?

2009-06-12 Thread chenbaiping
Are you looking for http://timer2.appspot.com It was developed by our group last year. It has following services: # Monitor your website, if your website fails, you will be notified by an email. # Set up cron jobs for you web app . # Send timing email. -邮件原件- 发件人:

[google-appengine] Re: Is there a way to specify a cron job run between two time point?

2009-06-12 Thread chenbaiping
This interesting website maybe meet your requirement. http://stress-testing. appspot.com First, you can build a cron job triggers at 12:00 every day. Second, the trigger should fetch following url http://stress-testing.appspot.com/serial/72/delay/300/your-job-url your-job-url is your working

[google-appengine] Re: why there is no way to build a key id?

2009-06-12 Thread cryb
Hi.. that is to build key names... What I asked was why I can't build a key ID.. On Jun 12, 5:35 am, Antoniov nio@gmail.com wrote: Use the code: s = Story(key_name=xzy123) Then you create an entity with the key name xzy123. Check

[google-appengine] Small query re. counter example in IO 09 task queue presentation

2009-06-12 Thread peterk
Hey all.. Just wondering if I picked this up wrong or if this would indeed need some changing. Looking at the counter example in this presentation: http://code.google.com/events/io/sessions/OfflineProcessingAppEngine.html (From slide 37 in the PDF) Basically, is this example not depending on

[google-appengine] https access through naked domain

2009-06-12 Thread Jesse Grosjean
I'm hosting my website (www.hogbaysoftware.com) through Google Apps and on Google App engine. Previously this site was hosted on another service that allowed naked domains, so I have many incoming links of the form http://hogbaysoftware.com. To fix these links I enabled forwarding on Godaddy.com

[google-appengine] Re: https access through naked domain

2009-06-12 Thread Jesse Grosjean
I forgot on last bit of information. I no longer need https support for any page on my site. So in the above example I would be happy to have https://hogbaysoftware.com/store turn into http://www.hogbaysoftware.com/store, I don't need it forwarded to my secure appspot domain. Thanks, Jesse

[google-appengine] Re: https access through naked domain

2009-06-12 Thread Nick Johnson (Google)
Hi Jesse, The problem here is likely that GoDaddy aren't serving redirects over port 443 (the HTTPS port). Even if they were, users would get dire warnings about broken SSL certificates. The only solution is to find someone who will serve 302 redirects and host your SSL certificate (someone you

[google-appengine] Re: DB design best practices

2009-06-12 Thread Nick Johnson (Google)
Hi n8gray, The system you outline seems reasonable too. I'm not sure there's much value in splitting out GameState and GameMeta, but otherwise they seem reasonable. My main concern behind not having a separate GamePlayer entity would be a profusion of ListProperties for per-player data, but if

[google-appengine] Re: https access through naked domain

2009-06-12 Thread Jesse Grosjean
Nick, The problem here is likely that GoDaddy aren't serving redirects over port 443 (the HTTPS port). Even if they were, users would get dire warnings about broken SSL certificates. Thanks for your quick response. The only solution is to find someone who will serve 302 redirects and host

[google-appengine] Re: ??? Over Quota ???

2009-06-12 Thread Jeff S (Google)
Hello again Sebastian, I made some changes yesterday that should have alleviated the situation for your app. Please let me know if you see any additional 403 Over Quota errors when the dashboard does not show any quotas as limited. Thank you, Jeff On Jun 11, 11:32 am, Jeff S (Google)

[google-appengine] Google Search API search results changed when used in Google Appengine

2009-06-12 Thread Ryan Sin
Hi, There is a problem that for a particular search query with Google Search API when I use it with Google App Engine: The query: http://ajax.googleapis.com/ajax/services/search/web?start=0rsz=smallv=1.0ned=cnhl=zh-CNq=allintext:%E6%B4%AA%E5%B0%8F%E8%8E%B2%2B%E8%91%A3%E8%B5%B5%E6%B4%AA%E5%A8%89

[google-appengine] SQL-Join in GAE

2009-06-12 Thread code8...@gmail.com
hi All, i am sucessfully developed the application in GAE with minimal database limits, when i try to switch from this i am struggled there, because we doesnt the option to use the SQL-Join in GAE, Kindly suggest me how to solve the problem, because i hope tht any one cn face this problem and

[google-appengine] join query in app engine?

2009-06-12 Thread Rajesh S
is it possible to use join query in google appp engine Application .If not what might be the alternate way to resolve this problem... thanks in advance. Rajesh S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] data table not being added to datastore on deployement

2009-06-12 Thread Varun Saravagi
Hi I have been creating an application in java. I have deployed it several times on the appengine. When I recently deployed it, I was not getting my recent data table in the Data Viewer in the application page. I have my previous datatables in the app-engine datastore working but was not getting

[google-appengine] Re: How to access object passed by HTML in python

2009-06-12 Thread EW
That should work. You just need something to grab it once it's submitted: class Upload(webapp.RequestHandler): def post(self): datafile= self.request.get('datafile') On Jun 11, 7:56 pm, Gaurav joshigaur...@gmail.com wrote: Hi, I want to pass the values to insert query in python. I

[google-appengine] Re: ??? Over Quota ???

2009-06-12 Thread Sebastian Aviña
Hi Jeff, Yes, I noted that the error have not appeared in the last hours, thanks for your help... I'm going to take ocassion to report you some bizarre errors (non-fatal) I've with the images API: Sometimes (more often than sometimes) when I upload an image 533x800px, and ask the server to

[google-appengine] Re: join query in app engine?

2009-06-12 Thread Barry Hunter
No joins are not possible, ReferenceProperty's sort of forfill very basic joins. But nowhere near as powerful as a traditional RDMS How to structure your data in the datastore is highly dependant on your data. There is no 'magic' formular to convert to the the datastore mentality. But one thing

[google-appengine] Re: I changed my gmail account, and now I can't verify account by sms

2009-06-12 Thread Luis
Thanks a lot Nick! On Jun 12, 1:32 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi Luis, I've activated your new account. -Nick Johnson Thu, Jun 11, 2009 at 3:56 PM, Luis lemo...@gmail.com wrote: Hi everybody, I have the following problem: I changed my old gmail

[google-appengine] Re: SQL-Join in GAE

2009-06-12 Thread Adam
The correct solution to the lack of JOIN depends on the exact nature of the data that you are modelling. You may need to denormalize your data, as the normalization that works for a relational database will make working with the GAE datastore difficult or impossible. You may need to think about

[google-appengine] Re: bcrypt on google app engine

2009-06-12 Thread gae123
Nick, if I understand correctly the pycrypto implementation is in Python and I have found this very slow in the past. Are there any plans for support for a native/C based encryption library? Thanks On Jun 11, 2:11 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Karl, I'm not

[google-appengine] Re: data table not being added to datastore on deployement

2009-06-12 Thread Wooble
The Data Viewer will only show Models that actually have data in them. The datastore is schemaless so there's really no such thing as adding a table. Deploying an application that defines a new model doesn't affect the datastore at all. On Jun 12, 10:54 am, Varun Saravagi

[google-appengine] Datastore Detachable classes

2009-06-12 Thread Tim Wickstrom
Hello, I've made my datastore classes detachable so that I can work with the objects after the PersistenceManager is closed. However, I'm unable to access the children of the returned objects that are in a one-to-many owned relationship. What do I need to do in order to gain access to read the

[google-appengine] Like Search

2009-06-12 Thread Neves
I have an idea to do LIKE search with small words in GAE. The solution is create a Word model with the follow fields: class Word(db.Model): word = db.StringProperty() like = db.StringListProperty() # usage word = Word() word.word = open # with the assignment above, the like property would

[google-appengine] How is an entity key generated?

2009-06-12 Thread Oliver Zheng
Is it a hash function in that the resulting string is randomly distributed among its range? It seems like in a distributed hash table like BigTable, this would be how it's implemented. The reason I'm asking is, I want to do a random query. I want to select a random entity from an entity group. I

[google-appengine] Re: How is an entity key generated?

2009-06-12 Thread Oliver Zheng
I forgot to include this question: What is the overhead of querying like this for just the first result, vs just getting with the key? What is the magnitude of difference in time? On Jun 12, 4:22 pm, Oliver Zheng goo...@oliverzheng.com wrote: Is it a hash function in that the resulting string

[google-appengine] Re: appcfg.py upload error

2009-06-12 Thread lucidanui
My app have the same error. I try to change anthor version, but it can't set default version from admin console Server Error A server error has occurred. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: bcrypt on google app engine

2009-06-12 Thread Barry Hunter
On 12/06/2009, gae123 pa...@gae123.com wrote: Nick, if I understand correctly the pycrypto implementation is in Python and I have found this very slow in the past. Are there any plans for support for a native/C based encryption library? Check the issue tracker, and add a suggestion if