[google-appengine] Re: uploading app failed.... need help to fix..

2009-04-04 Thread Xavier Mathews
Yeah That You went over the free limit ame over the space. On 04/03/2009, Aaron shyhockey...@gmail.com wrote: So it's basicly saying I am going over a free limit? I am working for a company and they had the previous programmer to make a admin interface where I can just copy and paste in my

[google-appengine] Re: one more

2009-04-04 Thread Xavier Mathews
Yea But Your Code Is Also On Google SystemSo That Makes It Therer! The Are Only Goint To Give You So Much Privacy! On 04/04/2009, Portos ciber...@gmail.com wrote: of course they sould, specially to paying customers. I think that that kind of care and politeness is what they are paying

[google-appengine] Re: UTF-8 parameters, quote, unquote and WebOb UnicodeMultiDict questions

2009-04-04 Thread Sylvain
With UTF-8 parameters it doesn't work. I think the issue is with quote I don't know why but quote works with UTF-8 string (but it depends on the system) then unquote removes all special char Maybe we have to convert UTF-8 string to string (encode/decode) then quote the string p = u'François

[google-appengine] Re: {% extends %} and UTF-8

2009-04-04 Thread 'Αλκης Ευλογημένος
On Sat, Apr 4, 2009 at 7:14 AM, DocDay google@eoasys.com wrote: Is GAE causing this? I think its your editor. -- Alkis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: UTF-8 parameters, quote, unquote and WebOb UnicodeMultiDict questions

2009-04-04 Thread 'Αλκης Ευλογημένος
On Sat, Apr 4, 2009 at 9:24 AM, Sylvain sylvain.viv...@gmail.com wrote: Maybe we have to convert UTF-8 string to string (encode/decode) then quote the string This is correct. -- Alkis --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Memcache return different object for same key?

2009-04-04 Thread Tim Hoffman
That is correct, an instance is being recreated from the data stored in memcache You will find the same value inside it though. What happens is the object is being pickled when you stick it into memcache, when you get it the object it is unpickled and essentially a new instance is created from

[google-appengine] Re: Memcache return different object for same key?

2009-04-04 Thread 秦锋
Thanks! Does it means I have to put entity back to db or pickle it back to memcache after changed something? Otherwise changes will be lost, I guess. On 4月4日, 下午9时31分, Tim Hoffman zutes...@gmail.com wrote: That is correct, an instance is being recreated from the data stored in memcache You

[google-appengine] Re: Memcache return different object for same key?

2009-04-04 Thread 'Αλκης Ευλογημένος
You need to do both. Memcache doesn't persist. 2009/4/4 秦锋 feng.w@gmail.com Thanks! Does it means I have to put entity back to db or pickle it back to memcache after changed something? Otherwise changes will be lost, I guess. On 4月4日, 下午9时31分, Tim Hoffman zutes...@gmail.com wrote:

[google-appengine] Re: Can't get it to work

2009-04-04 Thread ianolsenclark
When using Windows, I think you need to start the command by executing Python first i.e python dev_appserver.py urbanapplicaton It's probably also a good idea to move down to Python 2.6, as using 3.01 may cause other issues. Hope this helps? Ian On Apr 2, 11:27 pm, urbanfre...@gmail.com

[google-appengine] Re: Memcache return different object for same key?

2009-04-04 Thread 秦锋
I did the same scenario but one more: db.get() - entity - Memcached - entity - dp.put() - memcache.set (Mykey, object()) I don't the difference with yours, and currently it seems OK for my quota. On 4月4日, 下午10时59分, Sylvain sylvain.viv...@gmail.com wrote: db.get() - entity - Memcached - entity -

[google-appengine] Re: SSL Socket connections

2009-04-04 Thread jeremysomething
Thanks Jay! That's quite helpful actually.. :) On Apr 4, 11:33 am, Jay Lee jay0...@gmail.com wrote: tlslite is the way to go.  It is actually included now in the GData Python library at: http://code.google.com/p/gdata-python-client/ so you might wish to just use that.  See here for some

[google-appengine] Re: Fastest Templating on AppEngine?

2009-04-04 Thread djidjadji
On GAE all template engines should be pure python code. At some comparison tables the Django engine was not very fast, but in terms of ms that it adds to your respons time it doesn't matter much which engine you use. The Django template I used in my tests just added a few ms to the total time.

[google-appengine] Re: Can't get it to work

2009-04-04 Thread Arun Shanker Prasad
Hi, To add to this discussion; If you installed Python from the MSI it probably has the python.exe in the environment variables, (ie the system path). You might want to check that also. Thanks, Arun Shanker Prasad. On Apr 4, 7:50 pm, ianolsenclark ianolsencl...@gmail.com wrote: When using

[google-appengine] Re: Existing Kinds Not Showing in Datastore List

2009-04-04 Thread djidjadji
That list of Kinds is cached. It will update after 15 or 30 min. If not let us know. 2009/4/3 Ed edgam...@gmail.com: Hi, I recently created, loaded with objects, and queried two new Kinds having exactly the same fields as Kinds currently visible in the Datastore drop-down list.  The new

[google-appengine] Re: How can I pass more parameters between GWT and GAE by JSON?

2009-04-04 Thread Arun Shanker Prasad
Hi, Can't you just pass the additional parameters also along in JSON format? If you are using the paging by key the bookmark can be pickled and converted to JSON format. I have not tested or used it with any of the below suggestions, 1. try the normal picked object. if that does not work 2.

[google-appengine] Re: Control Packages

2009-04-04 Thread djidjadji
Static files can't be opened by your python code. Just remove them form your app.yaml file. They will be uploaded and you can use them as templates. 2009/4/3 Viktar karp...@gmail.com: I am trying to create package for controls. Here is my folder structure: /controls   items.py  

[google-appengine] Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
Hi, I just done a test of my app. It's a website. I just used the local host test. I got about 50 errors which all points the errors to the app engine python scripts. How could this happen? I will just post a few here or some of the errors: A problem occurred in a Python script. Here is the

[google-appengine] Re: Fastest Templating on AppEngine?

2009-04-04 Thread Stephen
The Clearsilver template engine is implemented in C and is compiled into the python interpreters running on Google's servers. (Apparently it is the template engine behind Google Groups, or was at some point.) http://www.clearsilver.net/ I don't have any advice on whether it is good or not

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
well those are the errors I had in the brower. Now after I restart the test server. I get a 404 errror. I then took a look at the terminal and this is what came after I type the command runserver. here are those errors: WARNING:root:Could not read datastore data from /tmp/django_mobile-

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Xavier Mathews
Well 404 Is A Not Found Error So That Would Be The Browser Or Test Connection Which Can Be A Problem In It's Self! On 04/04/2009, Aaron shyhockey...@gmail.com wrote: well those are the errors I had in the brower. Now after I restart the test server. I get a 404 errror. I then took a look

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
ya but how would you fix it? I restarted the test server about 4 times. I would get a 404 once. I got 3 times where it gave me a python error. It listed all the google app engine where errors occured inthe app engine python scripts. so how can I fix this? Like I said I aint a python guru.

[google-appengine] Re: Control Packages

2009-04-04 Thread Viktar
Thank you for your help, everything works. On Apr 4, 10:57 am, djidjadji djidja...@gmail.com wrote: Static files can't be opened by your python code. Just remove them form your app.yaml file. They will be uploaded and you can use them as templates. 2009/4/3 Viktar karp...@gmail.com: I

[google-appengine] Re: Fastest Templating on AppEngine?

2009-04-04 Thread Paul Roy
yea im not sure that i like what im seeing from cs' web site (personal taste), but if its built-in and as such, more powerful / less costly to use, i might give it a shot myself. can anyone confirm that this is an importable package included in the interpreter that runs gae apps?... Sent

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
ya but how would you fix it? I restarted the test server about 4 times. I would get a 404 once. I got 3 times where it gave me a python error. It listed all the google app engine where errors occured inthe app engine python scripts. so how can I fix this? Like I said I aint a python guru.

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
ok, I just fixed the 404 error. The test server was looking for the app in the static folder. I didn't have to app in their so I moved it in their and I get now python errors. Like about 50 like before. On Apr 4, 2:44 pm, Aaron shyhockey...@gmail.com wrote: ya but how would you fix it? I

[google-appengine] test data for my model

2009-04-04 Thread Ronn Ross
I have a simple model like so: class User(db.Model): UserName = db.StringProperty(required=True) Password = db.StringProperty(required=True) FirstName = db.StringProperty(required=True) LastName = db.StringProperty(required=True) I would like there to be at least one default user in this table

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
ok, I just fixed the 404 error. The test server was looking for the app in the static folder. I didn't have to app in their so I moved it in their and I get now python errors. Like about 50 like before. On Apr 4, 2:44 pm, Aaron shyhockey...@gmail.com wrote: ya but how would you fix it? I

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
I just need help on where my files needs to be. I have my app in it's own folder. I had the app inside the directory of google app engine. the problem is when I run manage.py inside my own app folder. The manage.py can't find the source development kit of google apps engine. So I took the

[google-appengine] Re: SSL Socket connections

2009-04-04 Thread David Wilson
Hi Jeremy, Since AppEngine doesn't yet support sockets of any kind, this is a non-starter. David. 2009/4/3 jeremysomething jeremyschoenh...@gmail.com: Has anyone implemented a SSL/TLS client connection from their GAE app? There's this lib http://trevp.net/tlslite/ Just curious if anyone

[google-appengine] Sitemaps

2009-04-04 Thread Nora
Hello, I need to develop a sitemap for my application. I understand that it is an xml file. Do I add a link to this file in my website. I keep getting that google crawler is unable to find this sitemap.xml in my application. I created the file autmoatically using google tools and just left it

[google-appengine] Re: Sitemaps

2009-04-04 Thread 'Αλκης Ευλογημένος
You need to setup a handler to serve static files: http://code.google.com/appengine/docs/python/gettingstarted/staticfiles.html On Sat, Apr 4, 2009 at 10:01 PM, Nora noorhanab...@yahoo.co.uk wrote: Hello, I need to develop a sitemap for my application. I understand that it is an xml file.

[google-appengine] Re: how to execute a href .... using google apps

2009-04-04 Thread djidjadji
Work trough the example it will answer a lot of your questions [1] http://code.google.com/appengine/docs/python/gettingstarted/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: Sitemaps

2009-04-04 Thread Sargis Dallakyan
Sitemap does need to be an xml file, however, you need to tell GAE that its a static file by include a statement similar to this one in your app.yaml - url: /sitemap static_files: sitemap upload: sitemap Replace sitemap with sitemap.xml, if needed. On Apr 4, 1:01 pm, Nora

[google-appengine] Re: Sitemaps

2009-04-04 Thread 'Αλκης Ευλογημένος
Sitemaps can be plain text files as well: http://sitemaps.org/protocol.php On Sat, Apr 4, 2009 at 10:31 PM, Sargis Dallakyan food@gmail.comwrote: Sitemap does need to be an xml file, however, you need to tell GAE that its a static file by include a statement similar to this one in your

[google-appengine] Re: function call

2009-04-04 Thread Ronn Ross
If I use the one provided doesn't that mean the user would have to have a google account before hand? 2009/4/3 Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com You can use a decorator that is already provided: from google.appengine.ext.webapp.util import login_required class

[google-appengine] Running dev_appserver.py under a mod_python

2009-04-04 Thread Khai
Before I try something crazy I want to know if someone has try it or whether it is too crazy to try. The problem is dev_appserver.py is single-threaded, and I need to have multiple instances running. I am developing an opensocial application which make three asynchronous requests to my server.

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
No I can't even run the test server anymore. I get a new error: Traceback (most recent call last): File manage.py, line 4, in module setup_env(manage_py_env=True) File /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/ google_appengine/common/appenginepatch/aecmd.py, line

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron
No I can't even run the test server anymore. I get a new error: Traceback (most recent call last): File manage.py, line 4, in module setup_env(manage_py_env=True) File /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/ google_appengine/common/appenginepatch/aecmd.py, line

[google-appengine] dev_appserver.py and ListenBackLog directive

2009-04-04 Thread Khai
With Apache we can configure the maximum length of the queue of pending connections using it's ListenBackLog directive ( http://httpd.apache.org/docs/2.0/mod/mpm_common.html#listenbacklog ). Can anyone with knowledge of the SDK internals please let me know the default maximum length of the queue

[google-appengine] Re: function call

2009-04-04 Thread 'Αλκης Ευλογημένος
They will get redirected to a login screen. If they do not have an account they can create one. 2009/4/4 Ronn Ross ronn.r...@gmail.com If I use the one provided doesn't that mean the user would have to have a google account before hand? 2009/4/3 Alkis Evlogimenos ('Αλκης Ευλογημένος)

[google-appengine] Re: test data for my model

2009-04-04 Thread djidjadji
If you can't use the Datastore Viewer to create an entity, create an entity when you request a special url user = User(UserName=aa,Password=pass,FirstName=Ronn, LastName=Ross) user.put() 2009/4/4 Ronn Ross ronn.r...@gmail.com: I have a simple model like so: class User(db.Model): UserName =

[google-appengine] Re: Running dev_appserver.py under a mod_python

2009-04-04 Thread 'Αλκης Ευλογημένος
That's a very bad idea: dev_appserver is not secure, is snail slow if you add more than a couple of thousand entities in it and it is uncertain if it can share a datastore across multiple instances. Why do you want to do this? What is wrong with hosting on GAE? On Sat, Apr 4, 2009 at 11:04 PM,

[google-appengine] Re: {% extends %} and UTF-8

2009-04-04 Thread DocDay
I just checked and it does. That does the trick. Thanks! On Apr 4, 6:45 am, Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com wrote: Maybe your editor has an option to stop writing BOMs? That will solve the problem. You do not need a BOM for utf-8. The encoding is endianness

[google-appengine] Re: How to update DB record

2009-04-04 Thread djidjadji
If you don't have a primary key in your object model you should use key_names. Don't rely on the object ID's that are given. To update an object in the datastore you first retrieve it with a query. Change the members of the object. and put the object back phrase = Phrases.get_by_id(2) # or

[google-appengine] test server won't work anymore getting errors...

2009-04-04 Thread Aaron
Now I can't even run the test server anymore. I get a new error: Traceback (most recent call last): File manage.py, line 4, in module setup_env(manage_py_env=True) File /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/ google_appengine/common/appenginepatch/aecmd.py, line

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-04 Thread Andy Freeman
You have nothing of value to contribute to the discussion except to badger the people who reported this problem. On the contrary. I've pointed out how to actually solve the problem. Throughout this, you've acted like Google has some obligation to make GAE applications visible in China.

[google-appengine] Re: dev_appserver.py and ListenBackLog directive

2009-04-04 Thread Tim Hoffman
Hi You really need to read up on the architecture of App Engine, remember app engine is a long way from the server. It is not a server like apache in it's own right. As far you and your application is concerned there is no such thing, Any pending connections will be handled in googles

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-04 Thread Andy
I'm someone who understands that obligations come from laws and contracts.  Feel free to point to the relevant chapter and verse that However, absent a contract and/or a law, Google isn't obligated to make GAE applications visible in China. Feel free to hair-split the word obligation.

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-04 Thread 秦锋
appspot.com is accessiable in China now, and I found appspot.com has a china specific host? Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\fqinping cndata4u.appspot.com Pinging appspot-china.l.google.com [72.14.235.141] with 32 bytes

[google-appengine] Re: How can I pass more parameters between GWT and GAE by JSON?

2009-04-04 Thread 秦锋
Thanks! I'm just wondering how to add more parameters into JSON outside DataTable, never mind. On 4月4日, 下午11时56分, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi, Can't you just pass the additional parameters also along in JSON format? If you are using the paging by key the

[google-appengine] Re: 308K CSV file cost 20% GAE data space!

2009-04-04 Thread 秦锋
All: Now my question is If I only use string list property as property, never index them, is it OK with space cost? P.S: I still got 3% space (30MB) used for 2500 records (300+KB) csv files. On 4月4日, 下午5时18分, Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com wrote: Remove the

[google-appengine] Re: Sitemaps

2009-04-04 Thread Sargis Dallakyan
Sitemaps can be plain text files as well:http://sitemaps.org/protocol.php Thank you for pointing this out. I meant to write that it doesn't need to be an xml file. On Sat, Apr 4, 2009 at 10:31 PM, Sargis Dallakyan food@gmail.comwrote: Sitemap does need to be an xml file,

[google-appengine] Re: 308K CSV file cost 20% GAE data space!

2009-04-04 Thread 'Αλκης Ευλογημένος
GAE indexes properties automatically. Your best bet is to store your list of strings as a Text or Blob with a separator and join/split when you read the property. Text/Blob properties do not get indexed. On Sun, Apr 5, 2009 at 3:49 AM, 秦锋 feng.w@gmail.com wrote: All: Now my question is

[google-appengine] Re: Simultaneous Requests

2009-04-04 Thread MajorProgamming
Actually In terms of requests per second I was seeing was around 8 [didn't pay constant refresh attention]... Strangely though, the total number of requests didn't accurately reflect the actual requests I performed (in the dashboard -- not in the quota details page). This may be due to some bug