[google-appengine] Re: Datastore timeouts - anyone else?
On Mar 31, 1:13 pm, WallyDD shaneb...@gmail.com wrote: I seem to be getting a few datastore timeouts. If I look at percentages it isn't really that much but it does clog up the log. The timeouts tend to correspond with the spikes in latency.http://code.google.com/status/appengine/detail/datastore/2009/03/30#a... I've had these for several weeks - again an almost negligible percentage, and usually for a simple datastore access. I hadn't matched them to high latency. I'm considering putting a try-except around them all. It would be interesting to see if the second attempt worked since it would be pretty similar conditions. --~--~-~--~~~---~--~~ 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] Re: Debugging in Google App Engine
WingIDE debugs an active dev_appserver.py session just fine. The only thing i noticed is that if your on a breakpoint, during a page load, that your client (firefox for me) may simply giveup the request after a while. None the less the debugger works fine. On Tue, Mar 31, 2009 at 3:59 AM, arnie parvez...@rediffmail.com wrote: Using google app engine sdk 1.1.7 and active python win for windows, is it possible to have debugging while the code is running. How can we debug in a running code. like in Microsoft .Net or other debuggers that provides this functionality of stepping into code in debug code as well as using breakpoints Any idea?? Thanks Arnie -- Lee Olayvar --~--~-~--~~~---~--~~ 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] Re: Visibility Of Dynamic Pages On GAE
On 30/03/2009, JoeM joe.mansig...@gmail.com wrote: Hi Everyone, I am building a GAE application in which the content is stored in Google Big Table. You dont have access to Big Table. You have the Datastore. The two are not the same, its just that the Datastore is implemented using Big Table. (as I under stand it) I am using the webapp framework with Django templating ( no other Django use ). What I do is to read content from the datastore and compose a page on the fly rendering the data into a Django template. The Django template is completely agnostic to content. I have put all the intelligence in the datastore. My questions are: Can the Google Search indexing program look into my datastore and index on this data? No, nor should it. If this is possible what if anything do I need to do to make this happen. If the Google Search program could index my database this would be most helpful to me. Make web pages with your data and make sure it has links between content so the GoogleBot can find all your pages. Google indexes URLs (and the content on them) You should also make a xml sitemap, which could help it find all your pages. Maybe Google Base would also be useful. (but have to submit the data seperatly) Any ideas ? Thanks, Joe -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~-~--~~~---~--~~ 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] Re: How to associate another domain to my GAE application in China!
ghs.google.com (Google hosting services) has its IPs blocked by the firewall. If you want users in China to get to your app, you have to either use skrit.appspot.com or set up a reverse proxy: http://groups.google.com/group/google-appengine/msg/c99d04813f83558c That's what we've done, with an instance of nginx running on EC2 at skritter.com, proxying requests to and from skrit.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 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: Datastore timeouts - anyone else?
App Engine has always thrown timeouts, and they've always had occasional timeout clusters like you describe. As far as I know, you just have to handle them as best you can. Our app has a lot of logic for tracking and resending AJAX and AMF requests to deal with this, but because of the timeout clustering (which can last dozens of seconds), it doesn't always work gracefully. --~--~-~--~~~---~--~~ 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] Application Indexes Stuck
I think maybe my application is stuck. When uploading indexes definitions,I got the error message below: Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- I have vacuumed the indexes before,but now,I can't upload now definitions.How can I get out of this state? My appid:hht --~--~-~--~~~---~--~~ 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] Re: Created a new account and a new app, now app has vanished
Thanks Marzia, that worked. -Don On Mar 25, 3:15 pm, Marzia Niccolai ma...@google.com wrote: Hi, You need to access the dashboard athttp://appengine.google.com/a/ablepear.com. -Marzia On Fri, Mar 20, 2009 at 5:55 PM, Able Pear Software aps.chan...@ablepear.com wrote: I created a new account about a half hour ago and added a new app after confirming via SMS. After submitting all the Create an Application form, I was redirected right back to http://appengine.google.com/start, and even logging out and back in, there's no sign of the app or the App Engine Dashboard. However, I was able to upload my app code (a stub placeholder) using the App Engine Launcher and it's running just fine at http://ablepear.appspot.com/ Is something just running slow today and will my app eventually appear in the Dashboard, or have I hit a bug somewhere? -Don --~--~-~--~~~---~--~~ 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] Re: Application Indexes Stuck
Hi, I have fixed this, you should be able to upload new index definitions now. -Marzia On Tue, Mar 31, 2009 at 5:37 AM, HityHoo hity...@gmail.com wrote: I think maybe my application is stuck. When uploading indexes definitions,I got the error message below: Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- I have vacuumed the indexes before,but now,I can't upload now definitions.How can I get out of this state? My appid:hht --~--~-~--~~~---~--~~ 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] Re: Working with Blobs
Hi Wiiboy, I think I would need to see some of your code to determine the cause. How are you storing the data, and how are you retrieving it? http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#Blob It sounds like you may be passing a unicode string in to the bd.Blob (a_str) constructor. Thank you, Jeff On Mar 30, 2:48 pm, Wiiboy jordon...@gmail.com wrote: Hi, I've got a site where users upload files. I'm storing the files in a db.BlobProperty in my db. Whenever I go to retrieve the data I get the following error: BadValueError: Property file must beconvertibleto aBlobinstance (Blob() argument should be strinstance, not unicode) How do I retrieve the data without that error? --~--~-~--~~~---~--~~ 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] Re: File upload-Mail Attachment
Hi Raj, Could I see the HTML for your upload form? Usually when uploading a file, only the file contents are sent, not the file name. For an example of uploading a file, see: http://code.google.com/appengine/docs/python/images/usingimages.html#Uploading Happy coding, Jeff On Mar 28, 6:29 am, nrworld nrworld.a...@gmail.com wrote: Hi, I'm trying to build an app which will let user upload a file and send it to a mail id. Now, my form'd file input element's name is file. input name=file type=file/input So I am using the following line to attach the file in the message. message.attachments=[(self.request.body_file.vars['file'].filename, self.request.get('file'))] but it throws this error: message.attachments=[(self.request.body_file.vars['file'].filename, self.request.get('file'))] AttributeError: 'str' object has no attribute 'filename' Please suggest how could I get the filename. I want the uploaded file as filename. Thanks, Raj --~--~-~--~~~---~--~~ 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] Re: GFS API on GAE ?
Hi Alex, Interesting idea. Would you mind filing an issue here so that others can track this idea and vote for it by starring it: http://code.google.com/p/googleappengine/issues I find that coming back to feature requests is easier when they are organized in the issue tracker. Thanks for the suggestion! Happy coding, Jeff On Mar 30, 7:05 am, Sharp-Developer.Net alexander.trakhime...@gmail.com wrote: A question to GAE engineers: Is there plan/considerations to provide some API to Google FIle System (http://labs.google.com/papers/gfs.html ) so we could append to files quickcheap? At the moment I'm thinking about developing a some logging/monitoring app but can't figure out how I can do it with current BigTable limitations (even usign sharding). I believe many people/app could benefit if Google provide such an infrustructure as GFS. If this is not possible would be interesting to know - why not? Thanks in advance for any insight. P.S. Thoughts from developers are also very welcome. -- Alex --~--~-~--~~~---~--~~ 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] Re: Working with Blobs
Ya, I fixed it. The value in the DB was in there before I switched the property from db.Text to db.Blob. A unicode string was in the DB, so I just emptied it, and it works. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Importing simplejson from django.utils results in error with 1.1.9
Hi Alex, I replied on the issue that you filed, so we can continue working through this issue there. Thank you, Jeff On Mar 30, 1:13 pm, Alex Popescu the.mindstorm.mailingl...@gmail.com wrote: On Mar 30, 12:24 pm, Alex Popescu the.mindstorm.mailingl...@gmail.com wrote: The following code results in an ImportError with the SDK 1.1.9: from django.utils import simplejson while it is working as expected in SDK 1.1.8 and 1.1.7. Any ideas what have changed meanwhile? I've opened a new ticket:http://code.google.com/p/googleappengine/issues/detail?id=1194. ./alex --~--~-~--~~~---~--~~ 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] Re: Simultaneous Requests
From the quota details page, the current default limit for simultaneous active dynamic requests is around 30 per app. http://code.google.com/appengine/docs/quotas.html#Request_Limits (However, it may be possible to raise these limits on a case by case basis http://code.google.com/appengine/kb/billing.html#cpu ) Your approach sounds reasonable, but I was curious about your mention of threading. Would that be client side threading? Ajax triggers would be another good solution which I've seen apps use. Thank you, Jeff On Mar 30, 2:38 pm, MajorProgamming sefira...@gmail.com wrote: I am currently working on a way to mass email [in a short period of time] using Google App Engine. I figured that as of now the best way to do this would be to run many requests in parallel. I was wondering if my app would accept many requests at once, and if so what would the limit be [in the paid version]? Would this work? Is this the best way to do this? As for implementing the parallel requests I figured the simplest way would be to use the python threading. I was wondering if using AJAX would be any better, or if it would even work for parallel requests?? 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] HTTP/1.1 and HTTP/1.0 issue in dev_appserver.py
I am writing an opensocial application which communicate with my GAE application (not released yet). The social application use gadgets.io.makeRequest() to make three requests. Google OpenSocial agent (http://www.google.com/feedfetcher.html) makes 3 requests to my GAE application, however may application (dev_appserver.py) only receive two requests. I've captured the network traffic on my development server using wireshark. Google OpenSocial agent use HTTP/1.1, and dev_appserver.py use HTTP/1.0. It seems that Google OpenSocial agent does not understand HTTP/1.0. Is it possible to configure dev_appserver.py to use HTTP/1.1 appropriately? I tried to add Connection and Keep-Alive headers to the response but cause an error: AssertionError: Hop-by-hop headers not allowed. Here is my main() function: def main(): application = webapp.WSGIApplication( [('/.*',Page)], debug = True) run_wsgi_app(application) I am using SDK 1.1.7 with django 0.96 (included in the SDK by default) without any additional patches. Here is the output of the network traffic captured with wireshark: POST /ajax/getsetlist.json? nocache=1238520246162opensocial_owner_id=116513993882651142670opensocial_viewer_id=116513993882651142670opensocial_app_id=114419711845149229314opensocial_app_url=http %3A%2F%2Fkdoan.dyndns.org%2Fdynamic %2Fsocial.xmlxoauth_signature_publickey=pub. 1210278512.2713152949996518384.ceroauth_version=1.0oauth_timestamp=1238520338oauth_consumer_key=www.google.comoauth_signature_method=RSA- SHA1oauth_nonce=1238520338653675000oauth_signature=bOfwU8TelkUdyUC0FUkYbi9zk3Q67bXbKwGxiLxdCidnB2uSxumYL7mHb58aZr8wzPXyy490F2vmZ7HCDraiGyUzRs4Ld1%2Fx4g1EMtMD4ZwcS3RTqC65oq0H6%2B2RJ5vIWOCtdMWM3GWwsotJPkYwp8vl3q8Pm9iSrawGd %2BWij%2Fs%3D HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: Google OpenSocial agent (http://www.google.com/ feedfetcher.html) X-shindig-dos: on Cache-Control: private Host: kdoan.dyndns.org Content-Length: 0 X-Forwarded-For: 69.110.234.160 Accept-Encoding: gzip HTTP/1.0 200 OK Server: Development/1.0 Python/2.5.1 Date: Tue, 31 Mar 2009 17:25:40 GMT Cache-Control: no-cache Content-Type: application/json content-length: 74 {list: [[ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA, MySQL, 1]]} POST /ajax/taglist.json? nocache=1238520248597opensocial_owner_id=116513993882651142670opensocial_viewer_id=116513993882651142670opensocial_app_id=114419711845149229314opensocial_app_url=http %3A%2F%2Fkdoan.dyndns.org%2Fdynamic %2Fsocial.xmlxoauth_signature_publickey=pub. 1210278512.2713152949996518384.ceroauth_version=1.0oauth_timestamp=1238520341oauth_consumer_key=www.google.comoauth_signature_method=RSA- SHA1oauth_nonce=1238520341086639000oauth_signature=XvIXTX %2FCA5%2BCWYdAwNwPy97nRDQ848d9xlY5RJvPnYSxnmCvSUVOk7M433Cl4jMIbSb2xMEZv61W1RVKQup %2BqL18hGpIZ5Cpeo0BiXGxpCUeFcq1HnXbZeNogLiTT9ZSbfrglimyLddrz5lHbz8szZeMwkM4whnicUasNHKAun4%3D HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: Google OpenSocial agent (http://www.google.com/ feedfetcher.html) X-shindig-dos: on Cache-Control: private Host: kdoan.dyndns.org Content-Length: 53 X-Forwarded-For: 69.110.234.160 Accept-Encoding: gzip setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA POST /ajax/renderSet.html? nocache=1238520248601opensocial_owner_id=116513993882651142670opensocial_viewer_id=116513993882651142670opensocial_app_id=114419711845149229314opensocial_app_url=http %3A%2F%2Fkdoan.dyndns.org%2Fdynamic %2Fsocial.xmlxoauth_signature_publickey=pub. 1210278512.2713152949996518384.ceroauth_version=1.0oauth_timestamp=1238520341oauth_consumer_key=www.google.comoauth_signature_method=RSA- SHA1oauth_nonce=1238520341110455000oauth_signature=RTjw607flfdlF4llQEF69B2ctimDahKqJsB8a %2FuaLYZzYWVooaFf%2FJORv %2Fo1lFJ2rFqMzTRqmbCOkNr9LcyWlH12wm6kUkQHbrBPQkoQfQSTm54uohT056BXEXhIchRtSm3ddRXfq1f21ihh %2By%2BuG8XRDw7fc2mqPfbmSgaS%2FBA%3D HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: Google OpenSocial agent (http://www.google.com/ feedfetcher.html) X-shindig-dos: on Cache-Control: private Host: kdoan.dyndns.org Content-Length: 53 X-Forwarded-For: 69.110.234.160 Accept-Encoding: gzip setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDAHTTP/1.0 200 OK Server: Development/1.0 Python/2.5.1 Date: Tue, 31 Mar 2009 17:25:43 GMT Content-Type: text/html; charset=utf-8 Cache-Control: no-cache content-length: 1209 div id='settabs' ul class='tabs' lia id='list_view_link' href='http://kdoan.dyndns.org/ajax/ listentries.html? setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA'spanList View/span/a/li lia id='study_view_link' href='http://kdoan.dyndns.org/ajax/ study.html? setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA'spanStudy View/span/a/li lia id='unsubscribe_link' href='http://kdoan.dyndns.org/ajax/ setUnsubscribe.html? setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA'spanUnsubscribe/ span/a/li lia href='http://kdoan.dyndns.org/ajax/sharing.html?
[google-appengine] Re: HTTP/1.1 and HTTP/1.0 issue in dev_appserver.py
Shortly after I made this post, I was able to add Connection:close header to the response without getting AssertionError: Hop-by-hop headers not allowed. That is a difference between run_wsgi_app (application) and wsgiref.handlers.CGIHandler().run(application). With wsgiref.handlers.CGIHandler().run(application) I was not able to add Connection:close header to the response. On Mar 31, 1:09 pm, Khai khaitd...@gmail.com wrote: I am writing an opensocial application which communicate with my GAE application (not released yet). The social application use gadgets.io.makeRequest() to make three requests. Google OpenSocial agent (http://www.google.com/feedfetcher.html) makes 3 requests to my GAE application, however may application (dev_appserver.py) only receive two requests. I've captured the network traffic on my development server using wireshark. Google OpenSocial agent use HTTP/1.1, and dev_appserver.py use HTTP/1.0. It seems that Google OpenSocial agent does not understand HTTP/1.0. Is it possible to configure dev_appserver.py to use HTTP/1.1 appropriately? I tried to add Connection and Keep-Alive headers to the response but cause an error: AssertionError: Hop-by-hop headers not allowed. Here is my main() function: def main(): application = webapp.WSGIApplication( [('/.*',Page)], debug = True) run_wsgi_app(application) I am using SDK 1.1.7 with django 0.96 (included in the SDK by default) without any additional patches. Here is the output of the network traffic captured with wireshark: POST /ajax/getsetlist.json? nocache=1238520246162opensocial_owner_id=116513993882651142670opensocial_viewer_id=116513993882651142670opensocial_app_id=114419711845149229314opensocial_app_url=http %3A%2F%2Fkdoan.dyndns.org%2Fdynamic %2Fsocial.xmlxoauth_signature_publickey=pub. 1210278512.2713152949996518384.ceroauth_version=1.0oauth_timestamp=1238520338oauth_consumer_key=www.google.comoauth_signature_method=RSA- SHA1oauth_nonce=1238520338653675000oauth_signature=bOfwU8TelkUdyUC0FUkYbi9zk3Q67bXbKwGxiLxdCidnB2uSxumYL7mHb58aZr8wzPXyy490F2vmZ7HCDraiGyUzRs4Ld1%2Fx4g1EMtMD4ZwcS3RTqC65oq0H6%2B2RJ5vIWOCtdMWM3GWwsotJPkYwp8vl3q8Pm9iSrawGd %2BWij%2Fs%3D HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: Google OpenSocial agent (http://www.google.com/ feedfetcher.html) X-shindig-dos: on Cache-Control: private Host: kdoan.dyndns.org Content-Length: 0 X-Forwarded-For: 69.110.234.160 Accept-Encoding: gzip HTTP/1.0 200 OK Server: Development/1.0 Python/2.5.1 Date: Tue, 31 Mar 2009 17:25:40 GMT Cache-Control: no-cache Content-Type: application/json content-length: 74 {list: [[ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA, MySQL, 1]]} POST /ajax/taglist.json? nocache=1238520248597opensocial_owner_id=116513993882651142670opensocial_viewer_id=116513993882651142670opensocial_app_id=114419711845149229314opensocial_app_url=http %3A%2F%2Fkdoan.dyndns.org%2Fdynamic %2Fsocial.xmlxoauth_signature_publickey=pub. 1210278512.2713152949996518384.ceroauth_version=1.0oauth_timestamp=1238520341oauth_consumer_key=www.google.comoauth_signature_method=RSA- SHA1oauth_nonce=1238520341086639000oauth_signature=XvIXTX %2FCA5%2BCWYdAwNwPy97nRDQ848d9xlY5RJvPnYSxnmCvSUVOk7M433Cl4jMIbSb2xMEZv61W1RVKQup %2BqL18hGpIZ5Cpeo0BiXGxpCUeFcq1HnXbZeNogLiTT9ZSbfrglimyLddrz5lHbz8szZeMwkM4whnicUasNHKAun4%3D HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: Google OpenSocial agent (http://www.google.com/ feedfetcher.html) X-shindig-dos: on Cache-Control: private Host: kdoan.dyndns.org Content-Length: 53 X-Forwarded-For: 69.110.234.160 Accept-Encoding: gzip setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDA POST /ajax/renderSet.html? nocache=1238520248601opensocial_owner_id=116513993882651142670opensocial_viewer_id=116513993882651142670opensocial_app_id=114419711845149229314opensocial_app_url=http %3A%2F%2Fkdoan.dyndns.org%2Fdynamic %2Fsocial.xmlxoauth_signature_publickey=pub. 1210278512.2713152949996518384.ceroauth_version=1.0oauth_timestamp=1238520341oauth_consumer_key=www.google.comoauth_signature_method=RSA- SHA1oauth_nonce=1238520341110455000oauth_signature=RTjw607flfdlF4llQEF69B2ctimDahKqJsB8a %2FuaLYZzYWVooaFf%2FJORv %2Fo1lFJ2rFqMzTRqmbCOkNr9LcyWlH12wm6kUkQHbrBPQkoQfQSTm54uohT056BXEXhIchRtSm3ddRXfq1f21ihh %2By%2BuG8XRDw7fc2mqPfbmSgaS%2FBA%3D HTTP/1.1 Content-Type: application/x-www-form-urlencoded User-Agent: Google OpenSocial agent (http://www.google.com/ feedfetcher.html) X-shindig-dos: on Cache-Control: private Host: kdoan.dyndns.org Content-Length: 53 X-Forwarded-For: 69.110.234.160 Accept-Encoding: gzip setKey=ag9hc3RvdW5kbGVhcm5pbmdyDwsSCFN0dWR5U2V0GN4JDAHTTP/1.0 200 OK Server: Development/1.0 Python/2.5.1 Date: Tue, 31 Mar 2009 17:25:43 GMT Content-Type: text/html; charset=utf-8 Cache-Control: no-cache content-length: 1209 div id='settabs' ul class='tabs' lia id='list_view_link'
[google-appengine] New Blog About GAE
Hello, I have started a new Blog discussing a new Website that will be deployed in April. The site uses GXT for the user interface, Google's Application Engine for the server and Scheme running in the browser as it's scripting language. The blog will describe the development and deployment of the site. http://wisperweb.wordpress.com/ Cheers, -- Peter Fisk --~--~-~--~~~---~--~~ 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] Re: New Blog About GAE
Swet. A blog. Wow, that's unique and different. Sure glad we're all now aware of YOUR blog. On Tue, Mar 31, 2009 at 5:23 PM, pfisk peter.f...@gmail.com wrote: Hello, I have started a new Blog discussing a new Website that will be deployed in April. The site uses GXT for the user interface, Google's Application Engine for the server and Scheme running in the browser as it's scripting language. The blog will describe the development and deployment of the site. http://wisperweb.wordpress.com/ Cheers, -- Peter Fisk --~--~-~--~~~---~--~~ 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] Re: Simultaneous Requests
Well the only way I could think of would be client side threading (so that I could process multiple requests). Or simultaneous ajax (not so well supported). Either way it would be on the client side, because as far as I know it can't be done on GAE side... On Mar 31, 2:52 pm, Jeff S j...@google.com wrote: From the quota details page, the current default limit for simultaneous active dynamic requests is around 30 per app. http://code.google.com/appengine/docs/quotas.html#Request_Limits (However, it may be possible to raise these limits on a case by case basishttp://code.google.com/appengine/kb/billing.html#cpu) Your approach sounds reasonable, but I was curious about your mention of threading. Would that be client side threading? Ajax triggers would be another good solution which I've seen apps use. Thank you, Jeff On Mar 30, 2:38 pm, MajorProgamming sefira...@gmail.com wrote: I am currently working on a way to mass email [in a short period of time] using Google App Engine. I figured that as of now the best way to do this would be to run many requests in parallel. I was wondering if my app would accept many requests at once, and if so what would the limit be [in the paid version]? Would this work? Is this the best way to do this? As for implementing the parallel requests I figured the simplest way would be to use the python threading. I was wondering if using AJAX would be any better, or if it would even work for parallel requests?? 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] 2 appengine accounts under same email woes, including login: admin problems
Hi Im having some problems related to appengine admin access. This is complicated to explain, but here goes: (im using fake names here, the real domain is in my email address) I originally had a google appengine account under a google apps domain mydomain.com Where I would sign into appegnine like http://appengine.google.com/a/mydomain.com Using myn...@mydomain.com as the user name. I then didn’t use appengine for a long time, and in this time I created a google account under myn...@mydomain.com so I could use other services. I then came back to app engine and forgot that I needed to sign in using the way shown above, and signed in using my regular google account. This needed re-authenticating via sms (which I thought was odd, but figured it timed out due to lack of use). So now I seem to have 2 appengine accounts under the same email. But if I create a new application with the regular account, it dose not appear there, but in the apps account. BUT applications created in the apps account will not let me log using admin rights to any pages using login: admin Please help! David. --~--~-~--~~~---~--~~ 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] Re: 2 appengine accounts under same email woes, including login: admin problems
as a further note to this i have found that setting the application to use google apps authentication, lets me login to admin rights. using my email. On Mar 31, 7:16 pm, David Wilson david.wil...@entertainmentcloud.com wrote: Hi Im having some problems related to appengine admin access. This is complicated to explain, but here goes: (im using fake names here, the real domain is in my email address) I originally had a google appengine account under a google apps domain mydomain.com Where I would sign into appegnine likehttp://appengine.google.com/a/mydomain.com Using myn...@mydomain.com as the user name. I then didn’t use appengine for a long time, and in this time I created a google account under myn...@mydomain.com so I could use other services. I then came back to app engine and forgot that I needed to sign in using the way shown above, and signed in using my regular google account. This needed re-authenticating via sms (which I thought was odd, but figured it timed out due to lack of use). So now I seem to have 2 appengine accounts under the same email. But if I create a new application with the regular account, it dose not appear there, but in the apps account. BUT applications created in the apps account will not let me log using admin rights to any pages using login: admin Please help! David. --~--~-~--~~~---~--~~ 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] Re: Simultaneous Requests
Wow Doesn't seem like GAE is happy with this arrangement: I set up a simple system like so (in python) [code] import threading import urllib2 class MyThread ( threading.Thread ): def __init__ (self,j): threading.Thread.__init__(self) self.j=j self.html='' def run ( self ): for x in xrange(500): try: response = urllib2.urlopen('http://the test url') html = response.read() self.html=html except urllib2.HTTPError, e: print e.code except urllib2.URLError, e: print e.reason # at end of thread life print self.html #init threads (10) for x in xrange ( 10 ): z=MyThread(x) z.start() [/code] I ran this code on the client side. It ran fine but at approximately 100 requests it began to return Operation Timed Out Errors (code 10060). This is probably due to some Denial of Service protection by GAE firewalls (?) Is there any way for me to tell GAE that this is my app, and it's legit, or is there any way to work around it? [note: on the server side, nothing turned up on these errors which leads me to believe it was a very low level protection] On Mar 31, 2:52 pm, Jeff S j...@google.com wrote: From the quota details page, the current default limit for simultaneous active dynamic requests is around 30 per app. http://code.google.com/appengine/docs/quotas.html#Request_Limits (However, it may be possible to raise these limits on a case by case basishttp://code.google.com/appengine/kb/billing.html#cpu) Your approach sounds reasonable, but I was curious about your mention of threading. Would that be client side threading? Ajax triggers would be another good solution which I've seen apps use. Thank you, Jeff On Mar 30, 2:38 pm, MajorProgamming sefira...@gmail.com wrote: I am currently working on a way to mass email [in a short period of time] using Google App Engine. I figured that as of now the best way to do this would be to run many requests in parallel. I was wondering if my app would accept many requests at once, and if so what would the limit be [in the paid version]? Would this work? Is this the best way to do this? As for implementing the parallel requests I figured the simplest way would be to use the python threading. I was wondering if using AJAX would be any better, or if it would even work for parallel requests?? 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Role Based Access Control in GAE?
Hello pbr, I implemented a ACL system a couple of days ago, ported from a system I use in php. The idea is similar to what you described - access rules are defined for an user or can be grouped in roles. Users can have one or more roles, and individual access rules can override or extend these roles. Here's a quick paste: http://paste.pocoo.org/show/110555/ This is just a storage system and interface to check permissions. You need to tie it to the objects you want to restrict access (handlers and/or models) using decorators or other methods. Let me know if it helps or if you have ideas to improve it. -- rodrigo On Mar 29, 1:16 am, wrote: 1) I have a simple application that can be accessed by multiple users 2) The users are combined into groups (overlapping is possible) 3) Privileges (read/write/delete) are assigned to groups 4) Groups are then assigned to view/edit data I have started to build out this functionality by creating Users, Groups, Privileges models and then setting up pseudo-foreign key relationships to them. (As you can see, I can from the relational world). Before I continue down this implementation path, I thought I'd see if there was something already out there that did this or if there is a better way. Any advice or pointers to other resources would be greatly appreciated. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Values in db.DateTimeProperty field
I have to enter values like March 2009 in a datastore table column of type db.DateTimeProperty Though columns of DateTimeProperty() takes values like this =%Y-%m-%d %H:%M:%S Still then I want to know if this is possible to enter dates like March 2009 Thanks Arnie --~--~-~--~~~---~--~~ 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] ReferenceProperty troubles
Hi, i have a model with a referenceproperty that points to another instance of a model. i know the entity is stored because i can see the reference property and the referenced entity in the dataviewer. But, when i try to access the referenced instance or anything about the referenced instance (as i understand from the online docs), i just get the following error: AttributeError: 'ReferenceProperty' object has no attribute ... How can i instance a model entity with a ReferenceProperty object? This should be trivial i think but the docs say that just by accessing an attribute should trigger the fetch. i dont see that happening when i execute : modelAinstance.modelBref.myattribute where modelAinstance is an instance of ModelA which contains the attribute ModelBref which is a ReferenceProperty holding a reference to an instance of ModelB What am i missing? Thanks for the help... Rein --~--~-~--~~~---~--~~ 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] Re: New Blog About GAE
LOL @ Andrew On Wed, Apr 1, 2009 at 12:49 AM, Andrew Badera and...@badera.us wrote: Swet. A blog. Wow, that's unique and different. Sure glad we're all now aware of YOUR blog. On Tue, Mar 31, 2009 at 5:23 PM, pfisk peter.f...@gmail.com wrote: Hello, I have started a new Blog discussing a new Website that will be deployed in April. The site uses GXT for the user interface, Google's Application Engine for the server and Scheme running in the browser as it's scripting language. The blog will describe the development and deployment of the site. http://wisperweb.wordpress.com/ Cheers, -- Peter Fisk -- Quarix framework developer --- Ajax on Progress www.quarix.net http://blogspot.tudorconstantin.com http://www.linkedin.com/in/tudorconstantin Charles Kettering - My interest is in the future because I am going to spend the rest of my life there. --~--~-~--~~~---~--~~ 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] getting 403 error instead of 401
Hi, I uploaded my application and made my config file such that only admin can access application as of now. But when i use a account which is not admin for my application i am getting 403 :forbidden error ,but i think it should be 401. if i am trying the same in local dev server and login with login as administrator check box unchecked. i get 401-you are not authorized error. Can any one have any idea why this is happening. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---