[google-appengine] Re: Still having trouble with high-cpu warnings for thumbnails.

2008-09-25 Thread Thomas Johansson
At Google IO I believe it was mentioned that TextProperty's are fine for anything that you don't want indexed; They are no less efficient than strings for short data. You might want to look into trying that out with mime and type if you don't filter/order by them. Other than that, I'd suggest

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-25 Thread Thomas Johansson
Marzia - That is great news. Will this also help with genuine traffic spikes? A simple application I use to test, which does a single datastore fetch for 5 items that are a few bytes each, and stores it in memcache for 10 seconds, can go over quota by a simple ab -c 30 -n 1. I've tried with

[google-appengine] Re: Django forms, what to do when all the data isn't present

2008-09-25 Thread Peter
That looks solid. I'll give it a go Thanks for helping a newbie! Pete On Sep 25, 6:04 am, iceanfire [EMAIL PROTECTED] wrote: I'm no Django expert, but here's what I do. Use 'exclude' to exclude stuff: class Message Form(djangoforms.ModelForm):     class Meta:         model = Message      

[google-appengine] Re: BadRequestError: Salary search with over 500K records

2008-09-25 Thread Thomas Johansson
Entities always have a key, available as entity.key(). In addition to that, you can set a friendly key at construction only (can't be changed or set later), using key_name. If you do not however set a key_name, app engine will assign a numeric id, available as entity.key().id(). In other words,

[google-appengine] Re: Django forms, what to do when all the data isn't present

2008-09-25 Thread iceanfire
No problem. Take a look at this as well: http://code.google.com/appengine/articles/djangoforms.html On Sep 25, 2:08 am, Peter [EMAIL PROTECTED] wrote: That looks solid.  I'll give it a go Thanks for helping a newbie! Pete On Sep 25, 6:04 am, iceanfire [EMAIL PROTECTED] wrote: I'm no

[google-appengine] Zip django ?

2008-09-25 Thread Vitaliy
Hi On djangocon conference Guido says that you can zip django (trunk or 1.0), so uploading to GAE will be faster.. so what should I do.. just put django.zip inside or what ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] Re: Zip django ?

2008-09-25 Thread Alexander Pugachev
Take a look here: http://docs.python.org/lib/node853.html 2008/9/25 Vitaliy [EMAIL PROTECTED] Hi On djangocon conference Guido says that you can zip django (trunk or 1.0), so uploading to GAE will be faster.. so what should I do.. just put django.zip inside or what ?

[google-appengine] Re: Zip django ?

2008-09-25 Thread Vitaliy
Great news! Thanks, man Alexander Pugachev wrote: Take a look here: http://docs.python.org/lib/node853.html 2008/9/25 Vitaliy [EMAIL PROTECTED] Hi On djangocon conference Guido says that you can zip django (trunk or 1.0), so uploading to GAE will be faster.. so what should I do..

[google-appengine] Re: Still having trouble with high-cpu warnings for thumbnails.

2008-09-25 Thread Bryan A. Pendleton
-So are textProperties more efficient than StringProperties because they're not indexed? You'd have to find the talk from Google IO to be sure. I believe it was the one about scalability, in the QA section. But yes, that is my understanding. As I understand it, every field

[google-appengine] Re: When is GAE going to support Django 1.0?

2008-09-25 Thread Michael Angerman
This is the latest update on this topic I believe, so the answer to your question is its still not there. http://groups.google.com/group/google-appengine/msg/c3bb71cd63d8d32f If other people have further information please let us know... Thanks, Michael I Angerman Albuquerque, New Mexico

[google-appengine] templates - offline yes, online no

2008-09-25 Thread acm
Hi readers, I am having a probleme with my templates and the place they stay in. Locally (dev_appserver) it works without any problems, but after I uploaded my project to appengine (appcfg update) and visiting http://goroutes.appspot.com the exception TemplateDoesNotExist: Home.de.html is

[google-appengine] Re: ROR, PHP and Amazon Web services

2008-09-25 Thread Savraj Singh
Yeah, it would be nice to know Google's app-engine plans. I'm a RoR and PHP developer learning Python because app-engine is cool... But if app-engine is just going to support Rails in the future, then I feel like I'm wasting my time now. App engine team -- do let us know what you're planning!

[google-appengine] Dealing with lots of data -- any tips?

2008-09-25 Thread Savraj
So I have stored some data in the app-engine database, with new data every 5 seconds. example dataset: ID - Time - Value 1 - 9/20/2008 16:00:00 - 100 2 - 9/20/2008 16:00:05 - 120 3 - 9/20/2008 16:00:10 - 130 4 - 9/20/2008 16:00:15 - 250 ... 17278 - 9/21/2008 15:59:60 - 200 17279 - 9/21/2008

[google-appengine] How to pass additionap parameters to Form

2008-09-25 Thread Tiranox
How to pass additionap parameters to Form For example: class PhoneNumber(db.Model): number = db.StringProperty() phone_type = db.StringProperty( choices=('work', 'cell')) class PhoneNumberForm(djangoforms.ModelForm): v class Meta: model = PhoneNumber def

[google-appengine] Which framework is better for use with appengine with webservices

2008-09-25 Thread Carlos Delfino
Hi appengineers!!! My Name is Carlos Delfino, and new on App Engine. I work on app for contact centers, and want put at google (server and gadgets). But for my application work, I need communicate with a WebServices(XML-RPC and SOAP) make with php and java. which Framework Is better for use

[google-appengine] Re: Facebook DownloadError

2008-09-25 Thread Adam Loving
I'm also seeing DownloadError: ApplicationError: 3 intermittently when using urlfetch to call the Facebook API. On Aug 27, 7:44 pm, llad [EMAIL PROTECTED] wrote: I am also having this issue with urlfetch.  It works 100% of the time in dev but can't get it to work at all in prod.  I'm

[google-appengine] Re: High Amount CPU Quota should be removed

2008-09-25 Thread Ethan Post
In another post someone was exceeding the 5 second timeout with urlfetch trying to get an RSS feed for a Google Docs account. I am planning on using the Google Charts API and I wonder if I won't hit the same issue. However, this got me thinking that writing a service like the Charting API on GAE

[google-appengine] Re: How to specify a key_name parameter when bulk uploading?

2008-09-25 Thread James Little
I'm also interested in knowing how to do this; any ideas?? On Sep 8, 2:05 am, Peter Recore [EMAIL PROTECTED] wrote: I have read the bulk loader article, skimmed the bulkloader python source, searched this group, and experimented but I still can't figure out how to specify a key_name parameter

[google-appengine] Re: BadRequestError: Salary search with over 500K records

2008-09-25 Thread Venkatesh Rangarajan
Exactly my thought... One cannot assume that the keys are in ascending order or Can we ? On Thu, Sep 25, 2008 at 7:42 AM, Tony Arkles [EMAIL PROTECTED] wrote: Thomas, I think that solution will only work if the items are being returned such that their keys will be in ascending order (which in

[google-appengine] TypeError: 'NoneType' object is unsubscriptable

2008-09-25 Thread Venkatesh Rangarajan
Hi, I am running a simple query keyword = self.request.get('keyword') if len(keyword) =0: keyword='Google Engineer' query = search.SearchableQuery('Visa') query.Search(keyword) for result in query.Get(100, int(page)): visas.append(result) I keep running into the

[google-appengine] urlfetch User-agent not recognized by Yahoo shopping API

2008-09-25 Thread Adam Loving
I realize this is an issue for Yahoo Shopping, not Google, but posting is disabled over at the Yahoo Shopping discussion board, and I have to post it somewhere :). When I call the Yahoo Shopping API using urlfetch from my app engine app, I always receive a User-agent not valid return code. I am

[google-appengine] Re: High Amount CPU Quota should be removed

2008-09-25 Thread mitnickcbc
Anyone has any idea how this warning message is calculated? Many of the requests to your application are taking a very long time. Please optimize these requests. It seems I meet quota denials every time this one shows up. I'm unable to tune anymore if I don't know how it is calculated. There

[google-appengine] Re: templates - offline yes, online no

2008-09-25 Thread Wooble
Nothing in your python scripts, including the template engine, can access anything in a static directory or declared as a static file in app.yaml. The static files are not copied to the same server as your python scripts so it doesn't matter how you try to reference them; they're *only*

[google-appengine] Re: Facebook DownloadError

2008-09-25 Thread Marzia Niccolai
Hi, The DownloadError: ApplicationError: 3 (not the most descriptive message, I acknowledge), indicates that the remote server took too long to respond to the request. Currently HTTP requests are allotted about 5 seconds to return the request before receiving an error. In this case you can

[google-appengine] Re: templates - offline yes, online no

2008-09-25 Thread Alexander Meinke
Wooble wrote: The static files are not copied to the same server as your python scripts so it doesn't matter how you try to reference them; they're *only* available at their static URLs over the web. So it is impossible having templates in a static_[dir|files], because the template engine

[google-appengine] Please Help me, Server Not Found, 404

2008-09-25 Thread aonlazio
Hi, I signed my domain name through Google (via Godaddy indeed) . I just add www.mydomain.com into Google App ID. And add the host name into A record in DNS settings like this mydomain.com216.239.32.21 mydomain.com216.239.34.21 mydomain.com216.239.36.21 mydomain.com

[google-appengine] Re: urlfetch User-agent not recognized by Yahoo shopping API

2008-09-25 Thread Marzia Niccolai
Hi Adam, Currently, App Engine does not allow applications to add or modify the user agent header, so I'm not sure there is something that can be from your application that will allow Yahoo! to accept the requests. Your best bet is to contact Yahoo! when the re-enable posting to see if they can

[google-appengine] Re: Can User API perform single sign in for other Google web services?

2008-09-25 Thread Jeff S
The App Engine users API is separate from the authorization system required by Google Data APIs (like picasaweb). A user will need to authorize your app to access their picasaweb data, so I recommend using AuthSub. It is still a good idea to have users log in to your app, because you can then

[google-appengine] Per Session Datastore

2008-09-25 Thread [EMAIL PROTECTED]
First post related to my first ever app, so watch out. I've had a lot of fun making this: http://chroma-some.appspot.com/ And I've gotten a fair volume of usage which has encouraged me to keep polishing it. One issue I was having was attempting to store too many data structures (big dictionary

[google-appengine] Re: How to specify a key_name parameter when bulk uploading?

2008-09-25 Thread James Little
Found a solution here: http://groups.google.com/group/google-appengine/browse_thread/thread/a0b8480f797bcd4e?pli=1 uses a HandleEntity override. On Sep 25, 5:22 pm, James Little [EMAIL PROTECTED] wrote: I'm also interested in knowing how to do this; any ideas?? On Sep 8, 2:05 am, Peter

[google-appengine] Re: BadRequestError: Salary search with over 500K records

2008-09-25 Thread Tony Arkles
You definitely can not. From http://code.google.com/appengine/docs/datastore/keysandentitygroups.html: An application should not rely on numeric IDs being assigned in increasing order with the order of entity creation. This is generally the case, but not guaranteed. On Sep 25, 10:41 am,

[google-appengine] Re: Automatically adding a static index.html to a URL with app.yaml

2008-09-25 Thread SIE
Marzia, Thanks for your reply. I cut and pasted your handlers into my app.yaml file, but the error persists, and it may be a fundamental problem. If the main directory contains a subdirectory dir with two files index.html styles.css with index.html including styles.css, then with the

[google-appengine] Re: Automatically adding a static index.html to a URL with app.yaml

2008-09-25 Thread Wooble
On Sep 25, 4:46 pm, SIE [EMAIL PROTECTED] wrote: However, if we substitute for the last handler - url: /dir   static_files: dir/index.html   upload: dir/index.html then a call to http://localhost:8080/dir yields the error INFO     2008-09-25 20:39:07,117 dev_appserver.py] GET /dir

[google-appengine] Re: Automatically adding a static index.html to a URL with app.yaml

2008-09-25 Thread SIE
Wooble, Your solution of using an absolute URL instead of a relative one worked. Many thanks! On Sep 25, 3:51 pm, Wooble [EMAIL PROTECTED] wrote: This isn't a problem with App Engine, that's (expected) behavior by the web browser caused by a relative URL. The solution is to refer to

[google-appengine] Who would post a detailed app with testcases powered by gaeunit?

2008-09-25 Thread GAEFans
For example, some testcases for '%google_appengine_home%\demos \guestbook'. 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] Re: Please Help me, Server Not Found, 404

2008-09-25 Thread Sekhar
You need to set up an alias for www pointing to ghs.google.com. See http://www.google.com/support/a/bin/answer.py?hl=enanswer=47283 for detailed instructions - the page also has walk-throughs for many providers. On Sep 25, 10:58 am, aonlazio [EMAIL PROTECTED] wrote: Hi,      I signed my domain