[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help

2008-10-14 Thread yejun
iso8859-1 should be able to decode any char, but I guess there's a bug in code which caused implicit unicode conversion. On Oct 14, 12:44 am, Nishu <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to develop a screen scraping application using the google > Webapp framework. The application par

[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help

2008-10-14 Thread Nishu
Thanks for replying Actually the html data that I am parsing is being rendered with UTF-8 encoding so I tried setting the default encoding as UTF-8. Just for your information I would like to tell you that I am trying to parse google's search results which is rendered with UTF-8 encoding. Is there

[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help

2008-10-14 Thread yejun
Google search has json-p interface which is used for ajax search api. But the term of use of the data and protocol is very restrictive. http://googleajaxsearchapi.blogspot.com/ On Oct 14, 3:35 am, Nishu <[EMAIL PROTECTED]> wrote: > Thanks for replying > > Actually the html data that I am parsin

[google-appengine] Re: Unexpected timeouts

2008-10-14 Thread Josh Heitzman
Timeouts can happen on even the simplest of datastore operations. As I understand it when a timeout does occur on a transaction (including a single put as there is a transaction there underneath) there is a lot of extra processing due to retry attempts. On Oct 13, 11:40 pm, Roy Leban <[EMAIL PRO

[google-appengine] Re: How do i embedd an image or html code while sending email in appengine ?

2008-10-14 Thread NiceGuy
Thanks a lot i got it.. ;-) --~--~-~--~~~---~--~~ 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,

[google-appengine] Re: Why my website is speeder using www. than without ?!?

2008-10-14 Thread manatlan
Ok ... I had changed my dns hosting (enom) ... "@" make a url redirect to http://www.manatlan.com and in Gapps, it handle only www.manatlan.com (not the naked domain anymore) It seems it works better ... (access to manatlan.com or www.manatlan.com are speeder now) so, when i try to go to http://

[google-appengine] Re: ModelChoiceField

2008-10-14 Thread [EMAIL PROTECTED]
I just created my own ModelMultipleChoiceField class by copying and pasting and changing up some stuff in the ModelChoiceField. On Oct 13, 3:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > So below I have a snippet of my model form code. I was wondering does > anyone know the correct form

[google-appengine] Re: Downloading my application

2008-10-14 Thread Arun Shanker Prasad
On Oct 14, 5:05 pm, "David Symonds" <[EMAIL PROTECTED]> wrote: > 2008/10/14 Arun Shanker Prasad <[EMAIL PROTECTED]>: > > > Definitely and an IMPORTANT one > > None of us want to loose our code.. > > If you don't want to lose your code, make your own arrangements. Use > source control, such a

[google-appengine] Re: consistent order when sorting on values that are the same?

2008-10-14 Thread David Wilson (entertainment cloud)
as a note, its fine if it is 3,2,4. as long as its always 3,2,4. On Oct 14, 3:00 pm, "David Wilson (entertainment cloud)" <[EMAIL PROTECTED]> wrote: > Another day, another question: > > Are fetch results returned in a consistent order when sorting on > values that are the same. > > ie > > if my

[google-appengine] Possible to subclass User?

2008-10-14 Thread Alex Vartan
Apologies if this is a simple question, I'm still a python / GAE novice. Is it possible to subclass the User class? I have just a couple of extra properties and I'd like to store with User and rather not create a duplicated UserOfMyApp class that includes a user as a property if I can just subclas

[google-appengine] Re: Modeling mutual references

2008-10-14 Thread Dado
I am having the same problem when defining a join model between two models... because they "depend" on each other, but in my case is a problem related to how Python "imports" classes (I am using "import" to pull in models definitions that are in different files). Does the code that you posted all

[google-appengine] bulkloadclient

2008-10-14 Thread Sterny
I'm having problems uploading data to previously loaded tables. I get the following error. I'm on windows xp some tables load ok. All load up ok on my localhost. Any ideas? I get the following error.: C:\Google_apps>python "C:\Program Files\Google\google_appengine\tools \bulkload_client.py" --f

[google-appengine] ghs google servers.down ?

2008-10-14 Thread poke
c:\>ping www.bitpoll.net Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. c:\>ping ghs.l.google.com Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data: Request timed out. Request timed out.

[google-appengine] How to access Google Cache?

2008-10-14 Thread Vacilando
Hi, In an application I build I sometimes need to check on a page, but it is enough for me (and presumably much faster) if I could read its latest copy from Google Cache. Is there a way to fetcha page from Google Cache programmatically? Thanks! --~--~-~--~~~---~--~-

[google-appengine] I can get SMS while I create new application

2008-10-14 Thread xiaoxiwu
I'm a user of China mobile, so I can't receive verification code, could you help me to get the verification code please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this grou

[google-appengine] How to access Google Cache from App Engine?

2008-10-14 Thread Vacilando
Hi, In an application I build I sometimes need to check on a page, but it is enough for me (and presumably much faster) if I could read its latest copy from Google Cache. Is there a way to fetcha page from Google Cache programmatically? Thanks! --~--~-~--~~~---~--~-

[google-appengine] App Engi neでのファイル取込み

2008-10-14 Thread kns001
 App Engine にて、不明点がありますので投稿させて頂きました。  【不明点】   App Engineを使用した外部ファイルの取込と取出が可能でしょうか?  例:Aさんが、App Engineにて作成したAPPを使用して自端末上のファイル   (テキスト、word、excel、pdf等)をAppEngineサーバ(DataStoreAPI等を使用)に取り込む。   続いてBさんが、同APPを使用してそのファイルを取り出して自端末にダウンロードし閲覧する。  また、例のようなDataStoreAPIでGoogleサーバに取り込まなくても他に可能な  代替案などがあればご教授い

[google-appengine] django template UnicodeDecodeError on gae.

2008-10-14 Thread kitly
different between django version 0.96/1.0 in file /django/template/ __init__.py django 0.96 in gae, start line number: 700 class NodeList(list): def render(self, context): bits = [] for node in self: if isinstance(node, Node): bits.append(self.rend

[google-appengine] YAML, mappings and handlers.

2008-10-14 Thread JFQueralt
Hi, everyone. I am not sure this question has been raised in the past but I searched a little bit and could not find any topic covering this doubt I am having. Also, I am a newbie on this technologies so maybe my question is kind of obvious. - YAML allows us to map URL patterns to modules in wri

[google-appengine] Re: consistent order when sorting on values that are the same?

2008-10-14 Thread Barry Hunter
Possibly best just to try it! But from http://code.google.com/appengine/docs/datastore/queriesandindexes.html * In the case of a tie, the key of the entity is used as the tie-breaker. ... its talking about list fields - but the same code is probably used for sort order of non-lists. On Tue, O

[google-appengine] Re: Can Google please stop marking Google App Engine mail as spam?

2008-10-14 Thread Barry Hunter
I'm not quite sure I understand, are you suggesting that Postini should whitelist all AppEngine emails? That sounds bad, would make appengine an attractive target for spammers. It's true at the moment the technical hurdles make it unattractive, but a default whitelist would make it very much less

[google-appengine] How can I get a GAE Account?

2008-10-14 Thread [EMAIL PROTECTED]
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 t

[google-appengine] Re: Can Google please stop marking Google App Engine mail as spam?

2008-10-14 Thread Aral Balkan
No, I'm saying it shouldn't blacklist them by default. Aral On Oct 14, 7:18 pm, "Barry Hunter" <[EMAIL PROTECTED]> wrote: > I'm not quite sure I understand, are you suggesting that Postini > should whitelist all AppEngine emails? > > That sounds bad, would make appengine an attractive target for

[google-appengine] How to create a Google Gadget using Google App Engine

2008-10-14 Thread cm_gui
Hi All I'm a newbie trying to create a Google Gadget using Google App Engine for Google Apps Sites. I tried the tutorial in Google App Engine Getting Started and changed the index.html file into a index.xml file and modified it to as shown below. I am able to use the application on the xxx.appspo

[google-appengine] Re: How to access Google Cache?

2008-10-14 Thread Sylvain
And what about memcache ? http://code.google.com/appengine/docs/memcache/ On 14 oct, 17:14, Vacilando <[EMAIL PROTECTED]> wrote: > Hi, > > In an application I build I sometimes need to check on a page, but it > is enough for me (and presumably much faster) if I could read its > latest copy from G

[google-appengine] Re: db.Model instances - please document ALL reserved/used names

2008-10-14 Thread pr3d4t0r
On Oct 12, 1:19 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: > On Sun, Oct 12, 2008 at 10:20 AM, pr3d4t0r <[EMAIL PROTECTED]> wrote: > > > On Oct 12, 9:17 am, pr3d4t0r <[EMAIL PROTECTED]> wrote: > >> print dir(anObject)  # this gives you a list of all the attributes. > > > OKi, before we get peda

[google-appengine] Re: Newbie question - Request params available to def post(self)

2008-10-14 Thread Mahmoud
The GET parameters will not be sent automatically with your POST (form) parameters. However, here is something you can try: When you generate your page template, embed the original GET parameters as hidden input fields inside the form: Now, when the form is POSTed, you'll get your original "fav

[google-appengine] Re: Downloading my application

2008-10-14 Thread Peter Recore
Arun, I apologize if my post seemed too harsh. My main point was to try to convince the gae community that there are alternatives in place that obviate the need for this feature, so it's not one we should ask the GAE team to work on right now. When you said > Definitely and an IMPORTANT one

[google-appengine] Re: Possible to subclass User?

2008-10-14 Thread Mahmoud
I think the overall recommended design practice in this case is to favor composition over inheritance. In our application, we have an application specific user entity that has a db.UserProperty(). Works pretty well and is super easy to implement. An example can be found here: http://code.google.co

[google-appengine] Re: No response?

2008-10-14 Thread Mahmoud
You should add some logging to your application. It will make it easier to see what is going awry: http://code.google.com/appengine/docs/python/logging.html On Oct 13, 6:16 am, sternr <[EMAIL PROTECTED]> wrote: > I've just uploaded my first application, and no matter what request I > try, I get e

[google-appengine] Re: Members: 4994

2008-10-14 Thread Davide Rognoni
Members: 5005 :-D On Oct 13, 9:48 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote: > - 5 > - 4 > - 3 > - 2 > - 1 > 5000 :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this grou

[google-appengine] Re: Avg CPU: 6206 /!\

2008-10-14 Thread Davide Rognoni
Is this a real problem? On Oct 13, 6:51 pm, Josh Heitzman <[EMAIL PROTECTED]> wrote: > Yeah, my requests seem to be taking about 4-6k megacycles longer to > process today then they were two days ago.  In some cases this is 100% > longer and in others its only about 35%  Interestingly my root page

[google-appengine] Re: Downloading my application

2008-10-14 Thread Arun Shanker Prasad
Peter, I am clear where u come from, I too want the GAE team to focus on more pressing issues, of course. I take back what I said about the priority of the issue.. My apologies, will choose my words more appropriately.. Arun Shanker Prasad. On Oct 14, 11:02 am, Peter Recore <[EMAIL PROTECTED]>

[google-appengine] Re: consistent order when sorting on values that are the same?

2008-10-14 Thread David Wilson (entertainment cloud)
ok, thanks, I read that, but wasnt sure. testing will be the way forward :) On Oct 14, 7:11 pm, "Barry Hunter" <[EMAIL PROTECTED]> wrote: > Possibly best just to try it! > > But fromhttp://code.google.com/appengine/docs/datastore/queriesandindexes.html > > * In the case of a tie, the key of t

[google-appengine] Newbie question - Request params available to def post(self)

2008-10-14 Thread Alex Vartan
Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmeal&raisinbran 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 ('mo

[google-appengine] Templates stop rendering correctly after a while on deployment environment - help!

2008-10-14 Thread Aral
Please see: http://www.headconference.com/speakers/ann-mcmeekin/ If I re-deploy, it starts displaying correctly -- for a while -- before reverting to displaying the tags. Flushing the cash doesn't fix it, only redeploying. Help! Aral --~--~-~--~~~---~--~~ You re

[google-appengine] consistent order when sorting on values that are the same?

2008-10-14 Thread David Wilson (entertainment cloud)
Another day, another question: Are fetch results returned in a consistent order when sorting on values that are the same. ie if my models have id 1..4 and values 1,2,2,3 and I perform a filtered fetch of value >= 2. Will the models always be returned in the order id 2,3,4? im going to hit a p

[google-appengine] Re: Downloading my application

2008-10-14 Thread Arun Shanker Prasad
On Oct 14, 7:49 am, Peter Recore <[EMAIL PROTECTED]> wrote: > > I know of svn and cvs to version the code.. > > for any php or similar scripting site, we all have the last resort to > > actually get the code the webserver, since google app engine is also a > > scripting site, and dont have the c

[google-appengine] Re: decision to be an API and not a protocol...

2008-10-14 Thread Aral
I hope that Google will move on to the challenge of handling other languages once it has managed to implement Google App Engine properly in Python first. Aral On Oct 13, 6:00 pm, Peter Recore <[EMAIL PROTECTED]> wrote: > App engine to me is a hosting environmnt first, and an API second. > The AP

[google-appengine] Re: bulkloadclient

2008-10-14 Thread Marzia Niccolai
This seems like there might be an issue with the handler mapping for your application, it probably can't find the correct Python class to send the request. Make sure you have correctly mapped /raceload in your app.yaml and in your script's application handler. -Marzia On Tue, Oct 14, 2008 at 1:5

[google-appengine] Re: Templates stop rendering correctly after a while on deployment environment - help!

2008-10-14 Thread Aral
Forget the bit about the redeploy being the only fix -- it appears to be random. It's just reverted to normal. When I wrote the initial email, the text was displaying the tags, tags, etc. displaying in plain text (not rendered as HTML). (Waiting to see when it recurs.) Aral On Oct 14, 9:46 

[google-appengine] Can Google please stop marking Google App Engine mail as spam?

2008-10-14 Thread Aral Balkan
I'm trying to communicate with my speakers and attendees and having a _terrible time_ of it because the email is being marked as spam by... wait for it... none other than Google. One of my speakers just sent me this: "[Email from your app] is getting blocked by Google's Postini service by defaul

[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help

2008-10-14 Thread kang
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 f

[google-appengine] Re: Downloading my application

2008-10-14 Thread David Symonds
2008/10/14 Arun Shanker Prasad <[EMAIL PROTECTED]>: > Definitely and an IMPORTANT one > None of us want to loose our code.. If you don't want to lose your code, make your own arrangements. Use source control, such as what Google provides via http://code.google.com/hosting. The "problem" of l

[google-appengine] Re: consistent order when sorting on values that are the same?

2008-10-14 Thread Marzia Niccolai
I can confirm that it is the key that is used. -Marzia On Tue, Oct 14, 2008 at 12:45 PM, David Wilson (entertainment cloud) < [EMAIL PROTECTED]> wrote: > > > ok, thanks, I read that, but wasnt sure. > > testing will be the way forward :) > > > > On Oct 14, 7:11 pm, "Barry Hunter" <[EMAIL PROTECT

[google-appengine] Re: Downloading my application

2008-10-14 Thread Peter Recore
> I know of svn and cvs to version the code.. > for any php or similar scripting site, we all have the last resort to > actually get the code the webserver, since google app engine is also a > scripting site, and dont have the constraints of java class file there > can be some way to get the code

[google-appengine] Re: Why my website is speeder using www. than without ?!?

2008-10-14 Thread manatlan
sorry for the last mail ... my redirect problem seems to come from webpy.org (the framework I use) In fact I had 2 problems in one ... "naked domain / gae" and "webpy redirect trouble" I begin to see the light at the end of the tunnel ;-) On 14 oct, 10:47, manatlan <[EMAIL PROTECTED]> wrote:

[google-appengine] Re: Newbie question - save geocode to the Datastore

2008-10-14 Thread Yang
Hi, Right, I think I got that far. But when I try to add it to data store, I get the following error GeoPtProperty is supposed to take GeoPt data type, which is "geographical point represented by floating-point latitude and longitude coordinates." But it doesn't say whether it needs to be a

[google-appengine] Re: Faster choices code

2008-10-14 Thread djidjadji
Why not break when a match is found if self.choices: match = False for choice in self.choices: if choice == value: match = True break if not match: raise BadValueError('Property %s is %r; must be one of %r' %

[google-appengine] Compare Query and GqlQuery?

2008-10-14 Thread Tom
Is there an article/faq that compares the use cases and tradeoffs for Query vs. GqlQuery? When would one be used over the other, etc. Thanks! Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Ordering with an inequality filter

2008-10-14 Thread mrchucho
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

[google-appengine] Re: Compare Query and GqlQuery?

2008-10-14 Thread mrchucho
If I'm not mistaken, GqlQuery simply constructs a Query behind the scenes: http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Introducing_Queries On Oct 14, 6:11 pm, Tom <[EMAIL PROTECTED]> wrote: > Is there an article/faq that compares the use cases and tradeoffs for > Query

[google-appengine] New Admin Console Release

2008-10-14 Thread Marce
Today we've released some new features in our Admin Console to make it easier for you to manage your application. * Admin Logs: This new feature displays a record of all actions committed by the application's admins. Click on 'Admin Logs' under the 'Administration' section of the navigation bar.

[google-appengine] Re: Ordering with an inequality filter

2008-10-14 Thread kang
maybe you can write GQL like: SELECT * FROM [WHERE [AND ...]] [ORDER BY [ASC | DESC] [, [ASC | DESC] ...]] [LIMIT [,]] [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 >

[google-appengine] Re: Possible to subclass User?

2008-10-14 Thread kang
yep, you can use UserProperty On Wed, Oct 15, 2008 at 3:06 AM, Mahmoud <[EMAIL PROTECTED]> wrote: > > I think the overall recommended design practice in this case is to > favor composition over inheritance. In our application, we have an > application specific user entity that has a db.UserPropert

[google-appengine] Re: Newbie question - Request params available to def post(self)

2008-10-14 Thread kang
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/oatmeal&raisinbran

[google-appengine] Re: Ordering with an inequality filter

2008-10-14 Thread mrchucho
Unfortunately, a GqlQuery just constructs a Query behind the scenes. In other words, they're functionally equivalent and what is disallowed by Query is similarly disallowed by GqlQuery. On Oct 14, 7:18 pm, kang <[EMAIL PROTECTED]> wrote: > maybe you can write GQL like: > > SELECT * FROM >     [

[google-appengine] Re: How to access Google Cache?

2008-10-14 Thread Sal
It's not very clear (at least to me) what you're trying to do. If you have objects that are being pulled from the datastore, then you should definitely use the memcache API as previously mentioned where appropriate. However, if you're trying to get a link to a Google Cached Page, the Search AJAX A

[google-appengine] Re: How can I get a GAE Account?

2008-10-14 Thread [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? --~--~-~--~~---

[google-appengine] Re: YAML, mappings and handlers.

2008-10-14 Thread Sal
That's a good question. I personally route to the appropriate handlers inside a main.py module. I pretty much adopted this approach from GvRs presentation. But I have to admit, I don't know of any significant advantages of one approach versus the other. I would like to see what other ppl think. O

[google-appengine] Re: App Engineでの ファイル取�zみ

2008-10-14 Thread yu ping322
可以把文件放在DataStore的BlobProperty里。但是请注意每个文件不能超过1M.google有限制。 例子: model: class UploadFile(db.Model): data = db.BlobProperty() orig_name = db.StringProperty() ext = db.StringProperty() date = db.DateTimeProperty(auto_now_add=True) 上传: class Upload(BaseRequestHandler): @requires_admin

[google-appengine] 1000 mcycles to update a single entity

2008-10-14 Thread Josh Heitzman
I've been digging into where may app is spending its mcycles. By using memcache I've gotten all of my requests that only read data down well under the 1000 mcycle overall average request processing limit; however, I'm seeing that it takes about 1000 mcycles to update a single entity (not indexed,

[google-appengine] Re: How can I get a GAE Account?

2008-10-14 Thread David Symonds
On Wed, Oct 15, 2008 at 11:43 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Why nobody pay attention to me? Is there anyone could send a > invitation to me? thanks! http://code.google.com/appengine/kb/sms.html#error Dave. --~--~-~--~~~---~--~~ You received

[google-appengine] Re: 1000 mcycles to update a single entity

2008-10-14 Thread Josh Heitzman
Actually, I'm it take about 1500 mcycle to update one entity and then an about an additional 1000 mcycle per additional entity (each a different kind in this case) that is updated via the same db.put call. On Oct 14, 7:24 pm, Josh Heitzman <[EMAIL PROTECTED]> wrote: > I've been digging into where

[google-appengine] Re: 1000 mcycles to update a single entity

2008-10-14 Thread David Symonds
On Wed, Oct 15, 2008 at 1:50 PM, Josh Heitzman <[EMAIL PROTECTED]> wrote: > Actually, I'm it take about 1500 mcycle to update one entity and then > an about an additional 1000 mcycle per additional entity (each a > different kind in this case) that is updated via the same db.put call. Is this in

[google-appengine] Re: 1000 mcycles to update a single entity

2008-10-14 Thread Josh Heitzman
Regarding the first question, those mcycle numbers are from logs on GAE, not from local profiling. But if you mean are lots of people using, no. I was the only user with any data when I did the test. Regarding the second question, the entities are not what I would consider large. For example, o

[google-appengine] Re: decision to be an API and not a protocol...

2008-10-14 Thread Jon McAlister
We are indeed an application hosting infrastructure first and foremost, as Peter correctly claims. And yes, we do have protocols underlying all of our APIs. They are built on protocol buffers: http://code.google.com/p/protobuf/. We presently serve only HTTP, though, and are not interested in servi

[google-appengine] Re: decision to be an API and not a protocol...

2008-10-14 Thread Jon McAlister
Aral, We can and are doing both. We're working on implementing new runtime languages, while also making infrastructural improvements to our existing APIs and python runtime, while fixing bug after bug, and while keeping the servers up and happy. It's a lot of work but our team is growing and we a

[google-appengine] Re: 3000 mcycles and This request used a amount of CPU and may soon exceed its quota

2008-10-14 Thread Jon McAlister
Matija, you said: """or that app-engine quota permits this CPU usage only few times let's say per minute and that they will stop my application for several hours if I continue with this usage.""" Bingo, that is exactly what we do. We don't absolutely forbid such high CPU requests but we do highl

[google-appengine] Re: ghs google servers.down ?

2008-10-14 Thread Jon McAlister
Hello, I just checked our internal monitoring tools and can see no record of any failures for 64.233.179.121 at that time. Jon On Oct 13, 11:08 pm, poke <[EMAIL PROTECTED]> wrote: > c:\>pingwww.bitpoll.net > > Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data: > Request timed out.

[google-appengine] Re: Possible to subclass User?

2008-10-14 Thread pr3d4t0r
On Oct 14, 8:15 am, Alex Vartan <[EMAIL PROTECTED]> wrote: > Apologies if this is a simple question, I'm still a python / GAE > novice. Is it possible to subclass the User class? I have just a > couple of extra properties and I'd like to store with User and rather > not create a duplicated UserOfM

[google-appengine] Re: 3000 mcycles and This request used a amount of CPU and may soon exceed its quota

2008-10-14 Thread Josh Heitzman
Jon said: "Josh, to address your question, what you are really looking for is improved support for offline processing (there are many issues for this listed in the Issue Tracker). With that infrastructure in place we may be able to adjust the limits. Offline processing is orthogonal to billing."

[google-appengine] Re: How to access Google Cache from App Engine?

2008-10-14 Thread Jon McAlister
Sure! You can use the urlfetch API: http://code.google.com/appengine/docs/urlfetch/ On Oct 14, 8:31 am, Vacilando <[EMAIL PROTECTED]> wrote: > Hi, > > In an application I build I sometimes need to check on a page, but it > is enough for me (and presumably much faster) if I could read its > lates

[google-appengine] Re: Getting 'UnicodeDecodeError'. Please help

2008-10-14 Thread 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 th

[google-appengine] Re: decision to be an API and not a protocol...

2008-10-14 Thread Jon McAlister
And, by that comment I don't mean to imply that we're not interested in HTTPS :-P, but instead that we're not interested in opening up direct protocol buffer access to our APIs. On Oct 14, 9:17 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > We are indeed an application hosting infrastructure firs