[google-appengine] Regexps in app.yaml "url" for static_dir?

2009-01-06 Thread boson
GAE docs [1] on configuring for serving static files say the "url" param used with static_dir "uses regular expression syntax". I can't seem to get this to work. I wanted to let the URLs "/stuff/v1/thing.gif", "/stuff/v2/thing.gif", etc. all refer to a file "thing.gif" in my app's "/static/stuff

[google-appengine] Re: Timeouts

2009-01-06 Thread livibetter
I just got three timeouts about an hour ago within 10 minutes to my app (appid: brps), all generated same traceback. They happened at: 01-05 11:50AM 18.670 01-05 11:50AM 13.719 01-05 11:41AM 50.052 It's not a big deal to me, just want to provide the info. But I do have a question, can we catch

[google-appengine] Re: request: versions accessed by URL param rather than prefix?

2009-01-06 Thread David Symonds
On Tue, Jan 6, 2009 at 10:15 AM, Ben Nevile wrote: > Sadly I cannot redirect before returning to Facebook. I can ask > Facebook to redirect, but if I redirect to a non-canvas page it won't > render within the Facebook environment. Does that make sense? > > For example, if I wanted to redirect

[google-appengine] Re: return a variable value from html form to python

2009-01-06 Thread thebrianschott
Marzia and others, Thank you for your help. The good news is that I have revised my app to use the google maps methods of passing data around, GDownloadUrl() and it works pretty well on my local machine. The bad news is that when I deployed it to the appspot, it fails immediately. I worried tha

[google-appengine] Re: return a variable value from html form to python

2009-01-06 Thread thebrianschott
Our link is http://carpoolfinder.appspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this

[google-appengine] Re: 1 application, multiple datastores

2009-01-06 Thread hawkett
> > > How do you know how the current GAE code actually works? > > > I read the API docs - how do you manage it? > > I'm not the one asserting that there are hard boundaries between GAE > datastores that the GAE run-time can't pierce. Neither am I - I am asserting that there are hard boundaries t

[google-appengine] Getting around the limits of fetching large result sets

2009-01-06 Thread bowman.jos...@gmail.com
I've got several blogs scattered around and use none of them, so I thought I'd post this here and maybe some of the ideas and methods I'm using might help other developers using appengine. Let me preface this with, I've come to the conclusion that appengine is not the right tool for everyjob, and

[google-appengine] Re: 1 application, multiple datastores

2009-01-06 Thread Andy Freeman
> I guess one of us will be surprised then :) - I would be surprised if > gmail, sites, blogger, picassa, orkut etc. all operated in an open > space and avoided data exposure through code implemented in each of > those applications. If the separation is by name and ordinary "file" access control,

[google-appengine] Re: Suggests based on user input

2009-01-06 Thread Barry Hunter
You could use something like this http://developer.yahoo.com/yui/autocomplete/ the python script to output csv, or xml based on the datastore query should be fairly trival. 2009/1/6 Shay Ben Dov : > > Hi Everybody, > > Has anyone tried to implement a suggestions based on user input like > inGm

[google-appengine] Re: Suggests based on user input

2009-01-06 Thread bowman.jos...@gmail.com
If it's going to make a request each time it needs to calculate next suggestions, you could quickly hit your requests quota. When doing Ajax style functionality on your appengine site, it's best to keep in mind you have a finite amount of requests available to your application per day. On Jan 6,

[google-appengine] Server Error (500) on deploy

2009-01-06 Thread blackball
Hello! I updated my Apps but it always told me : Cloned 100 files. Cloned 200 files. Cloning 293 application files. Cloned 100 files. Cloned 200 files. Closing update. Uploading index definitions. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end ser

[google-appengine] Interaction with other server

2009-01-06 Thread gabon
Tired of the performances of my cheap hosting, I would like to try to see if GAE is the answer for small projects that could be quite demanding and should be reliable. Let's imagine I have a database on my personal website and I would like to kind of mirror it every now and then to have almost the

[google-appengine] Query on partial string

2009-01-06 Thread chromerunner
A noob question. I have a series of names in the datastore. They are stored in this format: -. Examples would be: Smith-J Python-M Smith-KS Doe-J Users will want to find names by partial matching. Thus a query string of 'Smith' should find both J and KS above... I just can't find a way of doing

[google-appengine] Refresh needed on every page load?!

2009-01-06 Thread Stirman
My little GAE app: http://www.mobaganda.com/ The first time you hit the page, it's blank, refresh and everything comes up fine?! No errors in logs, nothing unusual going on with data, no red flags anywhere... no idea why this happens?! I get e-mails daily saying "mobaganda is down!!", but it'

[google-appengine] Re: Server Error (500) on deploy

2009-01-06 Thread Marzia Niccolai
Hi, This error is due to the fact that you have indexes that are currently building. I am fixing this and will follow up off group after it is complete. -Marzia On Mon, Jan 5, 2009 at 9:46 PM, blackball wrote: > > Hello! > I updated my Apps but it always told me : > > Cloned 100 files. > Clo

[google-appengine] Re: Refresh needed on every page load?!

2009-01-06 Thread Marzia Niccolai
Hi, This is due to the fact that you are missing: if __name__ == "__main__": main() at the end of your application file. It's due to the way that App Engine does App Caching: http://code.google.com/appengine/docs/python/appcaching.html -Marzia On Tue, Jan 6, 2009 at 9:33 AM, Stirman wrote:

[google-appengine] Re: Query on partial string

2009-01-06 Thread Marzia Niccolai
Hi, With App Engine, there is not a great way to do partial string searches. To do prefix matching, which seems to be your use case, you can use inequality filters and the method described here: http://code.google.com/appengine/docs/datastore/queriesandindexes.html "Query filters do not have an

[google-appengine] Re: Refresh needed on every page load?!

2009-01-06 Thread Stirman
Ahh, yeah that looks like it did it! Thanks! Also, not sure if it's related, but at some point my app stopped working without the www. ? Related? On Jan 6, 11:50 am, Marzia Niccolai wrote: > Hi, > > This is due to the fact that you are missing: > > if __name__ == "__main__": >   main() > > at

[google-appengine] Re: Refresh needed on every page load?!

2009-01-06 Thread Marzia Niccolai
Hi, This is a separate issue. Google App Engine stopped supporting naked domains, and in order to get them to work at all, you would need to set up a 302 redirect to 'www' with your hosting provider: http://code.google.com/appengine/kb/commontasks.html#naked_domain -Marzia On Tue, Jan 6, 2009 a

[google-appengine] Re: Query on partial string

2009-01-06 Thread chromerunner
Thanks Marzia, for two reasons (a) it is a valid workaround that I can use and (b) I feel less incompetent in not having discovered an obvious feature --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine

[google-appengine] Re: Regexps in app.yaml "url" for static_dir?

2009-01-06 Thread Marzia Niccolai
Hi, This is due to the fact that the url parameter for static_dir works differently than that for static_files. The static_dir regex is prefix only with no groups: >From static_dir description: url A URL prefix. This value uses regular expression syntax (and so regexp special characters must be

[google-appengine] Re: Regexps in app.yaml "url" for static_dir?

2009-01-06 Thread boson
Marzia, Could you please provide an example of how one might use a regular expression with static_dir url pattern? The one I provided seemed like a pretty simple one (simple prefix, no groupings), but it doesn't work, so obviously I'm missing something here. What does work? Thank you. On Jan

[google-appengine] Re: request: versions accessed by URL param rather than prefix?

2009-01-06 Thread Ben Nevile
Dave, When dealing with Facebook and FBML you can't do a 304 redirect. Facebook is making the request to your server on behalf of the user. Ben On Jan 6, 1:35 am, "David Symonds" wrote: > On Tue, Jan 6, 2009 at 10:15 AM, Ben Nevile wrote: > > Sadly I cannot redirect before returning to Face

[google-appengine] Re: request: versions accessed by URL param rather than prefix?

2009-01-06 Thread boson
Ben, I also am developing FB apps with GAE. I set up a Google Group for this: http://groups.google.com/group/facebook-and-google-app-engine and we've touched on the topic of how to best do app versioning there too. Your proposal is interesting! That group isn't a substitute for this one, but i

[google-appengine] Re: Refresh needed on every page load?!

2009-01-06 Thread Stirman
Got it, thanks again Marzia! On Jan 6, 12:35 pm, Marzia Niccolai wrote: > Hi, > > This is a separate issue.  Google App Engine stopped supporting naked > domains, and in order to get them to work at all, you would need to set up a > 302 redirect to 'www' with your hosting > provider:http://code

[google-appengine] Re: request: versions accessed by URL param rather than prefix?

2009-01-06 Thread David Symonds
On Wed, Jan 7, 2009 at 6:30 AM, Ben Nevile wrote: > When dealing with Facebook and FBML you can't do a 304 redirect. > Facebook is making the request to your server on behalf of the user. So it's Facebook that doesn't follow 304 redirects? That sounds broken. Dave. --~--~-~--~~--

[google-appengine] Yahoo Domain redirect

2009-01-06 Thread Pankaj Vishwani
Hi, I saw a lot of posts about redirecting from domain.com to www.domain.com but unfortunately none of them were helpful in my case. So here's what is happening: I bought a domain from yahoo and there I added * A Record 'hullabu.com' to destination '216.239.38.21' for hullabu.com rediecting to w

[google-appengine] Re: request: versions accessed by URL param rather than prefix?

2009-01-06 Thread David Symonds
On Wed, Jan 7, 2009 at 8:44 AM, David Symonds wrote: > On Wed, Jan 7, 2009 at 6:30 AM, Ben Nevile wrote: > >> When dealing with Facebook and FBML you can't do a 304 redirect. >> Facebook is making the request to your server on behalf of the user. > > So it's Facebook that doesn't follow 304 redi

[google-appengine] Re: AuthToken for Appengine

2009-01-06 Thread Jeff S
At the moment, there isn't really an option that avoids asking the user for their Google Account password. The Google Calendar API which you mentioned has a few options for web based authorization which would provide an auth token including OAuth and AuthSub http://code.google.com/apis/accounts/d

[google-appengine] object not iterable

2009-01-06 Thread Rockmaster
Hi, there, I've been trying to figure out what is happening with my code, and after pounding my head against the wall for a while, I thought I'd ask you guys. I'm trying to extract some lines containing "X=" from an inputform. Here's the portion of code that is giving me trouble: inputdata

[google-appengine] Re: object not iterable

2009-01-06 Thread Ross M Karchner
"inputdata.splitlines" refers to the function itself, you want to *call* the function, so use parentheses: nlines = inputdata.splitlines() On Tue, Jan 6, 2009 at 5:01 PM, Rockmaster wrote: > > Hi, there, > > I've been trying to figure out what is happening with my code, and > after pounding m

[google-appengine] Re: object not iterable

2009-01-06 Thread Rockmaster
Thanks! --~--~-~--~~~---~--~~ 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

[google-appengine] Submitting App to the Gallery

2009-01-06 Thread deji.omis...@gmail.com
Anyone knows how long this takes to show up in the gallery? Thanks. --~--~-~--~~~---~--~~ 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 T

[google-appengine] BadArgumentError: _app must not be empty.

2009-01-06 Thread Stuart Grimshaw
I'm trying to get doctests running from inside of Textmate, and I've got so far that I can run the tests, and they work as expected until I try and put() the object, when I get the error above. I'm using Aral Balkan's gae_doctest.py and I've added os.environ ['APPLICATION_ID'] = APP_ID as suggest

[google-appengine] regex problems

2009-01-06 Thread Rockmaster
Hello, I'm a bit confused by regular expressions in Python. I tested the following regex with http://re.dabase.com/, and it got a match there, but I can't seem to get a match once I run this: ( example line from xlines: X= 0. ) progX = re.compile('X=\s*\d+\.?\d*', re.I) xpart

[google-appengine] Crazy Apps account / Google account behavior

2009-01-06 Thread Taylor Hughes
So, I have an application that belonged to my Google account. Earlier today, our IT guy registered a Google Apps account for our domain -- and added an account with the same username / e-mail as my Google account (tay...@nemeannetworks.com). Just now, I deleted a *different developer* from the a

[google-appengine] Re: Crazy Apps account / Google account behavior

2009-01-06 Thread Taylor Hughes
More: If I add a new application while logged in as my Google account, I am immediately sent to an "Unauthorized" page -- and the new app shows up under my Apps account! (Just created "crazytimeexcellent" and saw this behavior.) On Jan 6, 5:46 pm, Taylor Hughes wrote: > So, I have an applicati

[google-appengine] Re: regex problems

2009-01-06 Thread djidjadji
match() wants the regex to start at position 0. If your first char is not 'X' ==> No match try search() Read the python doc about the difference. 2009/1/7 Rockmaster : > > Hello, > > I'm a bit confused by regular expressions in Python. I tested the > following regex with http://re.dabase.com/, a

[google-appengine] Re: regex problems

2009-01-06 Thread Rockmaster
It's always something simple. Thank you. --~--~-~--~~~---~--~~ 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 grou

[google-appengine] Re: Crazy Apps account / Google account behavior

2009-01-06 Thread Marzia Niccolai
Hi Taylor, I will follow up with you off the group to get this sorted out. In generally, having an account that is both a Google Apps and Google Account is not a good idea with App Engine because what you have described will happen. You can read more about this here: http://code.google.com/appen

[google-appengine] delete application in future?

2009-01-06 Thread SM
I know there is currently no way to delete an application, but I am wondering if this will be possible in the future. The reason to do this would be to free up slots in the quota (currently 10 apps) we are given. If this will be possible in the future, when is an approximate timeframe? Thanks.

[google-appengine] Re: delete application in future?

2009-01-06 Thread Alexander Kojevnikov
Star this issue to follow it up: http://code.google.com/p/googleappengine/issues/detail?id=335 On Jan 7, 11:28 am, SM wrote: > I know there is currently no way to delete an application, but I am > wondering if this will be possible in the future. The reason to do > this would be to free up slots

[google-appengine] Re: Yahoo Domain redirect

2009-01-06 Thread Marzia Niccolai
Hi, A Record configurations for naked domains will no longer work with App Engine. Please see: http://code.google.com/appengine/kb/commontasks.html#naked_domain You will need to configure a 302 redirect from the naked domain with your domain registrar to the 'www' domain. -Marzia On Tue, Jan 6

[google-appengine] Re: delete application in future?

2009-01-06 Thread SM
Thank you. On Jan 6, 4:33 pm, Alexander Kojevnikov wrote: > Star this issue to follow it > up:http://code.google.com/p/googleappengine/issues/detail?id=335 > > On Jan 7, 11:28 am, SM wrote: > > > I know there is currently no way to delete an application, but I am > > wondering if this will be

[google-appengine] Re: Timeouts

2009-01-06 Thread Marzia Niccolai
Hi, Yes, you can catch the timeout exception. It works like other exception in python you could do something like: ... try: model = NewModel.put() except: self.response.out.write('This feature is not available') return ... -Marzia On Tue, Jan 6, 2009 at 12:30 AM, livibetter wrote: > >

[google-appengine] Announce - Cumulo SAASi

2009-01-06 Thread edwardgsanc...@gmail.com
Cumulo has opened up a limited beta for Cumulo SAASi. With Cumulo SAASi, you can write web services in any programming language in less than one hour. There is no network programming, only a simple command line protocol that allows you to wrap any piece of code (in any programming language), and b

[google-appengine] Re: Configuring Friend Connect

2009-01-06 Thread benzrad
could u help me, with what u asked? TIA. --~--~-~--~~~---~--~~ 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

[google-appengine] App Engine Gadget doesn't authenticate to Google Apps account

2009-01-06 Thread ryan
I've written a basic App Engine app that authenticates with my Google Apps account fine. That is, if I'm logged in to my Google Apps mail, I can jump over to my App Engine app and I'll already be logged in. The opposite also works fine. However, I've now written a small Google Gadget that offers

[google-appengine] 500 server error despite proper testing on dev_appserver.py and upload

2009-01-06 Thread pgctesting001
On Jan 3, 7:34 am, pgctesting001 wrote: > I used the google app engin sdk to develop a simple app for testing on > upload to my standard test site. the sdk and gdata installed properly, > the tests ran ok, my html file showed in the development server on my > platfor, I created the app engine wit