[google-appengine] Re: Files not updating?

2009-03-25 Thread shindig user
thank you very much. :) that does seem to fix the problem. On Tue, Mar 24, 2009 at 5:54 PM, djidjadji djidja...@gmail.com wrote: You have a limit of 250 times update a day. See your quota page near the bottom. I had a problem too that not all the new static files where visible after the

[google-appengine] Re: Cold app startup stats in case you're curious

2009-03-25 Thread Robert
Useful stuff, thanks! Just yesterday I was looking into this same issue. I was wondering if plain 0.96 Django use (without appengine helper or patch) would be significantly faster, and your post really makes me want to try that. I changed the handling of a single url in my app to be a plain GAE

[google-appengine] Re: Ideas for a bit more advanced search

2009-03-25 Thread Robert
Hi, Interesting issue. I think that you have problems scaling this as the inequality filter on query for Keywords will actually result in a set of queries. I'm trying an alternative approach, but to meet some possible slightly different requirements. I create a db record IndexTerm for each

[google-appengine] Re: Accessing the datastore remotely with remote_api

2009-03-25 Thread GregF
It sounds like you are trying to use remote_api from GAE, rather than your local machine. GAE libraries have sockets locked down to prevent abuse, which may be the source of your problem. On GAE, the only network option you have is url_fetch.

[google-appengine] Re: open source app engine

2009-03-25 Thread GregF
Thanks for publicising this - it is excellent news and will make developers less nervous about dipping their toes into GAE. It is also testament to Google's corporate ethics that they are supporting this project - just imagine the storm of lawsuits that would land on anyone trying to do this

[google-appengine] Re: Accessing the datastore remotely with remote_api

2009-03-25 Thread service G2100
Yes, I am trying to use remote_api from GAE. Since each application has resource limitation. Just trying to use multiple apps to connect single data source. Best Regards Tom Wu 2009/3/25 GregF g.fawc...@gmail.com It sounds like you are trying to use remote_api from GAE, rather than your

[google-appengine] Re: Accessing the datastore remotely with remote_api

2009-03-25 Thread Ian Lewis
Tom, You can't use the remote api from appengine. It's for use in accessing the data from applications outside appengine. AFAICT, trying to connect multiple apps to a single datasource to get around resource limitations is a violation of google's terms of service. You might want to take a look

[google-appengine] Re: Accessing the datastore remotely with remote_api

2009-03-25 Thread service G2100
Hi lan, According to the TOS. Does it mean app engine only for small application ? No scaling structure will approve by google ? Is any possibility for pay user like amazon EC2 and simpledb ? Thanks. Best Regards Tom Wu 2009/3/25 Ian Lewis ianmle...@gmail.com Tom, You can't use the

[google-appengine] Re: Does anyone know how to implement a file upload progress bar

2009-03-25 Thread Neves
Since GAE returns the server response only when its complete, the only way to do file upload progress is using Flash, like in http://swfupload.org/ On 25 mar, 02:05, ni newt...@gmail.com wrote: I am trying to add a file update functionality to my application and it works fine.  However, when

[google-appengine] Re: Access external resources with IP block from GAE

2009-03-25 Thread Neves
I am curious if GAE would add payed fixed ip address like Amazon did. On 24 mar, 06:28, Alars andr...@alit.se wrote: Hi all, My GAE app needs to access an external service wich uses an IP check. Is it possible to use a static IP with GAE or does anyone have an idea for a workaround? (I dont

[google-appengine] Re: Contacting Appengine Team

2009-03-25 Thread Makeable
Thank you kindly Marzia. Brgds, Matt Williams On Jan 28, 1:11 pm, Marzia Niccolai ma...@google.com wrote: Hi Matt, I believe the issue should now be sorted out with the email with which you are writing from. You should be able to sign in to App Engine and create apps

[google-appengine] Re: Accessing the datastore remotely with remote_api

2009-03-25 Thread service G2100
It will be wonderful If google can provide the remote access from GAE for billing account. Best Regards Tom Wu 2009/3/25 service G2100 service.g2...@gmail.com Hi lan, According to the TOS. Does it mean app engine only for small application ? No scaling structure will approve by google ?

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-03-25 Thread sagasw
You could try to get with this url http://lh6.ggpht.com/_mUcXljy1w9g/SaQ-uXbkY4I/ACE/DJtdqCz6u50/s800/IMG_6776.jpg If it is successful, I know the reason. On Feb 26, 6:32 pm, G. Nyman teh...@gmail.com wrote: Hello everybody, I have been banging my head against this problem for a

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-03-25 Thread service G2100
Cache ! 2009/3/25 sagasw sag...@gmail.com You could try to get with this url http://lh6.ggpht.com/_mUcXljy1w9g/SaQ-uXbkY4I/ACE/DJtdqCz6u50/s800/IMG_6776.jpg If it is successful, I know the reason. On Feb 26, 6:32 pm, G. Nyman teh...@gmail.com wrote: Hello everybody, I

[google-appengine] GQL: Computed column

2009-03-25 Thread Will
Hi there, I have a model like this, class Rating(db.Model): ... total_rating = db.IntegerProperty(required=True, default=0) num_of_rating = db.IntegerProperty(required=True, default=0) I'd like to return the top 10 average rating entities, like in SQL: ORDER BY

[google-appengine] Re: App Engine Patch - dumpdata then loaddata

2009-03-25 Thread Big Stu
Alright, I think I optimistically read Waldemars note about how DateTimeProperty was the only property that is supported. I'll shelf this for now. I'll take a stab at this at implementing the other properties at some point soon. Stu On Mar 24, 7:45 pm, Big Stu stu.dohe...@gmail.com wrote:

[google-appengine] Re: GQL: Computed column

2009-03-25 Thread Adam
I think that you should add an average_rating field to your model, and whenever you update the total_rating and num_of_rating columns, recompute the average rating and write that to the record as well. Then, you can query quite simply on the average rating field. You will, of course, need to do

[google-appengine] Re: django form problems

2009-03-25 Thread Arun Shanker Prasad
Hi, I think the Django forms by default sets the 'required=True'. If you want the form to be submitted without any values u need to supply 'required=False'. wf_first_name = forms.CharField(required=False) Thanks, Arun Shanker Prasad. On Mar 25, 7:51 am, arnie parvez...@rediffmail.com wrote:

[google-appengine] Re: How to do editing??

2009-03-25 Thread Arun Shanker Prasad
Hi, If you are using Django framework, request.POST.get('field_name') will give you the post value. As to what to use to get the form in edit mode use, editForm = UserProfileForm(instance=db.get(key)) To use in validation i.e postback, postbackForm = UserProfileForm(data=request.POST)

[google-appengine] Synchronized access to memcache

2009-03-25 Thread ragh...@gmail.com
I am trying to create a 'user activity' queue in memcache. Example: User1 logged in at time t1 User2 logged out at time t2 User1 played poker at time t3 User1 updated profile at time t4 Data as in above example, is stored in memcache with key name = ActivityQueue At any given time, I need all

[google-appengine] How to control the access to a set of static files

2009-03-25 Thread Dong
Hi, The application I am developing now need to control the access to a set of static files (pdfs). I still have no idea about how to achieve thin in app engine. Can someone point out? Cheers, Dong --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: How to control the access to a set of static files

2009-03-25 Thread Barry Hunter
You can actully serve files that 'look' static via a python script. And because its a script you can put what ever authenitication method you like. Have a look in the documentation there is a demo if serving images dynamically. The images are fetched from the datastore which has the benefit you

[google-appengine] Re: How to control the access to a set of static files

2009-03-25 Thread Dong Liu
Thanks for the suggestion. I think what you mentioned is http://code.google.com/appengine/docs/python/images/overview.html I will verify if it is good for my case. Cheers, Dong On Wed, Mar 25, 2009 at 11:20 AM, Barry Hunter barrybhun...@googlemail.com wrote: You can actully serve files

[google-appengine] SMS Verification

2009-03-25 Thread Hsinmu
Hi all, I couldn't find anyone to contact about the SMS verification problem so I decided to post a message here and see if anyone has any advices. I tried using my US ATT cell phone for the SMS verification but I never received one. However, I can receive SMS from any other phones or Internet

[google-appengine] Re: Accessing the datastore remotely with remote_api

2009-03-25 Thread Andy Freeman
http://groups.google.com/group/google-appengine/browse_thread/thread/10fc2635dbfc6b6e On Mar 25, 3:32 am, service G2100 service.g2...@gmail.com wrote: Yes, I am trying to use remote_api from GAE. Since each application has resource limitation. Just trying to use multiple apps to connect

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-03-25 Thread Jeff S
On Mar 22, 4:10 pm, notcourage klr...@gmail.com wrote: Did you ever find the solution? Is photo.media.thumbnail[1].url the URL for the actual image? Or a page containing it? Great question, it would help if we could see URL being requested. The reason I most often see for not being able to

[google-appengine] Re: getlistfeed fails

2009-03-25 Thread Jeff S
Hi mrsixcount, I haven't reproduced this issue but I have a few suggestions which would help narrow down the problem. I noticed the following lines, which can now be removed because run_on_appengine does the same thing. import gdata.urlfetch # Use urlfetch instead of httplib

[google-appengine] Re: Cold app startup stats in case you're curious

2009-03-25 Thread cz
Django is pretty resource intensive what with all the middleware and template processing so it makes sense that a more minimal app would be much faster. As for using .96 my guess is that you'd save ~180ms by skipping zipimport and a fair bit more by not having to compile all the imports (assuming

[google-appengine] Manual Authentication

2009-03-25 Thread r00723r0
I am writing a laptop theft recovery service. The client requests / update on the Google App Engine server, with user credentials, through HTTPS every few minutes. The server stores the IP from which the request was made and the time the request was made in the user information database model. My

[google-appengine] Re: my GAE domain is being redirected to an empty Google Sites homepage...

2009-03-25 Thread Marzia Niccolai
Hi, Try following the directions here (with my instead of www): http://groups.google.com/group/google-appengine/web/deleting-existing-www-mapping-from-google-apps -Marzia On Sat, Mar 21, 2009 at 10:13 PM, William searchmon...@gmail.com wrote: Anyone ever have this happen? I have a web app

[google-appengine] Re: Does anyone know how to implement a file upload progress bar

2009-03-25 Thread ni
Neves, Thanks, I will give this a try. On Mar 25, 7:42 am, Neves marcos.ne...@gmail.com wrote: Since GAE returns the server response only when its complete, the only way to do file upload progress is using Flash, like inhttp://swfupload.org/ On 25 mar, 02:05, ni newt...@gmail.com wrote:

[google-appengine] President Obama open for questions on Google Moderator and App Engine

2009-03-25 Thread Brett Slatkin
Hey Everyone, Just wanted to point out something cool that's going on with App Engine right now: http://www.whitehouse.gov/blog/09/03/24/Open-for-Questions-President-Obama-to-Answer-Your-Questions-on-Thursday/ http://googleblog.blogspot.com/2009/03/citizen-participation-that-scales-call.html

[google-appengine] Re: Are all ListProperties implicitly indexed?

2009-03-25 Thread Marzia Niccolai
Hi, Everything that is query-able must be indexed ( http://code.google.com/appengine/articles/index_building.html). So if you want to store, but not query, a list, I would suggest using db.BlobProperty. -Marzia On Mon, Mar 23, 2009 at 1:08 AM, an0 an0...@gmail.com wrote: If so, can I

[google-appengine] Re: Created a new account and a new app, now app has vanished

2009-03-25 Thread Marzia Niccolai
Hi, You need to access the dashboard at http://appengine.google.com/a/ablepear.com . -Marzia On Fri, Mar 20, 2009 at 5:55 PM, Able Pear Software aps.chan...@ablepear.com wrote: I created a new account about a half hour ago and added a new app after confirming via SMS. After submitting all

[google-appengine] Re: Locked out

2009-03-25 Thread Marzia Niccolai
Hi, I am not able to replicate this issue. Are you sure you are accessing http://appengine.google.com ? If so, could you provide a list of steps you followed to replicate this as well as a screenshot of the error? -Marzia On Sun, Mar 22, 2009 at 8:53 AM, Mr Dynamite chris.mcl...@gmail.com

[google-appengine] Re: Use my Google Apps account for app engine

2009-03-25 Thread Marzia Niccolai
Hi, Yes, you can use your Google Apps account with Google App Engine. Just access the Admin console through http://appengine.google.com/a/yourdomain.com -Marzia On Mon, Mar 23, 2009 at 12:53 PM, Ronn Ross ronn.r...@gmail.com wrote: Hello, I subscribed to google apps premium addition. I

[google-appengine] Re: Data upload: differences between bulkload_client and bulkloader ?

2009-03-25 Thread Marzia Niccolai
Hi, The article is now obsolete and should be removed, it explains how to use the bulk upload tool that was available at launch. Recently, we released an improved version of the tool, which is what the second document explains. -Marzia On Tue, Mar 24, 2009 at 4:58 AM, Julian

[google-appengine] Re: Synchronized access to memcache

2009-03-25 Thread David Wilson
Hi Raghavv, The memcache API provides the ability to atomically increment an integer key, and return the old value. You can use this feature to build an efficient circular buffer that supports hopefully consistent updates. I started such a class here: http://www.pastie.org/427122 (note this code

[google-appengine] Re: Manual Authentication

2009-03-25 Thread Marzia Niccolai
Hi, Please see the information in our Google Accounts section which shows you how to request/require login and generate login/logout URLs: http://code.google.com/appengine/docs/python/users/ -Marzia On Wed, Mar 25, 2009 at 11:43 AM, r00723r0 r0072...@gmail.com wrote: I am writing a laptop

[google-appengine] Re: memcache, What types can it contain?

2009-03-25 Thread Marzia Niccolai
Hi, For a higher level answer, you can only store things in memcache that are pickle-able. The best way to determine if something is pickle-able is to read the Python docs: http://docs.python.org/library/pickle.html -Marzia On Tue, Mar 24, 2009 at 8:34 PM, Lee Olayvar leeolay...@gmail.com

[google-appengine] Re: Access external resources with IP block from GAE

2009-03-25 Thread Marzia Niccolai
Hi, Currently, there is no way to get a fixed IP address with App Engine. The range of possible IPs is large, and we don't release the list of all IPs your app could serve from. -Marzia On Wed, Mar 25, 2009 at 4:44 AM, Neves marcos.ne...@gmail.com wrote: I am curious if GAE would add payed

[google-appengine] Re: President Obama open for questions on Google Moderator and App Engine

2009-03-25 Thread peterk
That's pretty cool, and a nice 'poster-child' for appengine. Is this a somewhat permanent arrangement? Will the Whitehouse be doing this on a recurring basis? On Mar 25, 10:01 pm, Brett Slatkin brett-appeng...@google.com wrote: Hey Everyone, Just wanted to point out something cool that's

[google-appengine] Re: Manual Authentication

2009-03-25 Thread r00723r0
I may have explained myself incorrectly. I need to log in from an invisible client without a web interface, and the login URL is unknown to the standalone client. The client needs to log in and send some data silently. The main problem is that the username and password are saved, so the user

[google-appengine] Flash, AWS S3, GAE - good solution? (secret Key stored in GAE)

2009-03-25 Thread tom s
I have a Flash/Flex app that lets users upload a file to AWS S3. I have it working, but I want to run it by a few folks to see if there is a better way, and checker whether there might be any security issues. 1. User selects file 2. flash connects to GAE, gets new ID (sequential) 3. flash uses

[google-appengine] Re: Manual Authentication

2009-03-25 Thread Steve Robillard
It might help to know why all the subterfuge what problem are you trying to solve? As a user I would be suspicious of any system that forwards me through a series of links and sends secret information. With all do respect it sounds like you are trying to proxy a limited resource or bypass a 3rd

[google-appengine] Re: Cold app startup stats in case you're curious

2009-03-25 Thread Brandon Thomson
My apps all use webkit/0.96 django templates. Cold start times are 10ms for handlers that don't use templates and closer to 50ms for handlers that do. On Mar 25, 2:50 pm, cz czer...@gmail.com wrote: Django is pretty resource intensive what with all the middleware and template processing so it

[google-appengine] Re: Manual Authentication

2009-03-25 Thread GregF
Ping the server for a random number (the salt), then hash the salt with the hash of the password and send that to the server. The server stores a hash of the password, and hashes that and the salt and compares it with the sent hash - if it matches, it's authenticated.

[google-appengine] application instance observation and control

2009-03-25 Thread Andy Freeman
We've seen a lot of discussion about how long application instances stay around waiting for a query. I'd assume that this interval is actually somewhat variable and understand that Google doesn't want to make any promises. What else, besides idle time, kills application instances? We've also

[google-appengine] Datastore API and Flex Applications

2009-03-25 Thread Doug
Good Evening Everyone, Is there an API for accessing the datastore from an Adobe Flex application? I was thinking that I had read about one, but now I can't find it. Thanks, Doug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[google-appengine] HTMLParser error?

2009-03-25 Thread 秦锋
When I'm using HTMLParser to access a link below: http://www.stats.gov.cn/tjsj/ndsj/2007/html/C0301c.htm SDK keeps reporting: preTraceback (most recent call last): File quot;C:\Program Files\Google\google_appengine\google \appengine \ext\webapp\__init__.pyquot;, line 498, in __call__

[google-appengine] Re: Manual Authentication

2009-03-25 Thread r00723r0
It seems odd, I know, but I'm not doing anything malicious. I am making a laptop recovery service. The client on the laptop must update the Google App Engine server with the laptop's IP every few minutes to the App Engine server can keep track of it. But I need to make sure what user is sending

[google-appengine] Re: Manual Authentication

2009-03-25 Thread r00723r0
Hello, and thank you. Could you give me an example of such a transaction? On Mar 25, 9:02 pm, GregF g.fawc...@gmail.com wrote: Ping the server for a random number (the salt), then hash the salt with the hash of the password and send that to the server. The server stores a hash of the

[google-appengine] Re: Manual Authentication

2009-03-25 Thread Steve Robillard
This seems to be a client side issue. Why the requirement to authenticate with something other than a Gmail address if at all. Why not just have the client add a header or headers to a request page which can uniquely id the machine that is calling. And ditch all requests without this header(s).

[google-appengine] Re: Manual Authentication

2009-03-25 Thread r00723r0
Wait... I didn't say anything about not using a Gmail account. Here, look. Let me break it down as simply as I can. The client, which a program downloaded on the laptop, authenticates somehow and sends the IP address to the App Engine server every few minutes (10 minutes by default). The ISP

[google-appengine] __init__ and datastore get?

2009-03-25 Thread Devel63
A class's __init__() constructor gets called whether you are creating a new db.Model object in memory for the first time, or retrieving an existing entity from the datastore. Is there some accepted way for knowing which case you are in from within the __init__ call? If retrieving from the

[google-appengine] Re: Data upload: differences between bulkload_client and bulkloader ?

2009-03-25 Thread Julian
Thanks for the clarification. In the old version, the way to assign key names for uploaded data was to override HandleEntity() and to create a new entity there. With the new version(bulkloader.py), it seems you should override GenerateKey() instead. Maybe you can add it to the documentation.

[google-appengine] is appengine run as a thread or as a process?

2009-03-25 Thread wangscu
hello guys! i have a problem with GAE when i want to make a reverse_rpc application.like i wait one request util the other request notify it . so it can make the client like have a state . but i code like below. here some problem when i inovke AddMessage() after GetMessage() , the

[google-appengine] write the requested data into app engine database

2009-03-25 Thread DiveIntoGAE
the code is below: person.FAMILY_NAME = self.request.get('FAMILY_NAME').encode ('utf-8') this code will cause the below error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128) I have # -*- coding: utf-8 -*- in my .py file,and i also