Re: [google-appengine] Re: Retrying transactions

2010-08-26 Thread Robert Kluin
Hi Jeff, If you use Python it will retry 3x. """ The datastore uses optimistic locking and retries for transactions. If the transaction prepared by the function cannot be committed, run_in_transaction() calls the function again, retrying the transaction up to 3 times. (To use a different number o

[google-appengine] UnicodeDecodeError when template contains chinese

2010-08-26 Thread 林楠
This error happens both in the development server and the app engine when there are chinese characters in the template HTML. The template HTML files are saved in utf8 encoding. Does any one know what is wrong? : 'ascii' codec can't decode byte 0xe7 in position 15: ordinal not in range(128) Tra

[google-appengine] Re: getServingUrl slow itself?

2010-08-26 Thread gops
can i restrict who can see the image or who can not ? i know url is not easily guessable , but can anyone by chance can have that image ? On Aug 27, 5:22 am, "Ikai L (Google)" wrote: > Only the initial call to getServingUrl should be slow. Subsequent calls > should be faster. You should be able

Re: [google-appengine] Re: Retrying transactions

2010-08-26 Thread Jeff Schwartz
Thanks but I wasn't specifically asking about tasks but rather transactions in general. I'd like to know about retries, when they are done & when they aren't. I'd also like to know if there is any detailed documentation on the subject. On Thu, Aug 26, 2010 at 7:37 PM, Jan Z/ Hapara wrote: > FWIW

Re: [google-appengine] Re: FTP support to download the assets from WEB-INF folder

2010-08-26 Thread anurag
Hi Geoffrey, To get the server data that resides in WEB-INF folder i have to write script to download it? If this the only one way then I will do the same, I was thinking may be there will be some tool to get that. I didn't get source control. It is any tool,please provide me some link to go throug

[google-appengine] Server Error

2010-08-26 Thread Tsolmon Narantsogt
Hello everybody When i run this command ./appcfg.py update myproject/ i got a following this error help me Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please reportyour proble

[google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-26 Thread Matthew Blain
This works for me on Windows 7. It's possible that the root certificates on your Windows machine are somehow missing the Equifax Secure Certificate Authority root certificate (also sometimes listed as GeoTrust)? Have you edited your list? I see a suggestion online to also check Windows Updates to s

Re: [google-appengine] How do I use get_serving_url correctly?

2010-08-26 Thread Ikai L (Google)
Yes, you can cache the result. In practice, subsequent calls of get_serving_url on the same blob should be faster, but if you have more new blobs than old ones on a page it can be slow. The resulting URL only becomes invalid if the blob is deleted. On Tue, Aug 24, 2010 at 1:53 PM, Flips wrote: >

Re: [google-appengine] getServingUrl slow itself?

2010-08-26 Thread Ikai L (Google)
Only the initial call to getServingUrl should be slow. Subsequent calls should be faster. You should be able to cache the URL - I don't believe it should change. On Thu, Aug 26, 2010 at 4:02 PM, mathijs wrote: > Hi, > > We have been starting to use getServingUrl on http://www.appbrain.com/ > whe

Re: [google-appengine] Automatically expiring paths to blobstore entities

2010-08-26 Thread Ikai L (Google)
The best way would probably to generate a datastore entity with an expiration date/time, a random key and create a URL containing that random key that forwards to the final blob URL. You'd check for expiration on a fetch and sweep expired entities with a cron job. Alternatively you can store the ra

[google-appengine] Paypal / Payment integration and domain related questions for GAE

2010-08-26 Thread Divkis
Hi, I am trying to evaluate GAE, if it suits my purpose. One of the requirements that I have is that I want integration with a couple of payment gateways, the top priority being paypal. 1. Could someone please help me answer if it is even possible to integrate paypal and/or some other payment

[google-appengine] Re: Log is garbled

2010-08-26 Thread phatmann
The text of the each log message is garbled. The logs for other user's entries are fine. She is using an English OS, so I don't think it is an encoding issue. ..tony.. On Aug 26, 11:06 am, Robert Kluin wrote: > What do you mean the log entries? Do you mean the user-agent has junk in it? > > Robe

[google-appengine] Re: Retrying transactions

2010-08-26 Thread Jan Z/ Hapara
FWIW we've seen tasks with 23+ retries and a re-queue time of 19+hrs. Failure rate: depends on what you mean. Task queue can kill your tasks (and requeue them) on it's own, plus there is the failure rate of other GAE services. I'm not sure if we've got a unique use-case on our hands (I think no

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Jan Z/ Hapara
Just as an experiment we ran this job again, this time using JMeter to "prime" the VM's at a sustained 25 requests per second for 15-20 mins before the tasks were queued up. No impact - same request aborted rate as before. So it doesn't seem like it's a problem with availability of "warm" vm's...

[google-appengine] getServingUrl slow itself?

2010-08-26 Thread mathijs
Hi, We have been starting to use getServingUrl on http://www.appbrain.com/ where we have very many pages little icons. (for instance about 30 on the homepage). Since we implemented the getServingUrl calls for these icons, the logs show that the homepage now takes 3000ms (3 seconds!) to be processe

[google-appengine] Retrying transactions

2010-08-26 Thread Jeff
When a transaction fails because of contention is it automatically retried and if it is how many times will it retry? Also, can you point me to any docs that detail this & transaction failures in general? Thanks in advance. -- You received this message because you are subscribed to the Google Gro

[google-appengine] Re: FTP support to download the assets from WEB-INF folder

2010-08-26 Thread Geoffrey Spear
There is no FTP access to the server; you need to download any files using the serving URLs a user would use to get them. In general, you can't get your sources back from the server; you should be using source control. On Aug 26, 1:03 pm, anurag wrote: > Hi, > Can anyone help me how to download

[google-appengine] Re: Detect Mobile Phone

2010-08-26 Thread prgmratlarge
Yes, but the CPU required to do a lookup is simply not worth it. Remember, every time a (new) user hits the site you do a lookup. It can add up very quickly. On Aug 26, 9:07 am, Filippo De Luca wrote: > Hi, > I'm aWURFLapi maintainer. The issue should be due to the GAE size > limit. A simple work

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Jan Z/ Hapara
Had another data run complete just now - a url-fetch focused job (talking to Google services only, no rpc, no db, little memcache) with 2,500 tasks spread across 5 queues at 6/m each. Average task is 4-8 urlfetches, runs in 17s, with < 100msec CPU time. There was minimal to no other load on the

[google-appengine] Re: RSS Feed Aggregator

2010-08-26 Thread Bart Thate
Hoi ! On 25 aug, 20:36, nevets1219 wrote: > I would like to create an aggregator that would retrieve on a set > interval RSS feeds from a list of feeds and optionally filter/alter/ > categorize/etc the feeds retrieved, let's call this the "big list". > Then I would like to retrieve the "big list"

Re: [google-appengine] Re: No mobile phone

2010-08-26 Thread Robert Kluin
Google voice will not work to verify an account. Tried it, the text never comes through. But it does work to send and receive texts in general. Robert On Thu, Aug 26, 2010 at 16:32, James13M wrote: > Acknowledged. Further research has given me another tool to use to > send and receive SM

[google-appengine] Re: No mobile phone

2010-08-26 Thread James13M
Acknowledged. Further research has given me another tool to use to send and receive SMS online. I have yet to verify its functionality, but it is simple enough to use and you do not need a cell phone or mobile phone. It is called Google Voice. My problem in testing it is that I do not know many peo

[google-appengine] Re: RSS Feed Aggregator

2010-08-26 Thread nickmilon
Sure an aggregator is doable in App Engine. May be you also take a look here: http://code.google.com/p/pubsubhubbub/ -- 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

[google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-26 Thread James
I believe that's a standard limitation of wildcard SSL certs. See my recent post here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/13f4674c5ef0a83f/2b3a8d16b96d9c0c On Aug 25, 5:19 pm, Robert Kluin wrote: > I only get a certificate error if I go tohttps://test.xx.a

Re: [google-appengine] Re: Problems searching the database

2010-08-26 Thread Robert Kluin
When creating your keys and searching why don't you try something like this: address = """17 Somewhere St Somewhere NY 12345 USA""" key = ''.join(address.split()) Personally I would also add a .lower() on there so that case did not mess you up as well. And I would probably strip periods and com

[google-appengine] Removal of Empty Usage Reports

2010-08-26 Thread App Engine Team
Dear App Engine users, To simplify reporting, we will be removing daily usage reports that contain no resource usage (i.e., no use of CPU, bandwidth, storage, or email that day) from all free App Engine applications. We will be performing this cleanup over the next several weeks. Only usage repor

[google-appengine] Re: Better way to implement many-to-many relationship

2010-08-26 Thread J
I'm a huge fan of Nick Johnson's method http://blog.notdot.net/2009/9/Distributed-Transactions-on-App-Engine. As originally written, it establishes links between two entities of the same class but it is trivial to extend it to linking entities of different classes. What I like about this model is

[google-appengine] Re: Problems searching the database

2010-08-26 Thread Paul Frey
Its not the case thats the problem, i think its the fact that the GPS returns the address like this: 17 Somewhere St Somewhere NY USA Where as the only way you can enter in the key is: 17 Somewhere St Somewhere NY USA On Aug 26, 2:02 pm, Robert Kluin wrote: > If it is your "webdb" service, why

Re: [google-appengine] Log is garbled

2010-08-26 Thread Robert Kluin
What do you mean the log entries? Do you mean the user-agent has junk in it? Robert On Thu, Aug 26, 2010 at 13:13, phatmann wrote: > One of the users of my app is having issues. When I went to view her > Log entries in the App Engine dashboard, I was surprised to see that > they were comple

Re: [google-appengine] Problems searching the database

2010-08-26 Thread Robert Kluin
If it is your "webdb" service, why don't you just lower-case the key-name and the search input before doing the lookup? Robert On Thu, Aug 26, 2010 at 10:27, Paul Frey wrote: > So I have an app (programmed in app inventor) that will locate your > position with the GPS, return an address to th

Re: [google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-26 Thread Robert Kluin
Interesting. You are right, I probably checked using a XP vm not a Win 7 vm. On Thu, Aug 26, 2010 at 10:44, Carlos Rodrigues wrote: > BTW, this is not a problem exclusive to GAE. The certificate for > "code.google.com" also seems to have changed recently and I just got a > warning from Torto

[google-appengine] Log is garbled

2010-08-26 Thread phatmann
One of the users of my app is having issues. When I went to view her Log entries in the App Engine dashboard, I was surprised to see that they were complete garbled, with lots of bad characters. It almost looked like a character encoding issue, but I do not think it is. The only clue I have is that

[google-appengine] FTP support to download the assets from WEB-INF folder

2010-08-26 Thread anurag
Hi, Can anyone help me how to download some assets those are in web-inf/image/ folder. I am storing the images through my application page. If FTP support is there like other application deployment, then no issue. But problem is, we used to deployed through eclipse. please send me procedure how to

[google-appengine] Problems searching the database

2010-08-26 Thread Paul Frey
So I have an app (programmed in app inventor) that will locate your position with the GPS, return an address to the text box, and when you click the search button, will search my custom tiny webDB service for the key (keys are made up of road addresses) that matches that address. However, the keys

[google-appengine] Re: Detect Mobile Phone

2010-08-26 Thread Filippo De Luca
Hi, I'm a WURFL api maintainer. The issue should be due to the GAE size limit. A simple workaround may be split the wurfl xml file in several little file, one root and many patches. I will do this utility available for the GAE community. On Aug 23, 10:46 pm, moissinac wrote: > I've made some test

[google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-26 Thread Carlos Rodrigues
BTW, this is not a problem exclusive to GAE. The certificate for "code.google.com" also seems to have changed recently and I just got a warning from TortoiseSVN that the new certificate cannot be validated because the certificate chain is incomplete. Best regards, On Aug 26, 3:42 pm, Carlos Rodri

[google-appengine] Re: *.appspot.com certificate chain in Chrome, Safari and IE

2010-08-26 Thread Carlos Rodrigues
Since the problem only happens with browsers that rely on Windows' certificate infrastructure, the version of Windows matters. I've tested with IE 8 on Windows 7 and Windows Server 2008 and the problem occurs; I've also tested with IE 7 on Windows XP and Windows Server 2003 and the problem does no

[google-appengine] Re: New index creation in queued state for a long time

2010-08-26 Thread Hugo Visser
Index building is extremely slow the last few days. I hardly have any data in my app but building the indexes takes up to 8 hours to complete, or they are in a queued state very long. This really slows down development :( Any word from the app engine team on this? Hugo On Aug 24, 9:45 pm, Robert

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Jan Z/ Hapara
Geoffrey, can you elaborate on "the criteria for creating a new instance" please? Clearly there are some thresholds being calculated and throttles being applied here, but it's wholly unclear what they are or what design patterns need to be applied to avoid them. There was some guidance from the G

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Geoffrey Spear
On Aug 26, 8:39 am, David Burns wrote: > I am getting this error too and I am not doing any URL fetches. I have > put a lot of logging throughout my application and getting this error > before any of my logging is hit > > # > >    1. >       08-25 05:30AM 43.978 / 500 10011ms 0cpu_ms 0kb Mozilla

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread David Burns
I am getting this error too and I am not doing any URL fetches. I have put a lot of logging throughout my application and getting this error before any of my logging is hit # 1. 08-25 05:30AM 43.978 / 500 10011ms 0cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534

Re: [google-appengine] multi-tenant

2010-08-26 Thread Ross M Karchner
Related question-- how do namespaces effect MapReduce? On Thu, Aug 26, 2010 at 2:25 AM, alf wrote: > I know there are no possibility to get a list of namespaces used but > can i do a query to get all entities including diferents namespaces. > > thanks > > -- > You received this message because y

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Jan Z/ Hapara
A mix. We have a work package that is pretty exclusively async and another just using gdata (with zero async). There is no discernible difference, performance-wise. J On Aug 26, 10:46 pm, Tim Hoffman wrote: > Are you doing using async urlfetches ? > > T > > On Aug 26, 6:03 pm, "Jan Z/ Hapara"

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Tim Hoffman
Are you doing using async urlfetches ? T On Aug 26, 6:03 pm, "Jan Z/ Hapara" wrote: > Tim, your app is probably not doing much urlfetching? > > We have an app (h-script) that performs several urlfetch operations > per task.  We are talking to other Google services only.  On a good > day, each ta

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Jan Z/ Hapara
Tim, your app is probably not doing much urlfetching? We have an app (h-script) that performs several urlfetch operations per task. We are talking to other Google services only. On a good day, each task takes between 3 and 10 seconds. This goes up to 20 seconds sometimes. The CPU time for the

[google-appengine] Re: again "Request was aborted after waiting too long..."

2010-08-26 Thread Tim Hoffman
Unfortunately you haven't provided a great deal of information about what you are doing in your tasks. My guess is whatever you are running in the task is just taking too long. Queued will retry unless you exit cleanly. And each failed tasks time between retries will will increase. You should p