Re: [google-appengine] 404 Not Found problem on my Java GAE app
Nope. There was no change to any files or configurations since several months ago. And I'm moving this question to stackoverflow.com. Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/yQfRxTWxNWYJ. 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.
Re: [google-appengine] 404 Not Found problem on my Java GAE app
I opened a question in stackoverflow.com, and here is the link. http://stackoverflow.com/questions/10732884/sudden-404-not-found-error-on-all-files-in-my-java-gae-app-without-any-changes-t On Thursday, May 24, 2012 12:09:07 AM UTC-7, Cheolgoo Kang wrote: Nope. There was no change to any files or configurations since several months ago. And I'm moving this question to stackoverflow.com. Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Zrvoqs0GUVoJ. 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] 404 Not Found problem on my Java GAE app
Hi there, I'm running a paid GAE app written in Java and it's id is clip-share, so the url is http://clip-share.appspot.com/. I've run it for more than 10 months, and since 2 days ago, it starts not working with 404 not found error. When I connect to http://clip-share.appspot.com/index.html, I fails with this message that there is no index.html file which really does exist. Error: Not FoundThe requested URL /index.html was not found on this server. I tried re-deploy this app for a few times, but it works with no problem just for a few minutes right after the deploy, but doesn't work after that. And also searched for the 404 not found problem, I found this thread but there is no specific information about the cause and some way to solve it. https://groups.google.com/d/topic/google-appengine/8liP4T-wbSo/discussion So, what's happening? and how can I handle it? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Fx2y_4VmlcoJ. 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] geographic expansion in plan or just price increase?
Have used gae for commercial purpose in South Korea. The latency is about 0.5 second or 500ms and couldn't make it usable with various image loading so that separate hosting for images was used. Though there is a feature request on this issue, it seems that no progress is being made at all. Today, I received an email regarding new pricing table and it is about 10x increase for my company web service and AWS is soon to be available in the region (hopefully this month). Now I need to decide whether to consider other options or not. Could someone in google help me with any tentative schedule of deploying GAE in South Korea or at least in the region? 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.
Re: [google-appengine] Dashboard charts only show data of last 20 hours
Same here. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/XiXiWWe-6yMJ. 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] Delete of empty result fails in 1.3.3
plz patch this bug :-0 http://code.google.com/p/googleappengine/issues/detail?id=3122q=list%20index%20out%20of%20rangecolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component#makechanges -- Stay hungry,Stay foolish. -- 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-appeng...@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] app engine is down?
Error: Server Error -- Stay hungry,Stay foolish. -- 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-appeng...@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: app engine is down?
Wish Google can tell us its maintain time:) On Wed, Feb 24, 2010 at 11:51 PM, kang areyouloo...@gmail.com wrote: Error: Server Error -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Re: logs are using Pacific time
sp On Thu, Feb 25, 2010 at 12:33 AM, Blake blakecaldw...@gmail.com wrote: I hate the mental conversion of PST to EST when viewing the logs - it'd be nice if they'd use our google profile to format the logs for us. On Feb 23, 5:28 pm, Locke locke2...@gmail.com wrote: Is there a reason for the logs to show up in Pacific time rather than UTC? It seems very strange that the datastore would use UTC but the logs would use Pacific. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Fwd: Unscheduled App Engine Outage - February 24th, 2010
how to subscribe? On Thu, Feb 25, 2010 at 12:51 AM, Eli Jones eli.jo...@gmail.com wrote: for people not subscribed to downtime-notify, this was sent out 14 minutes ago. -- Forwarded message -- From: App Engine Team appengine.nore...@gmail.com Date: Wed, Feb 24, 2010 at 11:36 AM Subject: Unscheduled App Engine Outage - February 24th, 2010 To: Google App Engine Downtime Notify google-appengine-downtime-not...@googlegroups.com Since 7:53am PST, App Engine has been experiencing an unexpected outage affecting the majority of App Engine applications. The team is working quickly to correct the cause and will have an ETA on the fix shortly. Please watch this thread for updates. We sincerely apologies for the inconvenience. -- You received this message because you are subscribed to the Google Groups Google App Engine Downtime Notify group. To post to this group, send email to google-appengine-downtime-not...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-downtime-notify+unsubscr...@googlegroups.comgoogle-appengine-downtime-notify%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-downtime-notify?hl=en. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Fwd: Unscheduled App Engine Outage - February 24th, 2010
thanks On Thu, Feb 25, 2010 at 1:20 AM, Prashant Gupta nextprash...@gmail.comwrote: http://groups.google.com/group/google-appengine-downtime-notify -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] back to life
right. but Datastore writes are temporarily unavailable On Thu, Feb 25, 2010 at 1:49 AM, bFlood bflood...@gmail.com wrote: GAE seems to be coming back to life -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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] what's the cost of clearing the datastore?
I'm going to clear the datastore. I use the following code: old_date = datetime.datetime(2009,10,1) old_updates = SomeUpdate.all().filter(updated ,old_date).fetch(20) db.delete(old_updates) it costs me nearly 1982cpu_ms 1945api_cpu_ms every time. Is it normal? -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] what's the cost of clearing the datastore?
Thanks, Andrew. But after the change, it still costs me 2130cpu_ms 2112api_cpu_ms :) On Sat, Feb 20, 2010 at 5:22 PM, Andrew Chilton andychil...@gmail.comwrote: On 20 February 2010 21:21, kang areyouloo...@gmail.com wrote: I'm going to clear the datastore. I use the following code: old_date = datetime.datetime(2009,10,1) old_updates = SomeUpdate.all().filter(updated ,old_date).fetch(20) db.delete(old_updates) it costs me nearly 1982cpu_ms 1945api_cpu_ms every time. Is it normal? You might be able to save some time by using a keys_only query. See this for details. http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_all Cheers, Andy -- contact: Andrew Chilton website: http://www.chilts.org/blog/ -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Re: what's the cost of clearing the datastore?
Hi peterk, maybe the delete() operation uses the most CPUs :) Anyway, I will have a test, thanks On Sat, Feb 20, 2010 at 8:16 PM, peterk peter.ke...@gmail.com wrote: I've never tested this, but is it possible you'd see better 'per- delete' cost with a larger batch? Maybe try the maximum number of entities in a batch (500, I think), calculate the average cost per entity, and see if that's any better? On Feb 20, 11:41 am, kang areyouloo...@gmail.com wrote: Thanks, Andrew. But after the change, it still costs me 2130cpu_ms 2112api_cpu_ms :) On Sat, Feb 20, 2010 at 5:22 PM, Andrew Chilton andychil...@gmail.com wrote: On 20 February 2010 21:21, kang areyouloo...@gmail.com wrote: I'm going to clear the datastore. I use the following code: old_date = datetime.datetime(2009,10,1) old_updates = SomeUpdate.all().filter(updated ,old_date).fetch(20) db.delete(old_updates) it costs me nearly 1982cpu_ms 1945api_cpu_ms every time. Is it normal? You might be able to save some time by using a keys_only query. See this for details. http://code.google.com/appengine/docs/python/datastore/modelclass.htm. .. Cheers, Andy -- contact: Andrew Chilton website:http://www.chilts.org/blog/ -- 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.comgoogle-appengine%2bunsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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] something strange happend to my app
my app is reader2twitter, it receive notification from hub and send it to twitter. However, recently, something strange happend. When the hub give me a notification, my app manipulate it twice and then send two updates to twitter. I see it in the log. Can you explain me how this happened? Here is some pseudocode: hub notify my app a update check the db to check whether my app receive the update before if it is new send it to twitter and save to db In the log, I see: 2010-02-18 22:10:19.069773 Found 1 entries New Sent done 2010-02-18 22:10:19.113806 Found 1 entries New Sent done But the update they find is just the same item... -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] about clearing the datastore
OK. Thanks again. On Wed, Feb 17, 2010 at 5:09 AM, Ikai L (Google) ika...@google.com wrote: No, there is no real concept of structure. The closest thing to structure would be the indexes on the values of the data stored. You can read more about this here: http://code.google.com/appengine/articles/storage_breakdown.html On Sat, Feb 13, 2010 at 11:16 PM, kang areyouloo...@gmail.com wrote: OK. Thanks for you reply. So it's hard to change the datastore structure in GAE? On Sat, Feb 13, 2010 at 1:50 AM, Ikai L (Google) ika...@google.comwrote: Unfortunately, we don't have mass deletion capability yet. The datastore isn't like a relational database where we can just drop a table. Entities are schemaless and are indexed, so a mass deletion would need to traverse the EntitiesByKind index: http://code.google.com/appengine/articles/storage_breakdown.html#anc-entitiestable http://code.google.com/appengine/articles/storage_breakdown.html#anc-entitiestableAt some point, we may offer a delete better tools for managing a mass delete, though it would likely be implemented on top of our Task Queue infrastructure since it wouldn't be a trivial operation. Can you add/find the issue in our issues tracker and star it? http://code.google.com/p/googleappengine/issues On Fri, Feb 12, 2010 at 6:49 AM, lookon areyouloo...@gmail.com wrote: My total datastore has been reached 77% and I'd like to clear some old data. How can I remove a whole Model in GAE? And how can I delete huge amount of data? I'm now using the task queue to delete. Wish someone can give me some better way. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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] Feature suggestion: Paying Ststem
I think Google App Engine need to give us a paying system like App Store and Android Market or give us some API about paying. We need a web app store :-) Thanks -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Downloading source code from Google App Engine
I use dropbox to back up my app engine source code. I put the app engine code in a dropbox folder. On Thu, Feb 18, 2010 at 2:02 AM, Renee Maier maier.re...@gmail.com wrote: I was wondering if there is a way to download the source code from my app engine project? My hard drive crashed on my Mac and I (stupidly) did not have the source backed up. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Please more easy to ManageFile!!!!!!!!!!!!!!!!!!!!!
Maybe it is because Google use different filesystem On Wed, Feb 17, 2010 at 10:15 PM, a...@hocvui.net a...@hocvui.net wrote: Google App Engine provide one off the best web hosting, but it's hard to upload and manage the file. Why not suppot and online File Manager tools like Cpanel , Plesk easy to upload, edit. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] about clearing the datastore
OK. Thanks for you reply. So it's hard to change the datastore structure in GAE? On Sat, Feb 13, 2010 at 1:50 AM, Ikai L (Google) ika...@google.com wrote: Unfortunately, we don't have mass deletion capability yet. The datastore isn't like a relational database where we can just drop a table. Entities are schemaless and are indexed, so a mass deletion would need to traverse the EntitiesByKind index: http://code.google.com/appengine/articles/storage_breakdown.html#anc-entitiestable http://code.google.com/appengine/articles/storage_breakdown.html#anc-entitiestableAt some point, we may offer a delete better tools for managing a mass delete, though it would likely be implemented on top of our Task Queue infrastructure since it wouldn't be a trivial operation. Can you add/find the issue in our issues tracker and star it? http://code.google.com/p/googleappengine/issues On Fri, Feb 12, 2010 at 6:49 AM, lookon areyouloo...@gmail.com wrote: My total datastore has been reached 77% and I'd like to clear some old data. How can I remove a whole Model in GAE? And how can I delete huge amount of data? I'm now using the task queue to delete. Wish someone can give me some better way. 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] need help on creating sub domain
just visit my.xyz.appspot.com...it is automatically equal to www.xyz.appspot.com On Wed, Feb 10, 2010 at 2:56 PM, technut worldh...@gmail.com wrote: Hi, How do i configure sub domain in apps engine. my existing domain is : www.xyz.appspot.com want to include subdomain : my.xyz.appspot.com Its appreciate if any one can look into it. Thanks Biswajit -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Can I use urlfetch to do a multipart post?
You just submit the encoded multipart form and it will be OK. you can see this code: http://code.google.com/p/python-twitpic/ On Sat, Feb 13, 2010 at 12:54 AM, Join findhe...@gmail.com wrote: Hi Team, I'm making an app to implement following design: binary+text - browser - app engine(my app) - 3rd party server My problem is in the last step,the 3rd party server requires binary +text being posted as multipart form data. How can I simulate this with app engine? Any information would be appreciated. Thanks. Join -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Upload and download files (Blob)
http://code.google.com/appengine/docs/python/blobstore/overview.html On Sat, Feb 13, 2010 at 12:58 AM, Ice13ill andrei.fifi...@gmail.com wrote: If I save a file as a Blob (let's say i have a class with a key,String filename and Blob data) how do i restore the file and send it to the client ? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] Re: Android app to monitor appengine quotas
thanks for sharing. will your app be opensourced? On Wed, Feb 10, 2010 at 5:05 AM, Hugo Visser botte...@gmail.com wrote: Hi, I've updated Engine Watch for Android. New: - Now uses the build-in system Google Accounts on Android 2.0 and up (no more entering passwords) - Add shortcuts to a specific app on the home screen - Display of billing stats Full details on my blog at http://code.neenbedankt.com Hugo On Feb 1, 5:05 pm, Hugo Visser botte...@gmail.com wrote: Hi, I've released a little android app to monitor your app engine quotas. It's called Engine Watch and is available from the android market. See my blog athttp://code.neenbedankt.comfor more details. I hope it's useful to some of you too :) Hugo -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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.
Re: [google-appengine] getting back images from data store
Have you seen the Dynamically serving images part on that page? http://code.google.com/intl/fr/appengine/docs/python/images/usingimages.html On Mon, Feb 8, 2010 at 1:56 AM, kais louetri yott...@gmail.com wrote: HI i am using the exemple of the guestbook (http://code.google.com/intl/ fr/appengine/docs/python/images/usingimages.html), and i would like to get back images that i stored in it to use them in other pages, can any one give me a help with that ? 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Stay hungry,Stay foolish. -- 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-appeng...@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] How do you deal with DownloadError?
Let's talk about how we deal with this exception. I think most people met the problem once. -- Stay hungry,Stay foolish. -- 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-appeng...@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 use remote_api?
Thank you very much On Sun, Feb 15, 2009 at 3:26 AM, Bill billk...@gmail.com wrote: I've written a blog entry describing how I've gotten the remote_api to work for me: http://billkatz.com/2009/2/Remote-API-Hello-World Hope it helps, Bill On Feb 13, 3:24 am, lookon areyouloo...@gmail.com wrote: I am under Windows. Anyone can tell me how to use remote_api? Thanks. p.s. I met the problem that the appengine module cannot be easily imported. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 use remote_api?
I still get the No module named yaml error On Sun, Feb 15, 2009 at 3:26 AM, Bill billk...@gmail.com wrote: I've written a blog entry describing how I've gotten the remote_api to work for me: http://billkatz.com/2009/2/Remote-API-Hello-World Hope it helps, Bill On Feb 13, 3:24 am, lookon areyouloo...@gmail.com wrote: I am under Windows. Anyone can tell me how to use remote_api? Thanks. p.s. I met the problem that the appengine module cannot be easily imported. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Clarification
The different versions of on application share one datastore On Mon, Feb 9, 2009 at 9:17 PM, arnie parvez...@rediffmail.com wrote: I would like to become clear about this: I have registered an app on appspot.com that is consuming a datastore table [created within the app]. The GAE allows for creating 10 applications, so i created another with version 2. Earlier app has version 1. Will the app with version 2 share the same data [as is created using version1] or does the version2 will have a copy of the datastore table as is available in version 1? Thanks Arnie -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: two paging problems
I still do not know how to do paging...I can only get the next link, but I can not get the page 2,3,4,5,6,7,8 more link. Wish you can give me more hint. Thanks On Mon, Jan 26, 2009 at 7:32 AM, Marzia Niccolai ma...@google.com wrote: Hi, This may not work for your particular use case, but you can use an equality filter in conjunction with the key filter, so instead of something like: suggestions = Suggestion.all().filter('__key__ =', bookmark).order(__key__).fetch(PAGESIZE+1) you could do: suggestions = Suggestion.all().filter('title =', VALUE).filter('__key__ =', bookmark).order(__key__).fetch(PAGESIZE+1) Which would at least allow users to query on a small subset of values (those that specifically equal a property) and still allow paging on the results. -Marzia On Mon, Jan 26, 2009 at 1:02 PM, kang areyouloo...@gmail.com wrote: Thanks for your reply. I've just read the article today and I will have a try. For search result, I do not know what query users give and how much result. So, I can not give a index for an instance. On Mon, Jan 26, 2009 at 6:54 AM, Marzia Niccolai ma...@google.com wrote: Hi, There are a couple of reliable ways to do paging with App Engine for arbitrarily sized data sets, both of which are discussed in this article: http://code.google.com/appengine/articles/paging.html And the corresponding sample code: http://code.google.com/p/google-app-engine-samples/source/browse/#svn/trunk/paging The easiest way is to just use key paging, if key ordering is sufficient for your paging needs. I'm not sure what you mean by not being able index a search result, but with the paging methods described in the article, deleting an entity should not affect the ability to page. -Marzia On Sat, Jan 24, 2009 at 1:02 PM, lookon areyouloo...@gmail.com wrote: I've read the discussion about paging and have post some problems. But I still have some problems. If I builds index by myself, I cannot index the search result. And if I have built index for an object and delete one instance of an object, the index will be broken. If I use the GAE Paginator class (http://appengine- cookbook.appspot.com/recipe/gae-paginator-class/? id=ahJhcHBlbmdpbmUtY29va2Jvb2tyjgELEgtSZWNpcGVJbmRleCI4YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZBc1NDRU5oZEdWbmIzSjVJZ1pFYW1GdVoyOE0MCxIGUmVjaXBlIjlhaEpoY0hCbGJtZHBibVV0WTI5dmEySnZiMnR5RkFzU0NFTmhkR1ZuYjNKNUlnWkVhbUZ1WjI4TTcM) Then how to deal with the 1000 result limit in GAE? I cannot page if I have more than 1000 result. I can write my new paging class, but wish you can give me some advice.Thanks. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Starting with App Engine
http://appengine.google.com/waitlist/sms_issues On Sat, Jan 24, 2009 at 4:54 PM, cjw cjwilliam...@gmail.com wrote: Is there a way of creating and application without a mobile phone? I seem to be stuck with Hello World at this point. Earlier, I had a before_path undefined message. Colin W. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: two paging problems
Thanks for your reply. I've just read the article today and I will have a try. For search result, I do not know what query users give and how much result. So, I can not give a index for an instance. On Mon, Jan 26, 2009 at 6:54 AM, Marzia Niccolai ma...@google.com wrote: Hi, There are a couple of reliable ways to do paging with App Engine for arbitrarily sized data sets, both of which are discussed in this article: http://code.google.com/appengine/articles/paging.html And the corresponding sample code: http://code.google.com/p/google-app-engine-samples/source/browse/#svn/trunk/paging The easiest way is to just use key paging, if key ordering is sufficient for your paging needs. I'm not sure what you mean by not being able index a search result, but with the paging methods described in the article, deleting an entity should not affect the ability to page. -Marzia On Sat, Jan 24, 2009 at 1:02 PM, lookon areyouloo...@gmail.com wrote: I've read the discussion about paging and have post some problems. But I still have some problems. If I builds index by myself, I cannot index the search result. And if I have built index for an object and delete one instance of an object, the index will be broken. If I use the GAE Paginator class (http://appengine- cookbook.appspot.com/recipe/gae-paginator-class/? id=ahJhcHBlbmdpbmUtY29va2Jvb2tyjgELEgtSZWNpcGVJbmRleCI4YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZBc1NDRU5oZEdWbmIzSjVJZ1pFYW1GdVoyOE0MCxIGUmVjaXBlIjlhaEpoY0hCbGJtZHBibVV0WTI5dmEySnZiMnR5RkFzU0NFTmhkR1ZuYjNKNUlnWkVhbUZ1WjI4TTcM) Then how to deal with the 1000 result limit in GAE? I cannot page if I have more than 1000 result. I can write my new paging class, but wish you can give me some advice.Thanks. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Dynamically Choosing Which Properties to Write to the Datastore
You can get the form data through self.request.get(name) and give the object proper property. for example, in the html form action=/submit method=post input name=a input name=b input type=submit value=Post /form in the server side, you write, class Submit(webapp.RequestHandler): def post(self): a = self.request.POST.get('a') b = self.request.POST.get('b') object = Object() object.a=a object.b=b object.put() On Fri, Jan 23, 2009 at 4:48 PM, David Kamenetz kamene...@yahoo.ca wrote: Has anyone tried to dynamically select which properties they want to write to an entity on appengine? For example: I have a web form with 5 fields, and any given user will fill out some subset of those fields. I POST only the fields with data to the server (e.g. Fields 1,2,4). On the server side, how do I elegantly write only properties 1,2, and 4? The Model class has a function that returns a dictionary of property names (Model.properties()), but how would I use it to select property names? In SQL, I would build an INSERT or UPDATE statement by matching the fields POSTed against the Model.properties() dictionary. I read trunk/ google/appengine/ext/db/init.py which seemed to confirm that there is no way to refer to the properties as a group. Am I approaching this the wrong way? Anyone know of a workaround? -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: 网页中有汉字 ,就会产生错误,不知是啥原因
在文件开始加上#coding=utf-8 2009/1/22 网页中有汉字,就会产生错误,不知是啥原因 hjma...@gmail.com this code right in local development environment, but error on update to server. import wsgiref.handlers from google.appengine.ext import webapp class MainPage(webapp.RequestHandler): def get(self): self.response.headers['Content-Type'] = 'text/html; charset=utf-8' self.response.out.write('htmlbodypHello, have no thing,有了汉字就不 灵了?/p/body/html') def main(): application = webapp.WSGIApplication( [('/', MainPage)], debug=True) wsgiref.handlers.CGIHandler().run(application) if __name__ == __main__: main() 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. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: remote api, when?
and thanks for your mention~ On Thu, Jan 22, 2009 at 11:20 PM, dobee berndd...@gmail.com wrote: wow, nice to hear ... this feature really rocks! -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Newbie question - How to start?
http://code.google.com/intl/en-US/appengine/docs/python/gettingstarted/ On Tue, Jan 20, 2009 at 7:38 PM, Mark wangzhuof...@gmail.com wrote: Hi, I'm newbie to web developement, with only some experience in software like dreamweaver and frontpage. Could anyone advise a learning syllbus for google app engine? I know that I should go through Python, but anything else? I have quite a few ideas for web applications but still lack of IT skills to realize them. I have engineering background (not computer science of course) and have some knowledge about C++. Thanks in advance! P.S: Maybe a introduction of learning could be add to the tutorial? I guess not all the people who have ideas know everything on IT side too. Mark -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 do both filter and order
date is an datetime property... I've read the article, does it mean that SELECT * FROM Image WHERE date :yesterday ORDER BY date, liked will be OK? On Tue, Jan 20, 2009 at 6:05 AM, Barry Hunter barrybhun...@googlemail.comwrote: Its not strictly a gql limitation, but rather a datastore limitation. http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Restrictions_on_Queries If your 'date' property really is a date, and not a date+time, you should be ok. 2009/1/20 lookon areyouloo...@gmail.com: I got this error: BadArgumentError: First ordering property must be the same as inequality filter property, if specified for this query; received liked, expected date The things I want to do is getting hot items. My query is q.filter('date ',yesterday).order(-liked) So, the error message told me that I cannot do this through gql. Wish anyone can tell me the proper way to do this. Thanks. -- Barry - www.nearby.org.uk - www.geograph.org.uk - -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 do both filter and order
I use q.filter('date ',yesterday) .order(date).order(-liked) it's ok..but the result confused me.. On Tue, Jan 20, 2009 at 6:15 AM, kang areyouloo...@gmail.com wrote: date is an datetime property... I've read the article, does it mean that SELECT * FROM Image WHERE date :yesterday ORDER BY date, liked will be OK? On Tue, Jan 20, 2009 at 6:05 AM, Barry Hunter barrybhun...@googlemail.com wrote: Its not strictly a gql limitation, but rather a datastore limitation. http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Restrictions_on_Queries If your 'date' property really is a date, and not a date+time, you should be ok. 2009/1/20 lookon areyouloo...@gmail.com: I got this error: BadArgumentError: First ordering property must be the same as inequality filter property, if specified for this query; received liked, expected date The things I want to do is getting hot items. My query is q.filter('date ',yesterday).order(-liked) So, the error message told me that I cannot do this through gql. Wish anyone can tell me the proper way to do this. Thanks. -- Barry - www.nearby.org.uk - www.geograph.org.uk - -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 do both filter and order
Then, how can I do the hot thing? The image class has a datetime property 'date' and a int property 'liked'. I need to get the images after yesterday and then order them by liked. Thanks. On Tue, Jan 20, 2009 at 1:58 PM, ryan ryanb+appeng...@google.comryanb%2bappeng...@google.com wrote: On Jan 20, 6:05 am, Barry Hunter barrybhun...@googlemail.com wrote: Its not strictly a gql limitation, but rather a datastore limitation. http://code.google.com/appengine/docs/python/datastore/queriesandinde... correct. if you have both inequality filter(s) and sort order(s), the first sort order must be on the same property as the inequality filter (s). this is a fundamental datastore limitation, unfortunately, and one that we have no plans to remove any time soon. If your 'date' property really is a date, and not a date+time, you should be ok. actually, this limitation is unrelated to property type. (hopefully i'm just misunderstanding your point here...) -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Hello,I´m new with App Engine
use appcfg.py update e:\gae\helloworld instead On Sat, Jan 17, 2009 at 11:17 AM, v.beh...@googlemail.com v.beh...@googlemail.com wrote: Hello,I´m new with App Engine and I can´t upload my developments. I always tap: appcfg.py update helloworld/ but there`s only an error massage:Usage: appcfg.py [options] update directory appcfg.py: error: Not a directory: helloworld/ Is anyone able to help me,please? Thank you in advance -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: App Engine Gurus
great On Sat, Jan 17, 2009 at 8:56 PM, Sharp-Developer.Net alexander.trakhime...@gmail.com wrote: Congrats to Alex Bill. This is well deserved recognition. -- Alex http://sharp-developer.net/ On Jan 15, 8:12 pm, Daniel O'Brien (Google) d...@google.com wrote: Hello everyone, Some of you may have noticed the recent addition of a guru listing at the top of our main groups page. We've selected a few top contributors to the App Engine community to act as App Engine Gurus. Gurus will continue to post normally in the group, but are now officially noted for their excellent contributions. The gurus were selected based on their eagerness to participate in the App Engine community as a whole and their advanced knowledge of the API. The newly appointed Gurus are: - Alexander Kojevnikov - Bill Katz Google will continue posting normally alongside the gurus. Our primary focus is to help developers using the API, and the gurus will help with that focus by continuing to help provide knowledge and answers to those who ask. Remember that this list isn't fixed. Gurus who stop participating may be removed, and others who demonstrate the level of expertise and willingness to participate may be added. If anyone has any questions, feel free to reply, contact me directly, or send a message to the group's owners list. Daniel O'Brien -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Add Domain (New Domain Depoloyment)
yep On Fri, Jan 9, 2009 at 12:46 AM, Marzia Niccolai ma...@google.com wrote: Hi, In order to serve an App Engine app off your domain it must be a Google Apps domain. (2) alone is not sufficient. -Marzia On Thu, Jan 8, 2009 at 7:59 AM, PatHaugen pathau...@gmail.com wrote: I searched groups and help, but still couldn't figure something out that may be misleading... http://appengine.google.com/deployment/newdomain?app_id=XXX So it informs me: Note: You must sign up for Google Apps to register this domain or prove that you already own it. 1. Sign up for Google Apps to register this domain 2. Prove that you already own it I would like to use option #2, to merely prove I own the domain. Not sure how or where you do this, but my domain is already setup. I'm sure many others as well, got your Windows PDC, logins, intranet, everything said and done, Exchange in place, everyone using the domain... but you got some worthless webhost in BFE displaying your little external webpage. Okay in other terms: No need at all for Google Apps, just want to have the public side of the domain for the website point to a shiny new Google App Engine application. How do you do this? I'd assume the 'proof' would be in pointing current domain registrar www to Google's server for your app or something like that? -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Submitting App to the Gallery
yep ... almost immediately On Wed, Jan 7, 2009 at 4:52 PM, tianxin...@gmail.com shangtian...@yahoo.com wrote: almost immediately, as far as I have experienced. You need to add your application to the gallery manually. On Jan 6, 5:49 pm, deji.omis...@gmail.com deji.omis...@gmail.com wrote: Anyone knows how long this takes to show up in the gallery? Thanks. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: GAE Datastore OpenSocial
I also have this problem, for opensocial is limited On Thu, Jan 15, 2009 at 6:06 AM, Chen Harel chook.ha...@gmail.com wrote: Hi, I am saving information regarding the users of my gadget. I have a procedure where I need to get information about the user friends who are also using my gadget. a. Is there a best practice for this issue? b. I want to aggregate the data, I've read about the counting methods in BigTable, but they seem to work for data that you know from the start.. In case of user friends, it can vary on a daily basis, as well as totally dynamic (I currently retrieve the friends list via the python-client project in Google code)... How can this be done, without iterating through the list and fetching the user entities from the datastore (and even if that's the only way, won't this fetching cause bad performance? c.How common is the use of ListRefrence in BigTable, and is it known to be good? I have a DB model who has only 20 entities... But I like the back reference it creates for me (Instead of implementing a counter for each entity) But after digging and reading about the uses of BigTables I think that the more references you have, less performance you get... Please help, Chen. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Announce - App Engine Web Services in Minutes
the website is banned in China On Thu, Jan 15, 2009 at 9:52 AM, edg edwardgsanc...@gmail.com wrote: This message is to notify GAE developers that Cumulo Software has released Cumulo SAASi. SAASi allows you to easily construct web services in any programming language. For GAE developers, this means it's very easy to define and invoke long running processes for GAE applications. Web service invocation is queued, so that you can invoke a web service with one call, and check for results with another call, so you are not limited by any GAE quotas. Check it out, it's a cool app - http://www.cumulosoftware.com -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: What is the fastest way to check if an item is in the datastore?
you get it On Tue, Jan 13, 2009 at 10:30 AM, SM sanja...@gmail.com wrote: Thank you to everyone for the responses. If I understand correctly, for my exampe I should use if MyModel.gql(WHERE prop = :1 AND active = True, s).count(1): print Found else: print Not found On Jan 12, 5:52 pm, ryan ryanb+appeng...@google.comryanb%2bappeng...@google.com wrote: +1 to the responses. just to clarify, for the purposes of the archives. in case there's confusion between the two get() methods: Model.get()/db.get() are generally the fastest, modulo the size of the entity. Query.count(1) will be in the same ballpark, usually a little slower, but faster if the entity is big. Query.get(), and Query.fetch(1) are slower still, and basically the same. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: 有谁知道怎样将域 名指向app engine的方法?
加我好友吧,告诉你 2009/1/4 zhuming liu szlzhmj...@gmail.com 有谁知道怎样将域名指向app engine的方法? -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Does SDK datastore data upload with appcfg.py?
no On Sat, Jan 3, 2009 at 2:48 AM, 84dory bill.ba...@i-maj-in-it.com wrote: Pardon what should be an obvious question, but I have been unable to find a simple declarative answer. Is the development data in the dev server datastore uploaded by appcfg.py? Thanks! -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: Tutorial: How to manage Tags and Tag clouds with AppEngine and Django
great On Mon, Dec 15, 2008 at 4:20 PM, xponrails stefac...@gmail.com wrote: Hi. I'm a J2EE, Python and Rails developer. I've just posted a tutorial (http://xponrails.net/wrblog/view_post/19) on how to model and manage Tags in an AppEngine-Django application. The code works well for me, but I would like to receive your feedback. Cheers, Stefano -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: URLlib?
use urlfetch instead... http://code.google.com/intl/en-US/appengine/docs/urlfetch/ On Sun, Dec 14, 2008 at 11:50 AM, moham...@ahft.org mohammad.typal...@gmail.com wrote: is it posable to use it(urllib)? It will not let the opener init. so how can I run this? vital to my app! ugh, looking for work arounds, but heading to bed now, so perhaps someone else knows something? Also Google App admins, shouldn't that just work? why is it not working? error 1 Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 501, in __call__ handler.post(*groups) File /base/data/home/apps/youtubedownpsp/1.329967885382643345/ main.py, line 22, in post f = urllib.urlopen(url) File /base/python_dist/lib/python2.5/urllib.py, line 77, in urlopen opener = FancyURLopener() File /base/python_dist/lib/python2.5/urllib.py, line 609, in __init__ URLopener.__init__(self, *args, **kwargs) File /base/python_dist/lib/python2.5/urllib.py, line 123, in __init__ self.__unlink = os.unlink # See cleanup() AttributeError: 'module' object has no attribute 'unlink' error 2 Exception exceptions.AttributeError: FancyURLopener instance has no attribute 'tempcache' in bound method FancyURLopener.__del__ of urllib.FancyURLopener instance at 0x4928e5f2961c9e48 ignored -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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: 3 questions (about paging again)
I've watched the video...my question is how to make paging index for tag and term for search? On Wed, Dec 10, 2008 at 1:25 AM, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi, By index I mean whatever index you are using for pagination, an integer property as described in the building scalable web applications talk: http://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine This should work to page searchable entities as well. Simply search for a specific term, and then filter on the paging index. -Marzia On Mon, Dec 8, 2008 at 5:01 PM, kang [EMAIL PROTECTED] wrote: I haven't got it...what is the 'index' for in your code? For different tags, they have different index for an object. 3rd question is about search the model. On Tue, Dec 9, 2008 at 4:03 AM, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi, If you store the tags in a list, you should be able filter on that list using a simple equals filter, something like: MyProperty.all().filter('my tags =', tag).filter('index =', starting_index).fetch(10) Assuming you don't have a large number of tags (a couple per entry), this shouldn't result in an exploding index. The third question, if I interpret it correctly, is about using the Google Search AJAX API? If you want to use the search API for your site, and page through the results on your site, it seems you can do pagination with their API, the docs are available here: http://code.google.com/apis/ajaxsearch/documentation/reference.html#_class_GSearch -Marzia On Sun, Dec 7, 2008 at 6:51 PM, lookon [EMAIL PROTECTED] wrote: I've got how to page to some extent..But I still have some problems 1.What's the best way to implement tag to a model 2.in this way, how to page the tag page? for example, http://a.appspot.com/tag/google, I need to show all model whose tag is google, and I need to page it... 3.How to page the search result? If I search Google, I will get all the result, and I don't know how to page them. Thanks. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Problem adding my own domain , without right to change Cname record
first you need to apply for google apps then, in the gae admin page, set your subdomain and domain then ,chname your sub domain to ghs.google.com wish this can help you : http://code.google.com/appengine/articles/domains.html On Mon, Dec 8, 2008 at 4:21 PM, Possum [EMAIL PROTECTED] wrote: Hi, guys, maybe it's not the right place to ask this, but I think there must be someone have the same problem with me : I register a domain name with an Australia company due to the cheap Au $, but late find that I can't change any DNS info like CNAME by myself . and it seems a must that if I want to map my app engine application to my domain name . now what can I do ? now the only thing I can change is that under a domain manager I can change the domain name server . it shows a Primary name server and a secondary name server 's name and it's IP address . this company does have a DNShosting serivce but compare to the price of domain name ,it's price is rediculous. I kind of think this is a con. for I know most domain register give us full access to manage the dns info of the name . I am new to domain name (this might be the second domain name for me). I just wondering ,is it possible that I use some free dns service that can ensure me to have full acess to all my dns info like cname? so that I can do the veryfication work for google app engine? and after I verified it , I change it back (if that free service is not reliable) to my name register. and everything will keep all right ? is there any service like this? and do you think there are problems to do this?or what do you guys suggest? -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: A newbie's site
I've noticed this problem...and will adjust it.. Do you think the FriendConnect should be placed in the right? On Mon, Dec 8, 2008 at 5:06 PM, Bill [EMAIL PROTECTED] wrote: Nice. I'd give more room to the Google Friend login area because most of it is cut off. Maybe use CSS and float it to right. On Dec 8, 12:04 am, lookon [EMAIL PROTECTED] wrote: I've built a google app engine site based on the simpleviewer example and FriendFeed Share Bookmarklet. The url ishttp://images.kangye.org/ It's a website to let people share images they saw on the Internet and wish people can give the image a suitable caption. It has a bookmarklet and in the detail page, people can click the caption to edit. I'm new to GAE and python, and the site need to be improved a lot...wish you can give me some suggeston~ -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: about DB.Query Question
error message? On Mon, Dec 8, 2008 at 11:28 AM, ivivian [EMAIL PROTECTED] wrote: If the following statement, the normal: users = db.Query(Users) users.filter('fpx ', getmin).filter('ffpx ', getmax).filter('fpy = ', '180').filter('fpy = ', '1') If the following statement, the error: users = db.Query(Users) users.filter('fpx ', getmin).filter('ffpx ', getmax).filter('fpy ', '180').filter('fpy ', '1') -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
I have not seen any api from google friend connect On Tue, Dec 9, 2008 at 5:06 AM, yejun [EMAIL PROTECTED] wrote: Is it possible to fetch user information after user login friend connect? On Dec 4, 7:57 am, Andi Albrecht [EMAIL PROTECTED] wrote: On Thu, Dec 4, 2008 at 1:24 PM, kang [EMAIL PROTECTED] wrote: GAE itself has google account model, and user can login.. but if they want to post through FriendConnect ,they need to login for the second time it's not a good user experience You're right, I think it's very confusing or maybe even annoying if a user has to login two times on two different Googlish-looking login pages... And from a developer's point of view it would be much easier to spice up an already existing appengine application with some social features if one could just use a Python API toFriendConnect with an user object already present within appengine. [just dreaming... ;-)] On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht [EMAIL PROTECTED] wrote: On Thu, Dec 4, 2008 at 10:50 AM, kang [EMAIL PROTECTED] wrote: right i've configured for my app but what do you think of theFriendConnect? I think an appengine website need not use it... Why not? Could be a nice extra for some applications... But it would be great to have an easy option to re-use an login on an appengine website forFriendConnect (any hints? maybe I've just missed something...) On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht [EMAIL PROTECTED] wrote: Hi Rajiv, here's how I did it... I copied the two files in a directory called static (where all my CSS and images live). Then I'd added the following lines to app.yaml: - url: /rpc_relay.html static_files: static/rpc_relay.html upload: static/rpc_relay.html - url: /canvas.html static_files: static/canvas.html upload: static/canvas.html I'm not sure if you can omit the upload directive. But the relevant part is to point the urls to the files you've downloaded from the friendconnect page. Hope that helps, Andi On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R [EMAIL PROTECTED] wrote: am trying to usefriendconnect for my app engine application. I am told to place 2 .html files in the app's home url i.e http://appname.appspot.com/filename.html. I tried a few options in app.yaml but they all result in 404-Not Found. any suggestions? Cheers! Rajiv -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: 3 questions (about paging again)
I haven't got it...what is the 'index' for in your code? For different tags, they have different index for an object. 3rd question is about search the model. On Tue, Dec 9, 2008 at 4:03 AM, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi, If you store the tags in a list, you should be able filter on that list using a simple equals filter, something like: MyProperty.all().filter('my tags =', tag).filter('index =', starting_index).fetch(10) Assuming you don't have a large number of tags (a couple per entry), this shouldn't result in an exploding index. The third question, if I interpret it correctly, is about using the Google Search AJAX API? If you want to use the search API for your site, and page through the results on your site, it seems you can do pagination with their API, the docs are available here: http://code.google.com/apis/ajaxsearch/documentation/reference.html#_class_GSearch -Marzia On Sun, Dec 7, 2008 at 6:51 PM, lookon [EMAIL PROTECTED] wrote: I've got how to page to some extent..But I still have some problems 1.What's the best way to implement tag to a model 2.in this way, how to page the tag page? for example, http://a.appspot.com/tag/google, I need to show all model whose tag is google, and I need to page it... 3.How to page the search result? If I search Google, I will get all the result, and I don't know how to page them. Thanks. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Extending the cloud to the client with Gears and App Engine
good job...it's cool On Tue, Dec 9, 2008 at 1:03 AM, Malte Ubl [EMAIL PROTECTED] wrote: Hey, Dion posted on Ajaxian about this today http://ajaxian.com/archives/massively-parallel-crowd-sourced-javascript-app-server-seti-for-js The App Engine service went down afterwards for most of day. I guess this cant really be fixed. The application is not really doing a lot of processing by itself, but it has to do some busy waiting for (using sleep) the JavaScript app servers to reply, so that some of the requests might take a while. It'd be nice if the quota could be increased, since, by design, the app isn't really supposed to ever actually use a lot of CPU (because processing is done on the app servers) Bye Malte On Sat, Dec 6, 2008 at 6:24 PM, Malte Ubl [EMAIL PROTECTED] wrote: Hey, just wanted to let you guys know about a small project/experiment of mine that you might find interesting. I created a sort of application server that runs within Google Gears workers which have a pseudo persistent connection to an App Engine application. Clients can send http requests to the App Engine app which are then delegated to the application servers on clients running the Gears application. In a (twisted) way this also enables writing parts of App Engine applications in JavaScript. More info is here: http://joose-js.blogspot.com/2008/12/massively-parallel-crowd-sourced.html Cheers, Malte -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: About the URL error
use urlfetch instead http://code.google.com/appengine/docs/urlfetch/ On Mon, Dec 8, 2008 at 8:05 PM, sirisha [EMAIL PROTECTED] wrote: Hi, I have developed the application in webapp framework,but while uploading the application ,I am getting an error like : urllib2.URLError:urlopen error 11001,'getaddrinfo failed' -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How far can Google take this thing?
a very good post On Sat, Dec 6, 2008 at 2:42 AM, rvjcallanan [EMAIL PROTECTED] wrote: I am about to take the GAE plunge (at least in the experimentation sense). I understand the current irritations and I am hopeful that these will be overcome in due course But I am very curious how far Google can take this thing... A key question on everyone's mind: Can we assume that GAE developers will eventually be able to produce GAE apps with similar complexity, reliability, scalability and performance ballparks as Gmail, subject of course to hosting fees? If the answer to that question is YES, then I am am convinced that GAE will eventually be able to host sophisticated financial applications that are not currently in the GAE sweetspot, e.g. accounts, payroll, etc Or would it be more realistic to assume that GAE developers will never really be able to leverage what Gmail's developers can leverage? Looking beyond the Gmail comparison, I see lots of problems with the GAE datastore for financial applications e.g. the absence of joins, aggregation, etc. I understand that these limitations are inherent to the BigTable paradigm, yet I already see posts by developers showing how these limitations can be overcome. Solutions tend to revolve around de-normalisation and other forms of data redundancy together with a sizable smattering of code trickery. All very, very botchy and alien to the GAE philosophy of removing much of the the tedium of web development. I am wondering if it will ever be possible to write an abstraction layer that will present the underlying GAE datastore as an SQL database albeit at a cost in terms of data efficiency, CPU cycles and bandwidth...or is this completely missing the point? Bear in mind that I am thinking a few years down the road. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore Class db.Model Relationships
maybe this helps: http://gaesql.appspot.com/ On Sat, Dec 6, 2008 at 9:54 PM, lawnman [EMAIL PROTECTED] wrote: Is it possible to have a class based on db.Model that contains a list of other classes also based on db.Model but where the second classes are not stored in the Datastore separately but rather are stored with the first class. In other words I want a one-to-many relationship but do not want to store the many's as separate transactions for performance reasons nor do I want use entity groups because I do not have a need to reference the many's outside of referencing the one. for example: class entity(db.Model): name = db.StringProperty() class one(db.Model): entitylist = db.??? where ??? defines a list of entity. Thanks, -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to do text search in GAE?
can you explain it? I'm not good at unicode...so I do not know how to deal with foreign language... On Fri, Dec 5, 2008 at 10:56 AM, @@ [EMAIL PROTECTED] wrote: Hi you can do the word segmentation yourself, and put these words in a StringListProperty. On Fri, Dec 5, 2008 at 10:08 AM, kang [EMAIL PROTECTED] wrote: Thanks...so there is no good solution for this problem now? I haven't seen it in the roadmap... -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Yammer+OAuth+GAE
I've read an article about AuthSub... http://code.google.com/appengine/articles/gdata.html On Sat, Dec 6, 2008 at 4:03 AM, neich [EMAIL PROTECTED] wrote: Hi, I'm trying to implement oAuth so my GAE app can access private resource of Yammer users. I've modified the python code from: http://code.google.com/p/oauth/ to user urlfetch, and I have succeeded except for the final step. I got the request token, I get the access token, but then, when I try to access the resource I got a Invalid oAuth signature. I guess that the problem is that with urlfetch you cannot control how the url is built (for a GET request). Any of you has got GAE+oAuth working ? Thanks in advance Nacho -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Error: Method Not Allowed
your code? On Sat, Dec 6, 2008 at 5:12 AM, SebastienDudek [EMAIL PROTECTED] wrote: Hi ! I started a new application inside Google Engine : http://fluxius.appspot.com/ This application is a part of guestbook in documentations. Problem is than I can submit by get methods but with post methods I have this error : Error: Method Not Allowed The request method GET is inappropriate for the URL /sign. To See whats the problem, I used get after the post method and I saw than on /sign url, get is only used. P.S : This project works on localhost ^^! -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
right i've configured for my app but what do you think of the Friend Connect? I think an appengine website need not use it... On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht [EMAIL PROTECTED]wrote: Hi Rajiv, here's how I did it... I copied the two files in a directory called static (where all my CSS and images live). Then I'd added the following lines to app.yaml: - url: /rpc_relay.html static_files: static/rpc_relay.html upload: static/rpc_relay.html - url: /canvas.html static_files: static/canvas.html upload: static/canvas.html I'm not sure if you can omit the upload directive. But the relevant part is to point the urls to the files you've downloaded from the friend connect page. Hope that helps, Andi On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R [EMAIL PROTECTED] wrote: am trying to use friend connect for my app engine application. I am told to place 2 .html files in the app's home url i.e http://appname.appspot.com/filename.html. I tried a few options in app.yaml but they all result in 404-Not Found. any suggestions? Cheers! Rajiv -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Is there any example code about paging?
I know both...But the example apps do not cover the paging problem.. and the big apps do not give source code On Thu, Dec 4, 2008 at 7:44 PM, A. TNG [EMAIL PROTECTED] wrote: On Thu, Dec 4, 2008 at 6:58 PM, lookon [EMAIL PROTECTED] wrote: I've watched Buildding Scalable Web Applications with Google App Engine on Youtube..But I wish there could be some example code about the topics. for example paging technique.. And I want to know where could see the code of some big apps using App Engine. I need to learn, thanks Some sample apps you could find here http://code.google.com/p/google-app-engine-samples/downloads/list. Some big apps you could find herehttp://appgallery.appspot.com/. But the big one may not open-source. -- Best Regards, TANG Jiyu (Blog: http://jiyu.wordpress.com.cn) -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Configuring Friend Connect
GAE itself has google account model, and user can login.. but if they want to post through FriendConnect ,they need to login for the second time it's not a good user experience On Thu, Dec 4, 2008 at 8:17 PM, Andi Albrecht [EMAIL PROTECTED]wrote: On Thu, Dec 4, 2008 at 10:50 AM, kang [EMAIL PROTECTED] wrote: right i've configured for my app but what do you think of the Friend Connect? I think an appengine website need not use it... Why not? Could be a nice extra for some applications... But it would be great to have an easy option to re-use an login on an appengine website for Friend Connect (any hints? maybe I've just missed something...) On Thu, Dec 4, 2008 at 6:28 AM, Andi Albrecht [EMAIL PROTECTED] wrote: Hi Rajiv, here's how I did it... I copied the two files in a directory called static (where all my CSS and images live). Then I'd added the following lines to app.yaml: - url: /rpc_relay.html static_files: static/rpc_relay.html upload: static/rpc_relay.html - url: /canvas.html static_files: static/canvas.html upload: static/canvas.html I'm not sure if you can omit the upload directive. But the relevant part is to point the urls to the files you've downloaded from the friend connect page. Hope that helps, Andi On Wed, Dec 3, 2008 at 8:37 PM, Rajiv R [EMAIL PROTECTED] wrote: am trying to use friend connect for my app engine application. I am told to place 2 .html files in the app's home url i.e http://appname.appspot.com/filename.html. I tried a few options in app.yaml but they all result in 404-Not Found. any suggestions? Cheers! Rajiv -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to do text search in GAE?
Thanks...so there is no good solution for this problem now? I haven't seen it in the roadmap... On Fri, Dec 5, 2008 at 1:27 AM, tigrillo [EMAIL PROTECTED] wrote: Hello: maybe it can help: http://code.google.com/p/googleappengine/issues/detail?id=217 I use this as a temporary option while Search become better On 1 dic, 21:18, kang [EMAIL PROTECTED] wrote: anyone have experience in SearchableModel? On Mon, Dec 1, 2008 at 3:10 PM, kang [EMAIL PROTECTED] wrote: anther question...I have some foreign language stored in the datastore...but i can not search them...what can I do ? On Mon, Dec 1, 2008 at 12:24 PM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Thank you for your reply is there any example code about full text search with gae? The source code of the SearchableModel is well documented and contains examples of how to use it: http://code.google.com/p/googleappengine/source/browse/trunk/google/a. .. Also, google for SearchableModel, there are quite a few blog posts on the topic. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to do text search in GAE?
it does not work for foreign language...only english and it's not very helpful On Fri, Dec 5, 2008 at 10:32 AM, yu ping322 [EMAIL PROTECTED] wrote: from google.appengine.ext import db from google.appengine.ext import search class Article(search.SearchableModel): title = db.TextProperty() publishDate = db.DateTimeProperty(auto_now_add=True) text = db.TextProperty() # should NOT be returned article = Article(text ='''This is the totally secret article text which talks about sausages and cheese in the middle of itself.''') article.title = Fine cuisine article.save() # should BE returned article = Article() article.title = What I feed my dogs article.text = '''This is the totally secret article text which talks about sausages and cheese in the middle of itself.''' article.save() print Results query = Article.all().search(sausages cheese dogs).order(-publishDate) for a in query: print %s | %s % (a.title, a.publishDate) print Done printing 2008/12/5, kang [EMAIL PROTECTED]: Thanks...so there is no good solution for this problem now? I haven't seen it in the roadmap... On Fri, Dec 5, 2008 at 1:27 AM, tigrillo [EMAIL PROTECTED] wrote: Hello: maybe it can help: http://code.google.com/p/googleappengine/issues/detail?id=217 I use this as a temporary option while Search become better On 1 dic, 21:18, kang [EMAIL PROTECTED] wrote: anyone have experience in SearchableModel? On Mon, Dec 1, 2008 at 3:10 PM, kang [EMAIL PROTECTED] wrote: anther question...I have some foreign language stored in the datastore...but i can not search them...what can I do ? On Mon, Dec 1, 2008 at 12:24 PM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Thank you for your reply is there any example code about full text search with gae? The source code of the SearchableModel is well documented and contains examples of how to use it: http://code.google.com/p/googleappengine/source/browse/trunk/google/a. .. Also, google for SearchableModel, there are quite a few blog posts on the topic. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NeedIndexError: no matching index found
it works..thank you On Wed, Dec 3, 2008 at 11:27 AM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: You need to add the index to your index.yaml file (if it's not already added by the dev_appserver.py), update the indices with appcfg.py and wait until the index is built. See this page for detailed instructions of the above: http://code.google.com/appengine/docs/datastore/queriesandindexes.html On Dec 3, 1:53 pm, lookon [EMAIL PROTECTED] wrote: my code is query = db.Query(Image) query = Image.all() query.filter(owner =,user) query.order('-date') images = query.fetch(limit=20) but the server tells me that: NeedIndexError: no matching index found. This query needs this index: - kind: Image properties: - name: owner - name: date direction: desc when I use query = db.Query(Image) query = Image.all() query.order('-date') images = query.fetch(limit=20) or query = db.Query(Image) query = Image.all() query.filter(owner =,user) images = query.fetch(limit=20) it's ok.. anyone can help me ? thanks -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: GAE will hurt Linux unless...
support google os On Thu, Dec 4, 2008 at 4:23 AM, Amir Michail [EMAIL PROTECTED] wrote: Hi, I suspect that the Google App Engine (and cloud computing more generally) will have the unintended effect of significantly reducing usage of Linux among web developers. The solution of course is for Google to release a user-friendly and slick Google OS built on top of Linux that makes the web the main source of apps. But even that's not enough since many people (even web devs) play games on Windows... and linux cannot compete at all in that regard. One could argue that the shift towards game consoles is making Windows less important for games, but that will take time... Amir -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to write code about table in template?
get it...the template language is not very smart... On Tue, Dec 2, 2008 at 4:52 PM, Matija [EMAIL PROTECTED] wrote: Solution for your problem is simple. First you need to know that template 'language' is not so powerfull that you expect and from my point it should not be. You need to organize data in your class handler in python code before you render it with template. In python you can do it on many ways so that instead you have one image collection you could have collection of collection (max five images for you problem). In template file than you can have nested for loop. table tbody {% for obj in objects %} tr {% for image in obj.images %} td{{ image }}/td {% endfor %} /tr {% endfor %} /tbody /table On Dec 2, 2:56 am, kang [EMAIL PROTECTED] wrote: it does not work.. for example I have 100 image objects, and I want to render 5 in each row...how to write the code? table tbody tr td1st img/tdtd2nd img /tdtd 3rd img/tdtd4th img/tdtd5th img/td /tr trtd6th img/td./tr /tbody /table On Mon, Dec 1, 2008 at 6:30 PM, Matija [EMAIL PROTECTED] wrote: table tbody {% for obj in objects %} tr td{{ obj.col1 }}/tdtd{{ obj.col2 }}/td... /tr {% endfor %} /tbody /table On Dec 1, 10:04 am, kang [EMAIL PROTECTED] wrote: what? I want to show 5 objs in each row, how to write the code? On Mon, Dec 1, 2008 at 5:01 PM, A. TNG [EMAIL PROTECTED] wrote: On Mon, Dec 1, 2008 at 2:27 PM, lookon [EMAIL PROTECTED] wrote: I want to render table in the response. and the template_value is objects. Then my question is how to write the template file. for example, {% for obj in objects %} table tbody code here {{ obj }} dosen't work? /tbody /table {% endfor %} -- Best Regards, TANG Jiyu (Blog:http://jiyu.wordpress.com.cn) -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to write code about table in template?
what? I want to show 5 objs in each row, how to write the code? On Mon, Dec 1, 2008 at 5:01 PM, A. TNG [EMAIL PROTECTED] wrote: On Mon, Dec 1, 2008 at 2:27 PM, lookon [EMAIL PROTECTED] wrote: I want to render table in the response. and the template_value is objects. Then my question is how to write the template file. for example, {% for obj in objects %} table tbody code here {{ obj }} dosen't work? /tbody /table {% endfor %} -- Best Regards, TANG Jiyu (Blog: http://jiyu.wordpress.com.cn) -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to do text search in GAE?
Thank you. I've got it... and this post help: http://www.johnborwick.com/blog/2008/10/27/appengine_django-basemodel-and-searchablemodel/ On Mon, Dec 1, 2008 at 12:24 PM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Thank you for your reply is there any example code about full text search with gae? The source code of the SearchableModel is well documented and contains examples of how to use it: http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/ext/search/__init__.py Also, google for SearchableModel, there are quite a few blog posts on the topic. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: url's in application configuration
handlers: - url: /gae script: main.py On Sun, Nov 30, 2008 at 9:55 AM, ten_foot_ninja [EMAIL PROTECTED] wrote: Hello, I get the following error: Not found error: /gae did not match any patterns in application configuration. output to my browser when I am enter http://localhost:8080/gae; My app.yaml is as follows: application: foo version: 1 runtime: python api_version: 1 handlers: - url: /gae/ script: main.py my folder structure is as follows: + app root - app.yaml - main.py + pyamf If I change the url in the yaml to just /.* it works, but when I add the path, it does not. If anyone can show me the light, I'd be grateful Thanks in advance -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to do text search in GAE?
anther question...I have some foreign language stored in the datastore...but i can not search them...what can I do ? On Mon, Dec 1, 2008 at 12:24 PM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Thank you for your reply is there any example code about full text search with gae? The source code of the SearchableModel is well documented and contains examples of how to use it: http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/ext/search/__init__.py Also, google for SearchableModel, there are quite a few blog posts on the topic. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Converting .wav to .mp3
how to store these wav file? On Sat, Nov 29, 2008 at 1:18 AM, egilchri [EMAIL PROTECTED] wrote: I have an App Engine app (http://vnoted.com), that's creates voice notes, from the phone, that are .wav files. I'd like to have the ability to convert the .wav files to .mp3, Is there a way I can do this, from within the App Engine environment? Thanks. Ted Gilchrist -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New app for finding wallpaper images - feedback welcome :)
it alerts an error download error...for gae has limitation on timeout of urlfetch On Fri, Nov 28, 2008 at 10:40 PM, Bonstio [EMAIL PROTECTED] wrote: I've deployed a new version which I think is much improved. No real no functionality but a better layout accompanied by AJAX loads instead of reloading the whole page. Thanks for your comments so far. On Nov 28, 12:59 am, Bonstio [EMAIL PROTECTED] wrote: Agreed :-) This was made in a hackathon, a kind of proof of concept. The JS and CSS are haphazard to say the least. The rework is underway. I'll post back when it's done - which will be soon! On Nov 28, 12:24 am, kang [EMAIL PROTECTED] wrote: support...and this site's css design need to be better On Fri, Nov 28, 2008 at 12:18 AM, Ben Nevile [EMAIL PROTECTED] wrote: Cool app Bonstio - my quick suggestion would be to re-organize the page so that the image is at the top rather than below your explanatory paragraph. I have to scroll down to see it on my small laptop screen (1280x800). Ben On Nov 27, 2:07 am, Bonstio [EMAIL PROTECTED] wrote: Oh dear - how very embarrassing! My apologies!!! That would be a copy/ paste error http://feeling-lucky.appspot.com/ On Nov 26, 5:36 pm, Stephen Judd [EMAIL PROTECTED] wrote: It's impossible for anyone to browse your localhost url. On Wed, Nov 26, 2008 at 8:25 AM, Bonstio [EMAIL PROTECTED] wrote: Hi all, My first post here.. I'd be grateful if you could offer any feedback you might have on my first App Engine app. I've never written Python before so it's been interesting learning it. http://localhost:8080/?size=o Thanks! -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New app for finding wallpaper images - feedback welcome :)
anyway, it's better than the early version On Fri, Nov 28, 2008 at 10:40 PM, Bonstio [EMAIL PROTECTED] wrote: I've deployed a new version which I think is much improved. No real no functionality but a better layout accompanied by AJAX loads instead of reloading the whole page. Thanks for your comments so far. On Nov 28, 12:59 am, Bonstio [EMAIL PROTECTED] wrote: Agreed :-) This was made in a hackathon, a kind of proof of concept. The JS and CSS are haphazard to say the least. The rework is underway. I'll post back when it's done - which will be soon! On Nov 28, 12:24 am, kang [EMAIL PROTECTED] wrote: support...and this site's css design need to be better On Fri, Nov 28, 2008 at 12:18 AM, Ben Nevile [EMAIL PROTECTED] wrote: Cool app Bonstio - my quick suggestion would be to re-organize the page so that the image is at the top rather than below your explanatory paragraph. I have to scroll down to see it on my small laptop screen (1280x800). Ben On Nov 27, 2:07 am, Bonstio [EMAIL PROTECTED] wrote: Oh dear - how very embarrassing! My apologies!!! That would be a copy/ paste error http://feeling-lucky.appspot.com/ On Nov 26, 5:36 pm, Stephen Judd [EMAIL PROTECTED] wrote: It's impossible for anyone to browse your localhost url. On Wed, Nov 26, 2008 at 8:25 AM, Bonstio [EMAIL PROTECTED] wrote: Hi all, My first post here.. I'd be grateful if you could offer any feedback you might have on my first App Engine app. I've never written Python before so it's been interesting learning it. http://localhost:8080/?size=o Thanks! -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New Article on How Index Building Works
re On Thu, Nov 27, 2008 at 1:18 AM, Ben Nevile [EMAIL PROTECTED] wrote: Great article, thanks GAE team! On Nov 25, 1:30 pm, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi, There have been a lot of questions on this group about index building and Ryan Barrett, the tech lead for the datastore, took some time to write an article on how index building works: http://code.google.com/appengine/articles/index_building.html The article describes what happens when you upload new index definitions for your application. It's definitely a worthwhile read if you would like more information on how indexes are built to serve queries with App Engine. -Marzia -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New app for finding wallpaper images - feedback welcome :)
support...and this site's css design need to be better On Fri, Nov 28, 2008 at 12:18 AM, Ben Nevile [EMAIL PROTECTED] wrote: Cool app Bonstio - my quick suggestion would be to re-organize the page so that the image is at the top rather than below your explanatory paragraph. I have to scroll down to see it on my small laptop screen (1280x800). Ben On Nov 27, 2:07 am, Bonstio [EMAIL PROTECTED] wrote: Oh dear - how very embarrassing! My apologies!!! That would be a copy/ paste error http://feeling-lucky.appspot.com/ On Nov 26, 5:36 pm, Stephen Judd [EMAIL PROTECTED] wrote: It's impossible for anyone to browse your localhost url. On Wed, Nov 26, 2008 at 8:25 AM, Bonstio [EMAIL PROTECTED] wrote: Hi all, My first post here.. I'd be grateful if you could offer any feedback you might have on my first App Engine app. I've never written Python before so it's been interesting learning it. http://localhost:8080/?size=o Thanks! -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: No module name pwd?
http://code.google.com/appengine/articles/index_building.html On Tue, Nov 25, 2008 at 3:29 PM, Devel63 [EMAIL PROTECTED] wrote: I just uploaded a slightly revised version of my app engine app, and nothing works anymore. Well, almost nothing. Most pages give me this 500 error 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. The detailed log from the Admin Panel is type 'exceptions.ImportError': No module named pwd Traceback (most recent call last): File /base/data/home/apps/judysapps/1.329530743804323309/ helloworld.py, line 13, in module import shuffle_lh File /base/data/home/apps/judysapps/1.329530743804323309/ shuffle_lh.py, line 2, in module import user File /base/python_dist/lib/python2.5/user.py, line 30, in module home = os.path.expanduser(~/) File /base/python_dist/lib/python2.5/posixpath.py, line 320, in expanduser import pwd Note that this all works fine on my local sandbox. Any ideas?? -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: DownloadError: ApplicationError: 2 ?
the remote server has blocked GAE On Wed, Oct 29, 2008 at 11:33 AM, Noah [EMAIL PROTECTED] wrote: no idea, unfortunately. and now i have the same problem. if anyone has any help, i'm all ears!! On Oct 9, 3:45 pm, Jean-Lou Dupont [EMAIL PROTECTED] wrote: What is the significance of DownloadError: ApplicationError: 2 errors? I got to user_service_pb.py but couldn't find any meaningful explanation. I get this error whilst accessing Freebase through their API e.g. http://www.freebase.com/api/service/mqlread?queries= jld. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Newbie question - Request params available to def post(self)
I mean Get method... I have not seen any Get/parameter method in the page.. def post(self): greeting = Greeting() if users.get_current_user(): greeting.author = users.get_current_user() greeting.content = self.request.get('content') it's in the post function... On Thu, Oct 16, 2008 at 2:48 PM, djidjadji [EMAIL PROTECTED] wrote: You can not get any parameter by using request.get(id). This is not true. Have a look at http://code.google.com/appengine/docs/gettingstarted/usingdatastore.html If you want to use part of the URL path as arguments to the handler you use groups in the webapp.WSGIApplication argument. If the URL has parameters (there is a '?' after the URL path) like www.a.com/?a=1b=2 You use self.request.get('a') in the handler to get the value of parameter 'a' 2008/10/16 kang [EMAIL PROTECTED]: I am new to Python and GAE. I just give you the way I solved the GET/parameters problems:-)I think I need to read some example codes~ But I don't think your interpretation is correct. It's not a Request/parameters problem. It's a Get/parameter problem. Usually we can see url like /book?id=11. We use get method to visit that page to watch a book whose id is 11. You can not get any parameter by using request.get(id). So I use /book/11 and application = webapp.WSGIApplication( [(r'^/book/(?P( bookid)$d+)$', Book)], debug=True) to get the bookid, and give it to Book.Get(self, bookid) function. On Wed, Oct 15, 2008 at 10:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Ok, that makes sense. I guess that must be the reason why some of the example apps (written by bret taylor) use REquestHandler classes that subclass a BaseRequestHandler class that includes the original request object: def generate(self, template_name, template_values={}): values = { 'request': self.request, 'user': users.GetCurrentUser(), 'login_url': users.CreateLoginURL(self.request.uri), 'logout_url': users.CreateLogoutUrl('http://' + self.request.host + '/logout'), 'application_name': 'Questioneer' } values.update(template_values) directory = os.path.dirname(__file__) path = os.path.join(directory, os.path.join('templates,', template_name)) self.response.out.write(template.render(path, values, debug=_DEBUG)) This seems like a helpful idiom so that all of the original request variables for a get are available to the django template code for use in POST hidden fields. Correct interpretation? On Oct 14, 5:37 pm, kang [EMAIL PROTECTED] wrote: or you can write code like: class Stuff: get(self,favorites): do something here. application = webapp.WSGIApplication( [(r'^/stuff/favorites/(?P(favorites).*)$', Stuff)], debug=True) the url is like : /stuff/favorites/oatmealraisinbran http://myapp.com/stuff?favorites=oatmealraisinbran On Tue, Oct 14, 2008 at 11:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmealraisinbran I generate the page with a def get(self) method in the Stuff RequestHandler class and use self.request.get('favorites'). Then there is a form on the same page (/stuff) which processes some additional input ('morestuff') and supplies me with a few other pieces of data via post. When I process this using a def post(self) in Stuff, I use self.request.get('morestuff'). But can I also access the original 'favorites' in the post method? I can't find any documentation about this but perhaps it's because it's just obvious. I guess the question is does the self.request object get cleared after get(self) finishes generating the page, or are the original query params still available to me when I call self.request.get in the subsequent post method (is the dictionary of key value pairs in the request object replaced, or augmented by post data?) Thanks much, Alex -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: HTTPS Support for appspot.com
well done On Fri, Oct 17, 2008 at 6:03 AM, Marzia Niccolai [EMAIL PROTECTED] wrote: One of the most frequently requested features for App Engine has been HTTPS serving capabilities. Today we're excited to announce that App Engine now supports incoming HTTPS connections using a certificate valid for all appspot.com URLs. Here's how it works: * app.yaml files now support a new handler attribute, called secure: - url: /accounts/.* script: admin.py login: admin *secure: always* *This attribute can be either always, optional, or never (default), and determines the behavior of the handler for HTTP and HTTPS requests. See our documentation for more details: http://code.google.com/appengine/docs/configuringanapp.html#Secure_URLs * HTTPS requests have their own bandwidth quotas, but also count toward your total bandwidth quotas. You can monitor these quotas on your dashboard. You may be wondering why we're only supporting appspot.com right now, and not arbitrary Google Apps domains. This has to do with fundamental limitations in the SSL protocol (see: http://en.wikipedia.org/wiki/Https#Limitations). We're currently investigating workarounds for this using e.g. http://en.wikipedia.org/wiki/Server_Name_IndicationSNI ( http://en.wikipedia.org/wiki/Server_Name_Indication), which provides a viable solution for newer browsers--we'll keep you posted! This functionality is already available starting with the 1.1.5 SDK. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Ggl where clause issue
So there is no default way to order by 'ID? On Fri, Oct 17, 2008 at 7:53 AM, djidjadji [EMAIL PROTECTED] wrote: but in the data base how can i store unique number which should incremented. In the datastore create an object with only an IntegerProperty (counter). It has a method that increments the value of the counter with an transaction and returns the previous value. Parameters for the transaction is the Key of the count object, do not pass the object, You can give the object a key_name and use counter = CountClass.get_by_key_name(keyname) inside the transaction Please help me i am not able to Fetch data using where clause. Always use parameters in the WHERE clause. MyModel.gql(WHERE prop = :1, propval).fetch(100) 2008/10/16 Gampesh [EMAIL PROTECTED]: Hi, I am new in google app engine and Gql as well. i have made class as follows: class MyBooks(db.Model): book_id=db.IntegerProperty(name='key') author = db.StringProperty(multiline=True) book_name = db.StringProperty(multiline=True) price = db.IntegerProperty() date = db.DateTimeProperty(auto_now_add=True) but in the data base how can i store unique number which should incremented. table structure in Gql after run the app is ID/Nameauthor book_id book_name datekey price and we have made only author book_id book_name dateprice only. Then why ID/Name and key field are made automatically. Also i am not able to use ID/Name in Gql query's where class like WHERE ID/Name = '1' Please help me i am not able to Fetch data using where clause. Thanks, Gampesh -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help
It is because there are some illegal string in the string you want to process. So with decode(UTF-8,ignore), you can decode it without errors. I think Dive into Python is a good choice. p.s.I am new to Python, too. And I am a Chinese, so I need to always deal with decode error problems. Because GAE dose not support Chinese well. Nishu ??: Thanks, it worked. At least the application is not raising such errors any more. I am novice as far as Python is concerned so can you please give a short explanation for the solution you provided. With this code what I noticed is that the character which was creating problem was not included in the final result string. So I tried with the following a.decode('utf8','replace') This statement instead of removing the character replaced it with some other character. So please suggest which one should I use, the one with 'ignore' or the one with 'replace' and WHY? Can you also suggest me some good book for learning PYTHON? Thanks once again. Nishant On Oct 14, 4:27 pm, kang [EMAIL PROTECTED] wrote: a.decode('utf8','ignore') On Tue, Oct 14, 2008 at 12:44 PM, Nishu [EMAIL PROTECTED] wrote: Hello, I am trying to develop a screen scraping application using the google Webapp framework. The application parses the html output of some other page to extract the required data and then forms a string out of these data. Sometimes the application works well but at times the application raises the following error: UnicodeDecodeError: 'ascii' codec can't decode byte 0x95 in position 100: ordinal not in range(128) After googling around for some time I tried the following: sys.setdefaultencoding(UTF-8) As a result the default encoding was set to 'UTF-8' but even this did not solve the problem and now the application raised the following error: UnicodeDecodeError: 'utf8' codec can't decode byte.. So please help me solve this problem. Thanking you in advance. Nishant -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How can I get a GAE Account?
我邀请你了。 [EMAIL PROTECTED] 写道: 哎,我最近才学的Python,看了GAE的一些视频之后,对GAE很感兴趣,就是申请不到账号,这棵咋搞哦~~,应该是可以邀请别人的吧? On 10月15日, 下午4时00分, Kang [EMAIL PROTECTED] wrote: 我也不知道怎么给你。。因为我也在中国。。[EMAIL PROTECTED]写道:Why nobody pay attention to me? Is there anyone could send a invitation to me? thanks! On 10月14日, 下午11时22分,"[EMAIL PROTECTED]"[EMAIL PROTECTED]wrote:My country is not in the Supported mobile providers list, but how can I get the Google App Engine Account? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Modeling mutual references
Maybe: class Book(db.Model): title = db.StringProperty() first = db.ReferenceProperty(Page) class Page(db.Model): text = db.TextProperty() next = db.SelfReferenceProperty() book = db.IntegerPropertyhttp://code.google.com/appengine/docs/datastore/typesandpropertyclasses.html#IntegerProperty (BookID) On Fri, Oct 10, 2008 at 6:53 AM, acuth [EMAIL PROTECTED] wrote: Is it possible to have two models reference each other? I can't get this to work and haven't been able to find this limitation in the documentation. As a simple example, consider: class Book(db.Model): title = db.StringProperty() first = db.ReferenceProperty(Page) class Page(db.Model): text = db.TextProperty() next = db.SelfReferenceProperty() book = db.ReferenceProperty(Book) which generates NameError: name 'Page' is not defined when processing the Book class definition. Is this really a limitation of the underlying data store or is it more related to how models are defined in Python? I'm guessing the solution is to record the 'first page in book' information as a separate class, for example: class FirstPage(db.Model): book = db.ReferenceProperty(Book) first = db.ReferenceProperty(Page) any pointers would be gratefully received, Adrian -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How can I get a GAE Account?
我也不知道怎么给你。。因为我也在中国。。 [EMAIL PROTECTED] 写道: Why nobody pay attention to me? Is there anyone could send a invitation to me? thanks! On 10月14日, 下午11时22分, "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: My country is not in the Supported mobile providers list, but how can I get the Google App Engine Account? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Newbie question - Request params available to def post(self)
I am new to Python and GAE. I just give you the way I solved the GET/parameters problems:-)I think I need to read some example codes~ But I don't think your interpretation is correct. It's not a Request/parameters problem. It's a Get/parameter problem. Usually we can see url like /book?id=11. We use get method to visit that page to watch a book whose id is 11. You can not get any parameter by using request.get(id). So I use /book/11 and application = webapp.WSGIApplication( [(r'^/book/(?P(bookid)$d+)$', Book)], debug=True) to get the bookid, and give it to Book.Get(self, bookid) function. On Wed, Oct 15, 2008 at 10:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Ok, that makes sense. I guess that must be the reason why some of the example apps (written by bret taylor) use REquestHandler classes that subclass a BaseRequestHandler class that includes the original request object: def generate(self, template_name, template_values={}): values = { 'request': self.request, 'user': users.GetCurrentUser(), 'login_url': users.CreateLoginURL(self.request.uri), 'logout_url': users.CreateLogoutUrl('http://' + self.request.host + '/logout'), 'application_name': 'Questioneer' } values.update(template_values) directory = os.path.dirname(__file__) path = os.path.join(directory, os.path.join('templates,', template_name)) self.response.out.write(template.render(path, values, debug=_DEBUG)) This seems like a helpful idiom so that all of the original request variables for a get are available to the django template code for use in POST hidden fields. Correct interpretation? On Oct 14, 5:37 pm, kang [EMAIL PROTECTED] wrote: or you can write code like: class Stuff: get(self,favorites): do something here. application = webapp.WSGIApplication( [(r'^/stuff/favorites/(?P(favorites).*)$', Stuff)], debug=True) the url is like : /stuff/favorites/oatmealraisinbran http://myapp.com/stuff?favorites=oatmealraisinbran On Tue, Oct 14, 2008 at 11:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmealraisinbran I generate the page with a def get(self) method in the Stuff RequestHandler class and use self.request.get('favorites'). Then there is a form on the same page (/stuff) which processes some additional input ('morestuff') and supplies me with a few other pieces of data via post. When I process this using a def post(self) in Stuff, I use self.request.get('morestuff'). But can I also access the original 'favorites' in the post method? I can't find any documentation about this but perhaps it's because it's just obvious. I guess the question is does the self.request object get cleared after get(self) finishes generating the page, or are the original query params still available to me when I call self.request.get in the subsequent post method (is the dictionary of key value pairs in the request object replaced, or augmented by post data?) Thanks much, Alex -- Stay hungry,Stay foolish. -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Upload demo to GAE Error, caused by _GetAuthCookie, timed out
you can ping appspot.com and give us the result. On Wed, Oct 15, 2008 at 9:15 PM, Chao Loo [EMAIL PROTECTED] wrote: Hi, I keep getting the following error while trying to upload GAE demo (guestbook). Here is the stack trace: - C:\Program Files\Google\google_appengineappcfg.py update demos\guestbook\ Email: [EMAIL PROTECTED] Password for [EMAIL PROTECTED]: Scanning files on local disk. Initiating update. Email: [EMAIL PROTECTED] Password for [EMAIL PROTECTED]: 2008-10-15 21:01:09,086 ERROR appcfg.py:1334 An unexpected error occurred. Aborting. Traceback (most recent call last): File C:\Program Files\Google\google_appengine\appcfg.py, line 55, in module execfile(script_path, globals()) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 1943, in module main(sys.argv) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 1936, in main AppCfgApp(argv).Run() File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 1521, in Run self.action.function(self) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 1733, in Update lambda path: open(os.path.join(basepath, path), rb)) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 1313, in DoUpload missing_files = self.Begin() File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 1174, in Begin version=self.version, payload=self.config.ToYAML()) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 281, in Send self._Authenticate() File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 320, in _Authenticate super(HttpRpcServer, self)._Authenticate() File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 260, in _Authenticate self._GetAuthCookie(auth_token) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 202, in _GetAuthCookie response = self.opener.open(req) File C:\Python25\lib\urllib2.py, line 381, in open response = self._open(req, data) File C:\Python25\lib\urllib2.py, line 399, in _open '_open', req) File C:\Python25\lib\urllib2.py, line 360, in _call_chain result = func(*args) File C:\Python25\lib\urllib2.py, line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File C:\Python25\lib\urllib2.py, line 1082, in do_open raise URLError(err) urllib2.URLError: urlopen error (10060, 'Operation timed out') - Any idea is highly appreciated! Thanks! -- Best Regards, Jason Lu -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help
a.decode('utf8','ignore') On Tue, Oct 14, 2008 at 12:44 PM, Nishu [EMAIL PROTECTED] wrote: Hello, I am trying to develop a screen scraping application using the google Webapp framework. The application parses the html output of some other page to extract the required data and then forms a string out of these data. Sometimes the application works well but at times the application raises the following error: UnicodeDecodeError: 'ascii' codec can't decode byte 0x95 in position 100: ordinal not in range(128) After googling around for some time I tried the following: sys.setdefaultencoding(UTF-8) As a result the default encoding was set to 'UTF-8' but even this did not solve the problem and now the application raised the following error: UnicodeDecodeError: 'utf8' codec can't decode byte.. So please help me solve this problem. Thanking you in advance. Nishant -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Ordering with an inequality filter
maybe you can write GQL like: SELECT * FROM kind [WHERE condition [AND condition ...]] [ORDER BY property [ASC | DESC] [, property [ASC | DESC] ...]] [LIMIT [offset,]count] [OFFSET offset] On Wed, Oct 15, 2008 at 6:38 AM, mrchucho [EMAIL PROTECTED] wrote: Let's say I have blog and I want to fetch the top 10 posts created in the last 48 hours with the most comments and display them in order of comment count. I would expect to be able to do something like: Post.all().filter(created =, datetime.today() - timedelta(hours=48)) \ .order(-comment_count) \ .fetch(10) But this won't work because First ordering property must be the same as inequality filter property. Any idea how to implement something like this? The only thought I had was to remove the order clause, fetch EVERYTHING, then sort them in-memory and return a 10 item slice... -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Newbie question - Request params available to def post(self)
or you can write code like: class Stuff: get(self,favorites): do something here. application = webapp.WSGIApplication( [(r'^/stuff/favorites/(?P(favorites).*)$', Stuff)], debug=True) the url is like : /stuff/favorites/oatmealraisinbranhttp://myapp.com/stuff?favorites=oatmealraisinbran On Tue, Oct 14, 2008 at 11:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmealraisinbran I generate the page with a def get(self) method in the Stuff RequestHandler class and use self.request.get('favorites'). Then there is a form on the same page (/stuff) which processes some additional input ('morestuff') and supplies me with a few other pieces of data via post. When I process this using a def post(self) in Stuff, I use self.request.get('morestuff'). But can I also access the original 'favorites' in the post method? I can't find any documentation about this but perhaps it's because it's just obvious. I guess the question is does the self.request object get cleared after get(self) finishes generating the page, or are the original query params still available to me when I call self.request.get in the subsequent post method (is the dictionary of key value pairs in the request object replaced, or augmented by post data?) Thanks much, Alex -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to use timeutil module in GAE?
OK..Thanks On Fri, Oct 10, 2008 at 1:26 AM, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi, Please read the following FAQ on what python libraries are available with Google App Engine: http://code.google.com/appengine/kb/general.html#libraries -Marzia On Wed, Oct 8, 2008 at 8:28 PM, Kang [EMAIL PROTECTED] wrote: I cannot import that module in GAE. Wish your help. p.s. I cannot import epsilon module either... -- Stay hungry,Stay foolish. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Help: I want to have an app engine space!!
不可以用么?GAE要手机验证? 我是测试时就可以用了的,也在中国 wenxin ren 写道: thanks a lot. for my poor english, would you please make me clear about the carrier name? what does this mean? does carrier means the companies like AT T? which operating on the wireless network for the mobile phone? 2008/10/9 fedekun [EMAIL PROTECTED] Im from argentina i had the same problem, just fill this form http://appengine.google.com/waitlist/sms_issues 2008/10/8 ajaxer [EMAIL PROTECTED] I am from china, but the mobile number I entered didn't work for me can google manually handler this problem for me? chinese developers are eagerly for tasting google app engine. but we still have difficulties in using it. hope you can help us!! thanks. -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Help: I want to have an app engine space!!
具体怎么说? wenxin ren 写道: 是啊。现在注册不了了。 2008/10/9 Kang [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 不可以用么?GAE要手机验证? 我是测试时就可以用了的,也在中国 wenxin ren 写道: thanks a lot. for my poor english, would you please make me clear about the carrier name? what does this mean? does carrier means the companies like AT T? which operating on the wireless network for the mobile phone? 2008/10/9 fedekun [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Im from argentina i had the same problem, just fill this form http://appengine.google.com/waitlist/sms_issues 2008/10/8 ajaxer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I am from china, but the mobile number I entered didn't work for me can google manually handler this problem for me? chinese developers are eagerly for tasting google app engine. but we still have difficulties in using it. hope you can help us!! thanks. -- Best Regards. fedekun --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] How to use timeutil module in GAE?
I cannot import that module in GAE. Wish your help. p.s. I cannot import epsilon module either... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---