[google-appengine] Re: Messaging between multiple concurrent browser sessions

2008-11-07 Thread slmnhq
Thanks Calvin. I read the docs for AQS and it looks worthwhile, not to mention cheap too. Thanks for mentioning this. On Nov 6, 12:24 am, Calvin Spealman [EMAIL PROTECTED] wrote: Let's not be tied to any one thing. Consider something like amazons queue service? On Nov 5, 2008 12:44 PM,

[google-appengine] 'run_in_transaction' gives a 'KeyError: frame object at'

2008-11-07 Thread David Wilson (entertainment cloud)
Hi, Some how I keep breaking the dev server datastore, so it gives this error when try to 'put' anything in a transaction: class Foo(db.Model): pass def trans(): foo = Foo() foo.put() class Test(webapp.RequestHandler): def get(self): db.run_in_transaction(trans)

[google-appengine] Re: 'run_in_transaction' gives a 'KeyError: frame object at'

2008-11-07 Thread David Wilson (entertainment cloud)
after some more testing, it only happens in debug with psyco (1.6). I've removed psyco for now and its all running fine. On Nov 7, 3:11 pm, David Wilson (entertainment cloud) [EMAIL PROTECTED] wrote: Hi, Some how I keep breaking the dev server datastore, so it gives this error when try

[google-appengine] Re: appcfg.py .xaml files (silverlight) mimtype issue

2008-11-07 Thread Dan Sanderson
You can specify the MIME type manually with the mime_type option in app.yaml. For example: - url: /silverlight/(.*\.xaml) static_files: silverlight/\1 mime_type: application/xaml+xml (I didn't test this, so let me know how it goes. :) ) -- Dan On Fri, Nov 7, 2008 at 4:41 AM, Neo42 [EMAIL

[google-appengine] Re: appcfg.py .xaml files (silverlight) mimtype issue

2008-11-07 Thread Marzia Niccolai
Hi, Does this work if you add the mime_type argument explicitly to the handle? - url: /silverlight static_dir: silverlight mime_type: *applicaition/x-silverlight-app -Marzia * On Fri, Nov 7, 2008 at 4:41 AM, Neo42 [EMAIL PROTECTED] wrote: How do I use the upload tool (appcfg.py) and my

[google-appengine] Re: Google Developers Day - Java App Engine. Time line? Hype?

2008-11-07 Thread Raffaele Castagno
On 22 Ott, 16:47, Andrew Badera [EMAIL PROTECTED] wrote: Probably right after Microsoft makes a major cloud announcement. So you mean _right now_? http://www.microsoft.com/azure/windowsazure.mspx ^_^ Raffaele --~--~-~--~~~---~--~~ You received this message

[google-appengine] Re: Web Service authentication in App engine

2008-11-07 Thread Dado
Take a look at http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#ClientLogin I believe that the service code for appengine is ah. Dado On Nov 6, 9:23 am, OI2engine [EMAIL PROTECTED] wrote: Hi,  I am developing an iphone app which is supposed to talk to a web service

[google-appengine] Re: indexes for and queries

2008-11-07 Thread Jeff S
Hi bernd, You are correct, matching on two members of a list (which is how Searchable works) requires the list property to be listed twice in the index. One thing to watch out for, is that there is currently a limit of 5000 index rows per entity (index row counts are described here:

[google-appengine] Re: No such file or directory

2008-11-07 Thread Jeff S
Hi Chris, Thank you for tracking that down. Would you mind filing a Review request in our SDK issue tracker with your patch: http://code.google.com/p/googleappengine/issues/list Before we can accept your patch, you'll need to sign a Contributor License Agreement (CLA). Individual CLA:

[google-appengine] Re: Google Developers Day - Java App Engine. Time line? Hype?

2008-11-07 Thread Raffaele Castagno
On 7 Nov, 14:14, Andrew Badera [EMAIL PROTECTED] wrote: No, I think I mean last week, when Azure was announced at PDC, when it was still October. Let's hope this one week ago will came soon :) Raffaele --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] Google App Engine setup sequence...

2008-11-07 Thread Jesse Grosjean
I have an app hosted on google app engine at hogbaysoftware.appspot.com. I also have my domain hogbaysoftware.com setup with google apps. I'd like to connect the two so that I can access my app engine application at www.hogbaysoftware.com. A few months ago I set the same system up for another

[google-appengine] Re: appcfg.py .xaml files (silverlight) mimtype issue

2008-11-07 Thread Neo42
I got it to work by: 1) Modifying my appcfg.py code. Added a mimetype. Details below. 2) check my html and file names for case (the online google app engine is case sensitive) File: C:\google_appengine\google\appengine\tools\appcfg.py Towards the bottom in function main needs to run this line

[google-appengine] Re: Google App Engine setup sequence...

2008-11-07 Thread Marzia Niccolai
Hi Jesse, Hitting the www address, it seems as though the 'www' mapping is still assigned to sites, even though this isn't obvious in the App's cPanel. I wrote up a quick page on how to disable the 'www' mapping in sites so you can enable it with App Engine:

[google-appengine] Re: Production env different from development?

2008-11-07 Thread Hans
Thats it, I don't get a clear error. The Django encoder wouldn't encode my custom business objects - that's why I thought I had to roll my own. Hans On Nov 7, 6:43 pm, Anthony [EMAIL PROTECTED] wrote: Hard to tell without knowing what sort of errors are you getting.. But, have you tried the

[google-appengine] Re: Permanent Unique User Identifier

2008-11-07 Thread Ryan Lamansky
Alexander Kojevnikov: Although your plan would function, it offers no protection from email address changes. If the user changes their email address, they would no longer match their original UserProfile (because UserProperty is just a fancy name for string, as it stores only the email address),

[google-appengine] Re: Google App Engine setup sequence...

2008-11-07 Thread Jesse Grosjean
Thank you very much for your quick reply. Your suggestion seems to have fixed the problem. I now see the app engine service in my google apps dashboard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: Production env different from development?

2008-11-07 Thread Peter Recore
In order for us to help debug, you need to give us a few more details. If we don't know what's broken, we can't help you fix it :-) Remember, we know a little bit about App Engine, but nothing about your application or how it works. You'll get the best results if you include at least these two

[google-appengine] How to pass the password to appcfg.py update in a python script?

2008-11-07 Thread Alexander Orlov
The --passin parameter makes it possible to pass the password via stdin to appcfg.py. I have wrote a corresponding Ant target which use this parameter to read the password from a file. Here you can see the core part of this Ant target: ##

[google-appengine] Observing GAE Scalability (or trying to ...)

2008-11-07 Thread David Underhill
I have read all about GAE, watched the interesting Google I/O videos, and written some simple (toy) applications. Now, I would really like to be able to demonstrate to myself, with a simple toy application, that GAE can out-scale what a single dedicated host can do. When I set off on this

[google-appengine] Re: How to pass the password to appcfg.py update in a python script?

2008-11-07 Thread David Symonds
On Fri, Nov 7, 2008 at 11:29 AM, Alexander Orlov [EMAIL PROTECTED] wrote: os.execv('%s/appcfg.py' % PATH_GAE, args) Check the Python documentation, because you've misunderstood os.execv. You'll want to use os.popen instead. Dave. --~--~-~--~~~---~--~~

[google-appengine] Re: No such file or directory

2008-11-07 Thread Marzia Niccolai
Hi Chris, If you are interested in having this change be considered for implementation in to the SDK, you should sign a CLA and submit the patch in the issue tracker. Details can be found here: http://groups.google.com/group/google-appengine/web/how-to-submit-a-patch-to-the-sdk -Marzia On Thu,

[google-appengine] Re: “bad request error 400” w hen i bind my domain name to the application

2008-11-07 Thread Marzia Niccolai
Hi, Are you able to access this page at all directly? https://appengine.google.com/deployment/newdomain?app_id=[YOUR_APP_ID] If not, can you add the domain through your cPanel? In the dashboard, what happens when you click 'Add more services' and try to add your App Engine app through the Apps

[google-appengine] Need help displaying images

2008-11-07 Thread webappnoob
I need help displaying images upload from the web that is store in a db.model..does anyone have any example other then the one from google??? thank you!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: How to pass the password to appcfg.py update in a python script?

2008-11-07 Thread Calvin Spealman
I suggest the subprocess module for consistant process invocation in all circumstances. On Nov 7, 2008 3:07 PM, David Symonds [EMAIL PROTECTED] wrote: On Fri, Nov 7, 2008 at 11:29 AM, Alexander Orlov [EMAIL PROTECTED] wrote: os.ex... Check the Python documentation, because you've

[google-appengine] validation of GET/POST data in URL handlers

2008-11-07 Thread adrian
Every URL an app-engine app handles is public since it appears in the URL bar in the browser. So even if it begins with _ or is strangely spelled a user could use the back button or history and directly edit a URL, then submit it and likely cause an error unless everything is validated. Is it

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-07 Thread Ross Ridge
David Underhill wrote: What ideas do you have for demonstrating that GAE can scale better than PC, at least under certain conditions? The problem with your first two tests is that they scale easily in any environment. Just add more servers as necessary. The problem with the third test is

[google-appengine] Re: Need help displaying images

2008-11-07 Thread Sylvain
http://simpleviewer4gae.appspot.com/ Code source (manage part) Regards On 7 nov, 21:03, webappnoob [EMAIL PROTECTED] wrote: I need help displaying images upload from the web that is store in a db.model..does anyone have any example other then the one from google??? thank you!!

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-07 Thread David Underhill
On Nov 7, 1:21 pm, Ross Ridge [EMAIL PROTECTED] wrote: The problem with your first two tests is that they scale easily in any environment.  Just add more servers as necessary. True, but adding extra servers starts to get complicated -- something GAE gives you for free. The test seems

[google-appengine] Re: Permanent Unique User Identifier

2008-11-07 Thread Alexander Kojevnikov
Ryan, I see now. It looks like Google is going to fix this in the future, see the last paragraph on this page: http://code.google.com/appengine/docs/users/userobjects.html I couldn't find an issue for this, adding one would speed this up... Alex On Nov 8, 6:09 am, Ryan Lamansky [EMAIL

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-07 Thread Alexander Kojevnikov
Fair enough -- so would a better test mean a database with many fewer rows?   Then the reqs/sec would have to be pretty high to stress out the PC doing simple queries ... but still seems like it should be possible in principle. I would set up a Kind with a lot of entities (100K+) and ran a

[google-appengine] Re: Permanent Unique User Identifier

2008-11-07 Thread yejun
Google openid already supports persistent id independent of user name or email address. http://code.google.com/apis/accounts/docs/OpenID.html On Nov 7, 5:56 pm, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Ryan, I see now. It looks like Google is going to fix this in the future, see the

[google-appengine] Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread jago
I'd like to map my app to http://myurl.com (also known as a naked domain). I purchased a domain via Google Apps. As far as I can tell I only found the option to host my AppEngine app on a subdomain of the purchased domain! Please please please tell me I can also host it directly on the naked

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread Marzia Niccolai
Hi, This is currently not possible: http://code.google.com/appengine/kb/commontasks.html#naked_domain -Marzia On Fri, Nov 7, 2008 at 4:59 PM, jago [EMAIL PROTECTED] wrote: I'd like to map my app to http://myurl.com (also known as a naked domain). I purchased a domain via Google Apps. As

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread jago
Why did I register this domain if I then can't host my app there? Has Google gone insane? I was possible for a long time! I cannot believe they did this :((( Any idea if it will ever be possible to host the app directly on a naked domain? On Nov 8, 2:02 am, Marzia Niccolai [EMAIL PROTECTED]

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-07 Thread Ross Ridge
David Underhill wrote: Fair enough -- so would a better test mean a database with many fewer rows? No. Then the reqs/sec would have to be pretty high to stress out the PC doing simple queries ... but still seems like it should be possible in principle. I don't see why you think testing

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread yejun
I guess part of the reason is dns does not support domain name cname. Even google.com itself is just a redirect to www.google.com On Nov 7, 8:33 pm, jago [EMAIL PROTECTED] wrote: Why did I register this domain if I then can't host my app there? Has Google gone insane? I was possible for a

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread Roberto Saccon
just to help you a bit with the anger management: While it was possible, it was never recommended (by those I would consider experts), because only with subdomains you had geolocation distributed / optimized service (with naked domain it was statically wired to the servers) regards Roberto On

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread Rodrigo Moraes
On Sat, Nov 8, 2008 at 12:02 AM, jago wrote: At least from my tests so far Google Apps does not allow me to host the AppEngine app directly on www.example.com but enforces me to define a subdomain. Am I wrong? yes. there are many app engine apps out there using a www subdomain. this is

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread jago
okok...I know. Google calls them 'access URLs' but a common although wrong term is subdomain. let me rephrase my question: Is it possible if I purchased www.example.com from Google to directly make my AppEngine app accessible if people type in there URL field: www.example.com ? However they

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-07 Thread Peter Recore
Here's my take on what David is really asking: Is there any black box test we as users can design, right now, to prove app engine can handle higher loads than a commodity PC. While it may not be super useful, it is an interesting thought experiment. For all we know, each of our apps is running

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread Rodrigo Moraes
On Sat, Nov 8, 2008 at 12:20 AM, jago wrote: let me rephrase my question: Is it possible if I purchased www.example.com from Google to directly make my AppEngine app accessible if people type in there URL field: www.example.com ? However they should not be re-directed to www.myapp.example.com

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread yejun
Just set url to www in your app setting. On Nov 7, 9:20 pm, jago [EMAIL PROTECTED] wrote: okok...I know. Google calls them 'access URLs' but a common although wrong term is subdomain. let me rephrase my question: Is it possible if I purchasedwww.example.com from Google to directly make my

[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?

2008-11-07 Thread jago
On Nov 8, 3:29 am, Rodrigo Moraes [EMAIL PROTECTED] wrote: On Sat, Nov 8, 2008 at 12:20 AM, jago wrote: let me rephrase my question: Is it possible if I purchasedwww.example.com from Google to directly make my AppEngine app accessible if people type in there URL field:www.example.com?

[google-appengine] Re: Question about Shell (Featured App)

2008-11-07 Thread Alex Popescu
I'm really sorry if it sounded that way, so please do not take it this way. I have made some changes according to my above comments and it looks like it is working as expected. Now I am not really sure the changes are perfectly 'pythonic' (as I'm no expert), but here is what I've done:

[google-appengine] Re: Google App Engine bloggers?

2008-11-07 Thread Bill
Jens has a good blog: http://blog.appenginefan.com/ These blogs aren't really updated anymore: http://kupuguy.blogspot.com/ http://appengineguy.com/ The cookbook and articles at the main App Engine site, though, are the best resources IMHO. --~--~-~--~~~---~--~~

[google-appengine] Where should I report a persistent 500 Server error?

2008-11-07 Thread Alex Popescu
I am wondering where should I report a persisting 500 Server error: [quote] Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. [/quote] I have

[google-appengine] Re: Google App Engine bloggers?

2008-11-07 Thread Roberto Saccon
Just type appengine at blogsearch.google.com and subscribr with your feed reader at the resulting URL, you will get anything posted about appengine (it is not that much right now with that query) regards Roberto On Nov 8, 2:04 am, Bill [EMAIL PROTECTED] wrote: Jens has a good

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-07 Thread Ross Ridge
David Underhill wrote: Exactly. It is just a simple thought experiment. It seems utterly pointless to me. Google App Engine has the potential to scale, a single PC doesn't. There's your thought experiment. You haven't observed anything about GAE's scalability by testing the performance of a

[google-appengine] Re: entity number

2008-11-07 Thread David Symonds
On Fri, Nov 7, 2008 at 7:27 PM, lws68825 [EMAIL PROTECTED] wrote: Can anyone help me on getting the number of entity of a certain model? Please search this list for sharded counter. Dave. --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Where should I report a persistent 500 Server error?

2008-11-07 Thread Alexander Kojevnikov
Did you check the error log in your admin control panel? On Nov 8, 3:05 pm, Alex Popescu [EMAIL PROTECTED] wrote: I am wondering where should I report a persisting 500 Server error: [quote] Error: Server Error The server encountered an error and could not complete your request. If the

[google-appengine] Re: How to upload file from local directory?

2008-11-07 Thread Alexander Kojevnikov
It seems, this because the current appengine use older than Django 1.0? GAE has Django 0.96 built-in and it looks like newforms in 0.96 doesn't have the FileField. If you want it you should include Django 1.0 with your project. You can use app-engine-patch to ease the process.

[google-appengine] Re: validation of GET/POST data in URL handlers

2008-11-07 Thread adrian
I will learn about those, thanks. But there's still an AppEngine-specific version of the question: does Django as supported on AppEngine have any useful validation features, or are they in the part of Django that is not supported? Anyone got examples that prevent attacks? I validated most

[google-appengine] Re: validation of GET/POST data in URL handlers

2008-11-07 Thread David Symonds
On Fri, Nov 7, 2008 at 9:35 PM, adrian [EMAIL PROTECTED] wrote: I will learn about those, thanks. But there's still an AppEngine-specific version of the question: does Django as supported on AppEngine have any useful validation features, or are they in the part of Django that is not

[google-appengine] Re: Google App Engine bloggers?

2008-11-07 Thread Diego
Thanks for the responses. I will check them out. --~--~-~--~~~---~--~~ 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

[google-appengine] Re: indexes for and queries

2008-11-07 Thread yejun
In ext/search On Nov 8, 1:24 am, Andy Freeman [EMAIL PROTECTED] wrote: Where is Searchable defined?  (Windows explorer search won't look at contents of .py files) On Nov 6, 2:30 am, dobee [EMAIL PROTECTED] wrote: if i do this to find any entities that match house and dog i do