[google-appengine] The documentation about accessing gdata in GAE (python)

2011-02-07 Thread Iap
be appreciated if anybody kindly provides a document with more complete example to follow. (I have searched Nick's blog , nothing found) Thanks in advance. Iap -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email

Re: [google-appengine] Re: The documentation about accessing gdata in GAE (python)

2011-02-07 Thread Iap
=1R_RXT4CgumAGAFOXB6iNUAUBm3Wxq5ebk72RyELE56spli=1 Hope that benefits others for saving several days ! Iap -- 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

Re: [google-appengine] How to create blobstore entity without create_upload_url?

2011-01-16 Thread Iap
email = self.request.args.get('email') user_entity = retrive_the_user_entity_from_email(email) for blobinfo in blobinfos: whatever_you_like_to_do_with(blobinfo) iap 2011/1/12 Nick Johnson (Google) nick.john...@google.com Hi Iap, Unfortunately, the blobstore doesn't

Re: [google-appengine] Re: Deal Breaker: App not visible in China

2011-01-16 Thread Iap
It would never be fixed. Don't worry, you can expect for alternative copies, like Soogle,Doogle,Fartoogle,... And those will be 100 times better than the Google (in China). 2011/1/17 Jeff Schwartz jefftschwa...@gmail.com + 1 On Jan 16, 2011 1:04 PM, Darien Caldwell darien.caldw...@gmail.com

[google-appengine] How to create blobstore entity without create_upload_url?

2011-01-11 Thread Iap
are appreciated. Thanks in advance. iap -- 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

[google-appengine] Multitenancy and users.is_current_user_admin()

2011-01-03 Thread Iap
the administrator of all the deployments. That is not good. How can I know whether the user is the administrator of their google app domain? Thanks in advance. Iap -- 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

Re: [google-appengine] Re: Channel API: a suggestion

2010-12-20 Thread Iap
I am second to Will. The queued feature is good for a busy sever which may have to send several messages to the newly-connected client during the download-and-initialization interval. My suggestion is to allow flush the queue when calls create_channel, say, .create_channel(token, flush=True) if

Re: [google-appengine] Let's defend GAE!

2010-11-22 Thread Iap
http://www.carlosble.com/?p=719 Some of the points in the above link are true , also some of them are out of date. Thought, I am not totally agree with the list, even that list is not the complete list. Even with those problems, GAE is still excellent in many ways. People do have right to

Re: [google-appengine] locking in google app engine?

2010-04-23 Thread Iap
i'm googling for about a week about a possibility of 'locking' in google app engine. Since the instances are spread over different servers, how to 'synchronise' them? There is no intrinsic lock mechanism for doing the IPC for requests. I have asking for this feature for several times.

Re: [google-appengine] DOS Attacks from Amazon E2 services

2010-04-23 Thread Iap
2010/4/24 Ikai L (Google) ika...@google.com It looks like a relatively small amount of requests coming from these IPs. How many requests are you seeing them generate? We just did a quick check of our logs, and more likely than not, someone is using EC2 as a proxy and not to try to take down

Re: [google-appengine] Project name availability

2010-04-20 Thread Iap
I tried to create a new project on Google App Engine, but the name I chose was not available anymore. I have the same question. It seems that some wordings are reserved and the forbidden table seems to be a big table. It is quite easy to get an unavailable name. -- You received this

[google-appengine] Re: How to visit GAE apps in China, now it denied completely!

2010-03-29 Thread Singuan, Iap
We love Google, but why google abandon their costomers without considering our feelings. Our bussiness totally dependent the stable access to our web site on GEA from China. It's unfair by saying that the Google abandon customers. It is not the Google's fault. I would like to say that the

Re: [google-appengine] Re: How to visit GAE apps in China, now it denied completely!

2010-03-29 Thread Iap
Hi, Dark-horse The Iceland Govt. in bankruptcy state does not has GFW. It surprise me that the severe economical situation of China in your description. Well, I don't think that here is the right place to make political or military arguments. Let's focus on the problem specific to your country.

Re: [google-appengine] Will GAE ever be open source?

2010-03-21 Thread Iap
attacking. Iap -- 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

[google-appengine] Lock the instance

2010-03-15 Thread Iap
the entry (object) is simpler and more concise. It would be nice if the item is lock-able, or the queue is lock-able. Iap -- 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

Re: [google-appengine] Re: Lock the instance

2010-03-15 Thread Iap
I wonder why there is no need to complete in sequence? FIFO = First in first out. If the resource is limited, people who makes the request first should be serviced first. Just like people go restaurant, buying ticket,...etc. By the way, the sorting is not the point, even randomly consume an item

Re: [google-appengine] Lock the instance

2010-03-15 Thread Iap
2010/3/15 Eli Jones eli.jo...@gmail.com You might be better off figuring out if you can design your code so that it does not need locking. If I can, I would. But isn't the locking intrinsic in the multiple processing environment to solve the race-condition problem? I do not insist to have

Re: [google-appengine] Number of indexes

2010-03-14 Thread Iap
Hi, I will eventually have the same problem because I have many zombie indexes. These indexes dose not been removed even it was omitted from the index.yaml. (The schema of Model has been changing during the developing , that is the reason why some indexes becomes zombie) 2010/3/15 Eric Ka Ka Ng

Re: [google-appengine] cron job every 20 seconds?

2010-03-07 Thread Iap
2010/3/7 Richard richar...@gmail.com How can I get a cron job to run every 20 seconds? Run 3 identical ones every minute? This might help: http://groups.google.com/group/google-appengine/browse_thread/thread/7645670d581b95f1/4b7b61c4814d6a2d?lnk=raot -- You received this message because you

Re: [google-appengine] raw value of request parameters

2010-03-01 Thread Iap
Hi Nick, Thanks for your answer. I found the self.request.str_GET in the document of webob. 2010/3/1 Nick Johnson (Google) nick.john...@google.com: Hi, Use self.request.GET_str['data']. -Nick Johnson -- You received this message because you are subscribed to the Google Groups Google App

Re: [google-appengine] Task Queue Suggestion

2010-03-01 Thread Iap
2010/3/2 playatomo kendani...@gmail.com: Some basic queue management would be useful from within the API (not just the admin console) It would be useful to be able to check a specific queue for tasks.  On the most basic level a check to see if there is anything in the queue, and how many

[google-appengine] How many IPs would the urlfetch use?

2010-03-01 Thread Iap
Hi, I have a back-end web service which I would only allow the requests from my GAE application. So I want to check the IP if it comes from the GAE urlfetch. (plus some secret token) From my testing, there is only one IP: 64.233.172.18 was found. I am curious about if there are other IPs that

[google-appengine] How to use Cipher in GAE?

2010-02-28 Thread Iap
I learned that GAE has a customized version of PyCrypto. but from Crypto.Cipher import * raises: NotImplementedError: This function is not supported on App Engine. Neither, import DES,Blowfish,. from Crypto.Cipher all are failed with the same reason. I does not see these ciphers have been

[google-appengine] raw value of request parameters

2010-02-28 Thread Iap
Hi, I have a weird problem: If I make a request with binary value parameters, I can not get it back from the self.request.get. For example: http://xxx.appspot.com/index?data=%E2%E3%5D6%BD%3Bj%C2%EEW%C5o%1B*K%07 The %E2%E3%5D6%BD%3Bj%C2%EEW%C5o%1B*K%07 is the escaped binary string. Then, in the

Re: [google-appengine] Looping task in Taskqueue

2010-02-25 Thread Iap
Hi, I have tried the work-around same as the one provided by Eli below, I think that it works. I set a serial number (the counter) for every generated tasks. For every 3 seconds there is an execution. Now, the serial number goes to 57470 counts. (almost 2 days) 2010/2/25 Eli Jones

[google-appengine] randomly import error

2010-02-23 Thread Iap
Hi, My app experiences exceptions.ImportError randomly. Last night, it is module A, now it is module B. Then, minutes later, it just disappeared. Do you have the same problem? What happen? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To

Re: [google-appengine] Re: Lock the memcache and how to block the call ?

2010-01-27 Thread Iap
2010/1/27 Danny Tuppeny da...@tuppeny.com: What is it you're trying to do? Deliberately causing your requests to block each other doesn't sound very scalable. Also, sleeping for only 1 millisecond will likely eat a ton of CPU while it spins waiting for the lock. I think that Lock is essential

Re: [google-appengine] Re: Lock the memcache and how to block the call ?

2010-01-27 Thread Iap
2010/1/28 Danny Tuppeny da...@tuppeny.com: I'm still not entirely clear on what you're trying to do. Why do you need to sync these requests? If it's a queue of some sort, would the TaskQueue API help? http://code.google.com/appengine/docs/python/taskqueue/ Hi, Danny. Thanks for your help.

[google-appengine] Lock the memcache and how to block the call ?

2010-01-24 Thread Iap
I can not find the lock feature of memcache. It's easy to set a flag somewhere in the memcache (got Lock) The problem is: how the other request when it hits the locked flag to wait for the lock to be released. A quick and very drity solution is (maybe not even work, just for concept): client =

Re: [google-appengine] This App Engine is a JOKE

2010-01-12 Thread Iap
The GAE is a joke - I have the same feeling when the 1st time the timeout problem hits me. Not only java, the timeout problem also happens to GAE/Python. Now I have two service that running on GAE. Because I think that I have found a solution to get ride of the problem. At least that solution

[google-appengine] this URI uses a high amount of cpu and may soon exceed its quota

2009-12-11 Thread Iap
In the dashboard, there is a yellow triangle shown on the right side of the Avg CPU column on the line of a URI. What I can not understand is on the Billing Status table, the CPU Time row shows that the usages of CPU Time is 4%. What does it means? Does it mean that we have to set the CPU Time

Re: [google-appengine] I hit the limitation of Max number of files and blobs is 3000

2009-12-09 Thread Iap
2009/12/10 Ikai L (Google) ika...@google.com You won't be able to exceed the number of files. Are you finding that retrieving the images from the datastore is causing you to hit a quota limit? No. we hited the limitation of static files. For better performace, the images used to serialized

Re: [google-appengine] I hit the limitation of Max number of files and blobs is 3000

2009-12-09 Thread Iap
2009/12/10 Ikai L (Google) ika...@google.com Are you using the batch get functionality? http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_get You can pass a list of IDs. This will make a single datastore call to fetch all entities. We have two concerns for

Re: [google-appengine] I hit the limitation of Max number of files and blobs is 3000

2009-12-09 Thread Iap
2009/12/10 Ikai L (Google) ika...@google.com I see what you mean - I was only looking at ways of reducing your datastore calls. Yes, each image load will result in a datastore call, so you'll have to factor this into the design of your application. Depending on your needs, one way you could

[google-appengine] I hit the limitation of Max number of files and blobs is 3000

2009-12-06 Thread Iap
I have a datastore of number of 13000 entries. For every entries, there are 2 images stored as BlobProperty. One is the original image, the other one is the thumbnail. For every single request to get the images, I have to query the datastore with unique id like this: entry = Model.gql(where id

[google-appengine] Re: What are your top three issues in appengine?

2009-10-06 Thread Iap
Second to Full text search Second to Timeout Second to SSL --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Datastore outage July 2, 2009

2009-07-02 Thread Iap
it soon. Kan-ba-de. (Cheer on in Japanese) Iap 2009/7/3 Jeff S (Google) j...@google.com The issues initially manifested as timeouts and API errors but we switched into read-only mode (capability disabled exceptions) as we prepared to switch over to other datacenters. Thanks again for your

[google-appengine] Re: Appengine timeout..?

2009-06-18 Thread Iap
inherites the I'm feeling lucky tradition of Google. _* Why not retry the Get and Queires ? If the retry will eventually succeed, How about provide a decrator for convenience to do the things right. Iap --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] Re: Appengine timeout..?

2009-06-18 Thread Iap
2009/6/18 Nick Johnson (Google) nick.john...@google.com Hi, Nick Why not retry the Get and Queires ? We are planning to add that in a future release. That would be great! I have good reason to persuade my boss to re-open her mind. Iap

[google-appengine] Re: Email Marketing on GAE

2009-05-17 Thread Iap
That's really sucks. Can not the almighty GOOGLE do something aganist the dark power of cyber space? 2009/5/18 Wooble geoffsp...@gmail.com On May 15, 9:02 pm, Iap iap...@gmail.com wrote: I have some question about this issue. If people pay, why can not they send bulk of emails? How

[google-appengine] Re: Get all but first 10 out of DB

2009-05-15 Thread Iap
Do you mean offset parameter in the gql query? 2009/5/16 Wiiboy jordon...@gmail.com Hi, I want to get the all the results out of a database, except the first 10. What query would I use to do that? --~--~-~--~~~---~--~~ You received this message because

[google-appengine] Re: Email Marketing on GAE

2009-05-15 Thread Iap
I have some question about this issue. If people pay, why can not they send bulk of emails? How to tell spam or not? Who has the authority to say this is spam and that is not spam? In many ass hole countries, the goveronment as well as the ISPs accuse all the bulk mailing are spams but their own.