[google-appengine] [google-appengine]

2009-03-08 Thread Steve Robillard
I am working on a blog article on GAE and using it as a CDN per the yslow suggestions. I have a few questions I would like to verify. 1) Is this data geographically dispersed and served from a location closest to the user? I thought that it was, but saw a recent post stating that all datastor

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
*** The Query Class *** http://code.google.com/appengine/docs/python/datastore/queryclass.html -- fetch(limit, offset=0) offset -- The number of results to skip. Then? Why do I see this error? BadRequestError: offset may not be above 1000 . . On Mar 8, 6:06 am, Wooble geoffsp...@gmail.com

[google-appengine] jQuery while doing Ajax call

2009-03-08 Thread Ritesh Nadhani
Hi Any idea what might be wrong with this AJAX AJAX call: http://paste.pocoo.org/show/106941/ - its always returning me XMLParse error but when done thru my Python client, it works. When I just do: response.write(request.raw_post_data) - i get var1=value1var2=value2 etc. Rather then the actual

[google-appengine] Re: key_name and Model API V2

2009-03-08 Thread Waldemar Kornewald
Hi Ryan, posting to the group since it could be interesting for others, as you suggested. On Sun, Mar 8, 2009 at 12:26 AM, Ryan Barrett ry...@google.com wrote: On Sat, 7 Mar 2009, Waldemar Kornewald wrote: is there a reason why entities can have a key id or a key_name? Would it be so much

[google-appengine] Re: jQuery while doing Ajax call

2009-03-08 Thread Let Delete My Apps
Hi Ritesh Nadhani, I think your code is complex. Can you try another more simple way, for example using the JSON/JSON-P technique? View the source code of my last app: http://pyoohtml.appspot.com/let-delete-my-apps/home . . On Mar 8, 12:49 pm, Ritesh Nadhani rite...@gmail.com wrote: Hi Any

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Sharp-Developer.Net
From http://code.google.com/appengine/docs/python/datastore/queryclass.html : The datastore fetches offset + limit results to the application. The first offset results are not skipped by the datastore itself. -- Alex http://sharp-developer.net/ On Mar 8, 10:56 am, Let Delete My Apps

[google-appengine] Re: Go2 is going to pay the bill. Go2 accepts donation now. Any cooperation is welcome.

2009-03-08 Thread peterk
I'm not familiar with typical proxy business models or the like but, currently it seems like the lifecycle of a user on your site is: 1) Visits go2.appspot.com 2) Puts desired URL in form and submits 3) Is redirected to the site they want So really the goal of the user is to get in and out of

[google-appengine] Re: Question: GAE and externally hosted databases

2009-03-08 Thread peterk
I don't think you can currently connect directly to, say, a mysql server from GAE. Access to remote servers on GAE is done via urlfetch: http://code.google.com/appengine/docs/python/urlfetch/overview.html Which limits you to http requests over port 80 or 443 only. You could, however, create a

[google-appengine] Re: Question: GAE and externally hosted databases

2009-03-08 Thread Let Delete My Apps
I think you could use JSONP http://www.google.com/search?hl=enq=JSONP+%22cross-site%22btnG=Search . . On Mar 7, 2:13 pm, whichpaul paul.swan...@gmail.com wrote: Is it possible to connect to externally hosted databases (eg. mysql running on a server outside of the google network) from an

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
Sorry but I do not understand :-( How can I see the record 2001 ? . . On Mar 8, 2:00 pm, Sharp-Developer.Net alexander.trakhime...@gmail.com wrote: Fromhttp://code.google.com/appengine/docs/python/datastore/queryclass.html : The datastore fetches offset + limit results to the application. The

[google-appengine] App Gallery Error (with start=600)

2009-03-08 Thread Let Delete My Apps
http://appgallery.appspot.com/results?recentapps=truestart=600num=5 Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 501, in __call__ handler.get(*groups) File /base/data/home/apps/appgallery/3.11/appgallery.py, line 398,

[google-appengine] Re: App Gallery Error (with start=600)

2009-03-08 Thread Let Delete My Apps
You can see another response: Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 501, in __call__ handler.get(*groups) File /base/data/home/apps/appgallery/3.11/appgallery.py, line 398, in get apps = query.Get(start +

[google-appengine] Re: New Limits for Several App Engine Operations

2009-03-08 Thread Let Delete My Apps
I think is useful to document the GAE's limits. See the post: http://groups.google.com/group/google-appengine/browse_thread/thread/f3e1070830cb534c# . . . . On Feb 13, 11:13 pm, Marce (Google) ma...@google.com wrote: For those of you who haven't already heard, we're very excited yesterday to

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread djidjadji
Make multiple queries. Use a value from the last object retrieved to select new objects with a greater value, __key__ is a good field to use, or use the field you sort on. Make sure you will stay within 30 sec wall clock time. 2009/3/8 Let Delete My Apps davide.rogn...@gmail.com: Sorry but I

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
Does an utility exists to simplify this bad work? (or some examples) I use this order: query.order('-time') . . . On Mar 8, 4:57 pm, djidjadji djidja...@gmail.com wrote: Make multiple queries. Use a value from the last object retrieved to select new objects with a greater value, __key__ is a

[google-appengine] Re: Initializing datastore with binary data

2009-03-08 Thread Pavel Byles
When I follow the article from: http://code.google.com/appengine/articles/bulkload.html I get this error: INFO 2009-03-08 11:22:39,197 bulkload_client.py] Starting import; maximum 10 entities per post INFO 2009-03-08 11:22:39,210 bulkload_client.py] Importing 2 entities in 28 bytes

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
This is a pagination problem: - items per page: 10 . . . On Mar 8, 5:25 pm, djidjadji djidja...@gmail.com wrote: If you sort on time why do you want to see the object that was stored 2000 entries ago. Do you also need the objects with time stamp 0..2000? It makes more sense to find the

[google-appengine] Re: Latency problem still really a problem

2009-03-08 Thread WeatherPhilip
On Mar 6, 7:14 pm, Brandon Thomson gra...@gmail.com wrote: They said it has been stabilized. But I agree, it is still much worse. The timeouts are the real problem; it's just impossible to complete certain operations. I get timeouts trying to put single entities into the datastore

[google-appengine] Google AdSense on App Engine

2009-03-08 Thread Let Delete My Apps
Idea: Can I put AdSense on my app to receive additional computing resources, instead to receive money? I saw: http://www.google.com/services/adsense_tour/index.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Annoucement: you may now purchase additional computing resources

2009-03-08 Thread Let Delete My Apps
See this idea: Google AdSense on App Engine http://groups.google.com/group/google-appengine/browse_thread/thread/416f671a246a3e07# . . . On Feb 24, 10:30 pm, Jeff S j...@google.com wrote: Hi all, We've just announced that it is now possible to purchase additional quota for your application.

[google-appengine] app-engine-patch migration problem

2009-03-08 Thread wonglik
Hi I am trying to migrate appengine-django project to use app-engine- path. Among other problems I get something really strange (for me :) ). While trying to run my app I have trouble importing my models : KindError at / No implementation for kind 'Club' Request Method: GET Request

[google-appengine] Re: Latency problem still really a problem

2009-03-08 Thread Tito
We have been experiencing datastore timeouts and, even worse, 502 timeouts since last week. A few CPU intensive pages and queries that were completing 100% of times until recently, now they constantly go into deadline exceeded error (after 30 seconds, when it would take only 1-2 seconds earlier)

[google-appengine] Re: app-engine-patch migration problem

2009-03-08 Thread Waldemar Kornewald
Hi, On 8 Mrz., 19:39, wonglik wag...@gmail.com wrote: I am trying to migrate appengine-django project to use app-engine- path. Among other problems I get something really strange (for me :) ). While trying to run my app I have trouble importing my models : KindError at / No

[google-appengine] Re: Latency problem still really a problem

2009-03-08 Thread Brandon Thomson
I suspect that it is real CPU that is unfortunately not doing any useful work. For example when you commit a transaction on a highly contentious entity, you may need to retry 50 or more times before succeeding. Each try wastes the same amount of CPU, but you only succeed in committing the

[google-appengine] How to write a custom validate function that can be called in db.djangoforms module?

2009-03-08 Thread darkhorse
I followed the example showed on The Django Form Validation Framework on Google App Engine by Alexander Power. (http://code.google.com/intl/ zh-CN/appengine/articles/djangoforms.html). it works well. But when I entered some string (not float number) in the target_price feild and submited, a

[google-appengine] Re: Latency problem still really a problem

2009-03-08 Thread herbert
hi, i'm wondering how bad your performance problems are - i'm new to google app engine, just deployed my new app last weekend for the first time.. and it was _always_ slow .. but i have no idea why .. for example a page with maybe one datastore query needs 3274ms-cpu according to the logs in the

[google-appengine] Re: Can anybody help me ?

2009-03-08 Thread job-info
Hello I got the same issue. Your application is exceeding a quota: Datastore Indices Count. This error have remained for 3 days even after I vacuumed some indexes. Could you help me with this? I found the same discussion about this eariler. Is there any way I can fix or avoid this by myself?

[google-appengine] Re: Converting model objects to JSON

2009-03-08 Thread mike.armstro...@gmail.com
Not sure if this is the best way but I wrote a class that all my models inherit. from django.utils import simplejson from google.appengine.ext import db from google.appengine.api import users from datetime import * import string class json(): def getString(self): s= {} p =

[google-appengine] Model

2009-03-08 Thread Ronn
Can you house your model in separate file than your controller, and just import it? Having the model in the logic gets clutter. Can anyone help? adiaŭ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: Go2 is going to pay the bill. Go2 accepts donation now. Any cooperation is welcome.

2009-03-08 Thread myzj
I think your should be open source so that more people can use it, modify it, improve it, 1GB/day enough for individuals, the On Mar 8, 12:37 pm, admin go2 go2apps...@gmail.com wrote: Andrew Badera: You are right. I should solicit donations on Go2 web, not here. Indeed, I have made a donation

[google-appengine] File Size and Total Files on Disk Limits?

2009-03-08 Thread Lee Olayvar
With the pricing system in place, has there been any talk of lifting both the file size limit, and the maximum of 1000 files on disk? My main concern though is the file size limit. With google system i'd love to use it but my need revolves around 50MB files, both images and audio. Any ideas if

[google-appengine] Just checking before I start using app engine - paypal/checkout, django 1.0....

2009-03-08 Thread Lou
Hey guys, I'm really keen on the idea of app engine. I've been developing a site with a friend and we are finishing off development/putting it up online at the moment. It's all written using django. We've found that our site is really slow (too many database queries I think). -it's the first

[google-appengine] Datastore is reset after machine is restarted

2009-03-08 Thread Andy Leonardo
Hello, I used bulkload_client.py to load some data into datastore on my local development environment successfully. I can browse the data using the SDK console. However, I noticed that all my test data is gone after I shutdown or restart my computer. I am on mac osx platform and I use

[google-appengine] ANNOUCEMENT: gaeutilities version 1.2.1 is now available. session bugfix

2009-03-08 Thread bowman.jos...@gmail.com
Not much new in this release. There was an issue where entities with empty sid values were getting created along with valid new sessions, this bug has been fixed. cache has also been expanded to have a has_key() method. Work has begun on a pagination library for gaeutilities, more information can

[google-appengine] Empty variable tag error

2009-03-08 Thread lancemiller777
Hello, I've made 7 GEA apps, so not a newbie. I am with heavy sigh asking for other eyes on a smalltime problem in my code. I've perused my code almost a whole day looking for cause of the problem. Searched this group with my error output. The line creating the error has duplicate line in other

[google-appengine] Re: Model

2009-03-08 Thread GregF
Yes you can, and as you suggest, it is a very good idea. Just create one file called my_models.py with the model definitions (say Cat and Dog), and in your other files just use from my_models import Cat. --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] Re: File Size and Total Files on Disk Limits?

2009-03-08 Thread Lee Olayvar
Note that i am aware of the filesize raise to 10mb, but in reality, its pointless in my opinion. It's basically disk filesize raise only. Given that you can only store 1000 files on the disk, you can't actually expect to store files on the disk for any real amount of time given that eventually

[google-appengine] Re: appspot.com - Traffic Details From Alexa

2009-03-08 Thread ryan
On Mar 7, 3:34 pm, Let Delete My Apps davide.rogn...@gmail.com wrote: This site is very useful (but is it reliable?)http://www.alexa.com/data/details/traffic_details/appspot.com it's not an answer to your question, but it's worth noting that this only counts apps that serve on appspot.com. it

[google-appengine] Re: ANNOUCEMENT: gaeutilities version 1.2.1 is now available. session bugfix

2009-03-08 Thread Joe Bowman
Forgot to post the url: http://gaeutilities.appspot.com On Mar 8, 7:50 pm, bowman.jos...@gmail.com bowman.jos...@gmail.com wrote: Not much new in this release. There was an issue where entities with empty sid values were getting created along with valid new sessions, this bug has been fixed.

[google-appengine] Re: key_name and Model API V2

2009-03-08 Thread Andy Freeman
we'd love to provide operations for advanced users to manage the id namespace, e.g. NextId(), SetNextId(), and ReserveIds(), which would all take a root entity as their argument. I assume that one of those operations allows programmers to assign the id to a db.Model instance for a new

[google-appengine] Using a pickled auth token

2009-03-08 Thread amc
Hi, I've been building an application that follows the feedfetcher example pattern for asking permission from the user to access particular feeds. In my case, I asked for access to spreadsheets and contacts. My spreadsheets access has been fine and I've written quite a bit of code reading

[google-appengine] Re: accepting user url link as input and making it a clickable link

2009-03-08 Thread thebrianschott
I got around to trying urlize on my production app and it works fine. The problem must have been in my older version of the SDK. Thanx for your help and encouragement, Niklas Brian in Atlanta --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: could not read from datastore on WindowsXP

2009-03-08 Thread A.TNG
On Fri, Oct 31, 2008 at 11:31 PM, erick erickbia...@gmail.com wrote: Hi guys, Everything seems to be working now. But I'm still having errors if I try to set my own datastore path via--datastore_path . I'm using the default datastore_path. Thanks. erick Hi, I got the same error

[google-appengine] Re: jQuery while doing Ajax call

2009-03-08 Thread Ritesh Nadhani
Hmm. I am not sure how JSON would be simpler then XML. Also, some other system use the same XMLRPC without any problem. The problem seems to be that jquery is not serializing the data to actual XML data and thus server is failing with ExpatParse error. Thoughts? On Sun, Mar 8, 2009 at 5:46

[google-appengine] Why google don't directly support django framework?

2009-03-08 Thread ajaxer
since this framework is the most popular one and the webapp model have no much difference from django as long as django module is also included in the system libraries. some of us would not dear to put projects on app engine because of the cost of migration, because the app engine is so different

[google-appengine] Re: could not read from datastore on WindowsXP

2009-03-08 Thread A.TNG
On Mon, Mar 9, 2009 at 10:03 AM, A.TNG tang.j...@gmail.com wrote: On Fri, Oct 31, 2008 at 11:31 PM, erick erickbia...@gmail.com wrote: Hi guys, Everything seems to be working now. But I'm still having errors if I try to set my own datastore path via--datastore_path . I'm using the default

[google-appengine] Somewhat Disappointed.

2009-03-08 Thread Owen
OK, I *love* GAE getting outa beta and charging. Yup, I *wanna* pay, so that I can get what I'd like. BUT: the downside is that they haven't offered me what I want. Django templates are fine, as is Python. But on the client side I still have to wrestle with Javascript .. which is also a fine

[google-appengine] HELP~~~~~ self.redirect() error after database action

2009-03-08 Thread Allen
I set a textarea to post data to database [ db.TextProperty() ], and then use self.redirect() switch to an other page. while there're not many inputed characters, it's ok. But when I inpute more character to post to database, the self.redirect() doesn't work, although the data has been saved in

[google-appengine] email change propagation

2009-03-08 Thread yucc
As mentioned at http://code.google.com/appengine/docs/python/users/userobjects.html, I just can't figure out what's the exactly situation for While an email address is unique to an account at a given moment, the user can change the email address for the account at any time ?What does that mean ?

[google-appengine] appcfg.py update error after upgrading to 1.1.9 and google-appengine-patch 1.0

2009-03-08 Thread Will
Hi there, I recently upgraded to GAE 1.1.9, and google-appengine-patch 1.0. The local test run is fine, but when I tried to upload to server using appcfg.py update, I got an error (see below). I'm using Python 2.5.2, Windows XP. Thanks in advance. Will - 2009-03-09