[google-appengine] Re: Sample code of i18n on GAE+Django

2008-10-20 Thread A . TNG
On Mon, Oct 20, 2008 at 8:41 AM, Alexander Orlov <[EMAIL PROTECTED]> wrote: > > On Sep 22, 4:00 pm, A.TNG <[EMAIL PROTECTED]> wrote: >> Originally in Django, locale could be set via session. But GAE cannot >> work with session in Django. So I tried to set >> settings.LANGUAGE_CODE='zh-cn' directly

[google-appengine] Re: Simple StringListProperty question

2008-10-20 Thread Crane
Yes, that's right. Thanks! On Oct 20, 11:22 am, warreninaustintexas <[EMAIL PROTECTED]> wrote: > Did you try this? >   keywords = db.StringListProperty(default=None) > > By my interpretation of the GAE docs, you need to do that to ensure > that the property is initialized with an empty set rath

[google-appengine] basic questions

2008-10-20 Thread amshuhu
This is for my general knowledge How develope Google App Engine? and Why Python is more secure than other platforms? What are all Upcoming PLatforms and Updates? Thanks in advance jai --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] Is db.delete Limited To 1000 Items?

2008-10-20 Thread [EMAIL PROTECTED]
Hi! I have a very quick question that I was not able to decide by looking at the docs. As the title suggests, I'm wondering whether db.delete(Post.all()) would delete every single post even if there were more than 1000 Posts. I've seen: http://code.google.com/appengine/articles/update_schema.h

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread Ross Ridge
[EMAIL PROTECTED] wrote: > I have a very quick question that I was not able to decide by looking > at the docs. As the title suggests, I'm wondering whether > db.delete(Post.all()) would delete every single post even if there > were more than 1000 Posts. The delete function will only delete the

[google-appengine] django Internation doesn't work by using Django 1.0 with Zipimport

2008-10-20 Thread qubic
http://code.google.com/appengine/articles/django10_zipimport.html I follow the steps to make django.zip work in GAE,but i found django international doesn't work --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google

[google-appengine] Re: storing and rendering comment threads

2008-10-20 Thread jeremy
hmm, some how it didn't occur to me that the string could be treated as 500 raw bytes. thanks for pointing that out! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, se

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

2008-10-20 Thread Sylvain
>From here : http://code.google.com/appengine/docs/webapp/running.html // Tip: App Engine routes requests to Python scripts based on the URL and mappings specified in the application's app.yaml file. A webapp WSGIApplication further maps specific URL paths to request handlers. How you use both ma

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

2008-10-20 Thread JFQueralt
So far no one has posted any impression on this. I feel strange about it. Jean On Oct 15, 2:52 am, Sal <[EMAIL PROTECTED]> wrote: > 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

[google-appengine] Simple question about ReferenceProperty collections

2008-10-20 Thread Alex Vartan
Hi, Simple question, but want to make sure I get this right. The docs say: "collection_name is the name of the property to give to the referenced model class whose value is a Query for all entities that reference the entity. If no collection_name is set, then modelname_set (with the name of the

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread theo
Ok, but that doesn't answer the fundamental quastion. Does this work: posts = [] for post in Post.gql('') posts.append(post) db.delete(posts) On Oct 20, 6:33 am, Ross Ridge <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I have a very quick question that I was not able to decide by

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread [EMAIL PROTECTED]
for post in Post.gql('') will return 1000 max. On Oct 20, 11:33 am, theo <[EMAIL PROTECTED]> wrote: > Ok, but that doesn't answer the fundamental quastion. > > Does this work: > > posts = [] > for post in Post.gql('') >   posts.append(post) > > db.delete(posts) > > On Oct 20, 6:33 am, Ross Ridge

[google-appengine] Re: django Internation doesn't work by using Django 1.0 with Zipimport

2008-10-20 Thread trackmap
First, you'll have to provide django's locale tree along with your application files and add an entry in settings.LOCALE_PATHS for it. In your settings.py: import os appdir = os.path.abspath(os.path.dirname(__file__)) LOCALE_PATHS = ( os.path.join(appdir, 'i18n', 'locale'), ) The above assum

[google-appengine] Problem with appcfg.py

2008-10-20 Thread [EMAIL PROTECTED]
Hello, I get a strange error when trying to upload using appcfg.py (see below) on a Mac. Any hint or indication on how to resolve this issue would be highly appreciated. Cheers! Scanned 500 files. Scanned 1000 files. Scanned 1500 files. Scanned 2000 files. Initiating update. Cloning 8 static f

[google-appengine] Re: Google Developers Day -> Java App Engine. Time line? Hype?

2008-10-20 Thread James
I read that too along with this post on the same site : http://www.controlenter.in/2008/10/google-developer-day-bangalore-google-app-engine-to-support-java-android-sdk-release-on-oct-22/ Will we find out more along with the release of the Android SDK? Looking forward to finding out more! James

[google-appengine] Invalid hash error in appcfg.py

2008-10-20 Thread himoji
When I tried to upload an application by appcfg.py, it failed with following messages; APF MOD send request Scanning files on local disk. Initiating update. Cloning 2 application files. 2008-10-20 15:37:53,401 ERROR appcfg.py:1425 An unexpected error occurred. Aborting. Rol

[google-appengine] Re: Simple question about ReferenceProperty collections

2008-10-20 Thread djidjadji
This should work, use get() from the Query object somelist = theObject.subCategories.get() somelist.remove(anotherObject) 2008/10/20 Alex Vartan <[EMAIL PROTECTED]>: > > Hi, > > Simple question, but want to make sure I get this right. The docs say: > > "collection_name is the name of the propert

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread Ross Ridge
theo wrote: > Ok, but that doesn't answer the fundamental quastion. Well, I read the fundamental question as "In the general case, is there a way to easily delete all of the entities of a given model?", and the answer to that question is no. The amount entities you can delete in single call to

[google-appengine] Re: Simple question about ReferenceProperty collections

2008-10-20 Thread Alex Vartan
get will only return a single object as far as I know. I want to fetch all of them. So must I use somelist = theObject.subCategories.fetch() or will somelist = [theObject.subCategories] work as well, explicitly assigning somelist as a list. On Oct 20, 9:33 am, djidjadji <[EMAIL PROTECTED]> wrote:

[google-appengine] Re: HTTPS Support for appspot.com

2008-10-20 Thread Marzia Niccolai
You must have the 1.1.5 version of the SDK to use the 'secure' argument in your app.yaml. -Marzia On Fri, Oct 17, 2008 at 8:52 PM, fssfans <[EMAIL PROTECTED]> wrote: > > ??? > > what's going on? > > Console > > > Une

[google-appengine] Re: Invalid hash error in appcfg.py

2008-10-20 Thread Marzia Niccolai
Hi, Have you received this error more than a few times? The error is indicates the file hash when uploading your application files was not correct, but the hash definitely matches the regex, so it's a bit perplexing. If you are still receiving these errors, can you run appcfg.py with the --noisy

[google-appengine] Re: django Internation doesn't work by using Django 1.0 with Zipimport

2008-10-20 Thread Rafal Jonca
Hi, If you want to get I18N to work, you must have locale dir from django/ conf not in ZIP file but as standard, external files. Then use LOCALE_DIR in settings.py to tell django where they are. I tried this in my project and it works. Regards, Rafał Jońca On 20 Paź, 12:59, qubic <[EMAIL PROTEC

[google-appengine] Re: Problem with appcfg.py

2008-10-20 Thread Marzia Niccolai
Hi, Is this error still occurring? If so, can you give details as to what SDK version and the Mac OS version you are using? Also, if you could run appcfg.py from the command line (if you are using the Launcher you can Make the Symlinks to get the command line version of appcfg.py), and run it wi

[google-appengine] Re: bulk upload "version 1" format?

2008-10-20 Thread Marzia Niccolai
Hi Angel, There is only one version of the bulkload tool, which is the one currently released. I think the comment was written to acknowledge that in the future we will likely continue to improve the upload/download data functionality of App Engine, so this tool is not likely to be the final word

[google-appengine] Re: Django template version

2008-10-20 Thread Marzia Niccolai
Hi, Please see Paul's response on this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/f186dd354bd17753/509992fca38b4167 We have not updated the version of Django that was originally released with App Engine. -Marzia On Sat, Oct 18, 2008 at 10:05 AM, Sudhir <[EMAIL

[google-appengine] Re: How to delete unused files on app engine

2008-10-20 Thread Daniel O'Brien (Google)
If you're still planning on using TinyMCE, it may be worth looking into using zipserve if you haven't already. It should help in working around the file limit. e.g. Assuming TinyMCE's files are zipped to /tinymce.zip, add something like this as a handler in your app.yaml: - url: /tinymce/.*

[google-appengine] Re: High CPU usage for put()

2008-10-20 Thread Josh Heitzman
It is not just you. An issue has be opened http://code.google.com/p/googleappengine/issues/detail?id=786 but the GAE team has yet to acknowledge it or response to other posts on the subject on this discussion group. On Oct 19, 10:18 pm, MajorProgamming <[EMAIL PROTECTED]> wrote: > Is it just me

[google-appengine] Suggestions for Datastore backup

2008-10-20 Thread Tom
A continuing concern on my part is how I am going to manage backups, revisions, and integrity of the data behind my app. There are numerous ways that the data can get corrupted (programming errors, malicious users, etc.). With any complexity of objects and volume of data, using bulk upload/downl

[google-appengine] Re: HTTPS Support for appspot.com

2008-10-20 Thread Filip
Thanks for this! Looking forward to SNI on arbitrary domain names, but this will solve the problem for now, and it makes a really big difference. Filip. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App E

[google-appengine] Re: Google Developers Day -> Java App Engine. Time line? Hype?

2008-10-20 Thread Paul
There has been recent discussion in the blogosphere about the potential support of Java in App Engine. While we don't have any immediate plans or announcements, we are working on other languages for App Engine. Security and performance are our primary concerns with any new language runtime and get

[google-appengine] Appengine Helper, Utilities, Patch, etc

2008-10-20 Thread johnP
Hello, all - I was curious if some users might provide some feedback about using AppEngine Helper, Utilities, and Patch (or nothing at all...:)) Initially, appengine Helper seemed like a safe choice - because it was sanctioned by the appengine team, and helped bridge the gap between writing in p

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread [EMAIL PROTECTED]
Thanks everyone. I must say this is a little unsatisfactory only deleting 1000 entries. My forum at http://silicon.appspot.com/ is growing quite large and although I have no threads containing 1000 posts yet there are a few in the 100s. Obviously moderators and administrators can delete threads

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread Andrew Badera
Why do you need to delete all posts? Couldn't you just kill the parent itself, and leave the other entities orphaned in limbo, never to be retrieved again? On Mon, Oct 20, 2008 at 4:13 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Thanks everyone. I must say this is a little unsatisfa

[google-appengine] Re: Suggestions for Datastore backup

2008-10-20 Thread ctran
You may want to star this request: http://code.google.com/p/googleappengine/issues/detail?id=776 On Oct 20, 1:25 pm, Tom <[EMAIL PROTECTED]> wrote: > A continuing concern on my part is how I am going to manage backups, > revisions, and integrity of the data behind my app.  There are > numero

[google-appengine] Re: Simple question about ReferenceProperty collections

2008-10-20 Thread Arun Shanker Prasad
The theObject.subCategories will just be a query object, you will need to perform a fetch on it to get the values. As far as I can tell, when you have a one to one relation, the child.parent will return the parent object, if its a ReferenceProperty. But parent.child.fetch is needed.. On Oct 20,

[google-appengine] Re: Creating web forms in GAE

2008-10-20 Thread RIAgallery
I'm using Echo3 http://riagallery.appspot.com On Oct 18, 7:47 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks, David! I  needs time to think, Under integration I was > thinking to use python on the server side and GWT - on client side. > > On Oct 17, 10:56 pm, Davide Rognoni <[EMAIL P

[google-appengine] Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application

2008-10-20 Thread [EMAIL PROTECTED]
Running Python Launcher Version 2.5.1 & Google App Engine SDK release: 1.1.5 on Mac OS X Version 10.4.11 First time user, so far the tutorial is easy to follow. I get to "Using Datastore" "Edit the Guestbook handler to appear similar to the following..." and now my application will not run error

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread [EMAIL PROTECTED]
That's an interesting idea but that would leave them accessible still (at least unless I did various checks) and also uses space still. Of course I could always do regular queries to search and remove such posts but they would need to be scheduled and I don't believe that is currently possible. S

[google-appengine] Re: Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application

2008-10-20 Thread Dan Sanderson
What errors are you getting? -- Dan On Mon, Oct 20, 2008 at 11:17 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Running Python Launcher Version 2.5.1 & Google App Engine SDK release: > 1.1.5 > on Mac OS X Version 10.4.11 > > > First time user, so far the tutorial is easy to follow. I get

[google-appengine] Re: Simple question about ReferenceProperty collections

2008-10-20 Thread djidjadji
If you want to remove one item from the fetched list then somelist = theObject.subCategories.fetch(1000) somelist.remove(anotherObject) will not work because the 'anotherObject' is another python representation of the object in the datastore, fetch creates NEW instances for the objects it retrieve

[google-appengine] Re: Is db.delete Limited To 1000 Items?

2008-10-20 Thread Ross Ridge
Andrew Badera wrote: > Why do you need to delete all posts? Couldn't you just kill the parent > itself, and leave the other entities orphaned in limbo, never to be > retrieved again? I'd just mark the thread as "hidden", so it wouldn't show up for ordinary users, but it would still be visable by

[google-appengine] Join us for App Engine Chat Time

2008-10-20 Thread Marzia Niccolai
Have something to ask the App Engine team? Spending time scratching your head on a problem and want to ask someone who spends his or her days and nights working with App Engine? Spend all of your time on IRC anyway? Starting this week, the App Engine developer relations team will be experimenting

[google-appengine] appengine-utilities 1.0rc3 release

2008-10-20 Thread [EMAIL PROTECTED]
appengine-utilties 1.0rc3 release is available at http://gaeutilities.appspot.com/ Users are strongly encouraged to update to this version. This version includes the following the changes. - flash has been modified to serialize data using json rather than pickle. - appengine_utilities/django

[google-appengine] Re: Invalid hash error in appcfg.py

2008-10-20 Thread himoji
Thank you, Marzia. I just tried two applications, one is hello world (success), the other is my original one. The latter fails every time when I run appcfg.py. I'm using 1.1.5 on Windows Vista Business (x64). Here is the output with --noisy flag (some personal descriptions are replaced by XXX);

[google-appengine] Re: Invalid hash error in appcfg.py

2008-10-20 Thread Marzia Niccolai
Hi Himoj, I will also need the app id for this app. If you would prefer not to share it in the group, feel free to reply directly to me. -Marzia On Mon, Oct 20, 2008 at 6:58 PM, himoji <[EMAIL PROTECTED]> wrote: > > Thank you, Marzia. > > I just tried two applications, one is hello world (succ

[google-appengine] Frequent "Operation timed out" in appcfg.py

2008-10-20 Thread boson
Strange problem here... I run appcfg.py to upload my app after making a few changes, and there's a long pause on any one of the steps including "Initiating update", "Cloning X static files", etc. through "Closing update". After this pause, the upload aborts with a big stack trace. (Most often it

[google-appengine] Re: Join us for App Engine Chat Time

2008-10-20 Thread Mike Wesner
This is great. Thank you for reaching out to us developers. I plan on attending these. Regarding communicating with the App Engine team...what is an appropriate way to contact someone about quotas? Specifically, my team is building a rich internet app using Adobe Flex, and even using modules w

[google-appengine] Re: exceptions.SystemError?

2008-10-20 Thread Damien Hou
This happended to me too. Starred the issue. On Fri, Oct 10, 2008 at 5:46 AM, Alexander Kojevnikov < [EMAIL PROTECTED]> wrote: > > I get the same error from time to time. I'm using Django 1.0 with app- > engine-patch. > > I starred the issue and included my stacktrace. > > On Oct 10, 1:34 am, Ara

[google-appengine] Please make db.class_for_kind part of the published interface

2008-10-20 Thread Andy Freeman
Please make google.appengine.ext.db.class_for_kind(kind) part of the published interface. It's a piece of fairly useful code that would otherwise be reimplemented by many AppEngine developers. submitted as http://code.google.com/p/googleappengine/issues/detail?id=800 --~--~-~--~~-

[google-appengine] simulating login using webtest

2008-10-20 Thread Sudhir
Does anyone know how to simulate login using webtest? I've tried doing app.get('/_ah/login?action=Login&[EMAIL PROTECTED]') but its doesn't register the user as logged in when using webtest. Sudhir --~--~-~--~~~---~--~~ You received this message because you are s

[google-appengine] Re: exceptions.SystemError?

2008-10-20 Thread Alexander Kojevnikov
Can someone from Google acknowledge this issue? Let me know if you need help reproducing it, my app gets about 5 such errors a day (appid:muspy). On Oct 21, 4:00 pm, "Damien Hou" <[EMAIL PROTECTED]> wrote: > This happended to me too. Starred the issue. > > On Fri, Oct 10, 2008 at 5:46 AM, Alexand

[google-appengine] loading content (text,pictures) intro flash

2008-10-20 Thread coti
Hi, i want to load the user display picture into a flash.. and then play with it from flash. any ideeas ? thanks and regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to thi

[google-appengine] Wordpress is supported on the Google App Engine?

2008-10-20 Thread Gampesh
HI, does Wordpress is supported on the Google App Engine? if so then please guide me how to do that. Thanks Gampesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group

[google-appengine] Re: Appengine Helper, Utilities, Patch, etc

2008-10-20 Thread Alexander Kojevnikov
About a month ago I migrated www.muspy.com from webapp to Django 1.0 using app-engine-patch. The main reason was to provide a custom authentication instead of the Google's. Regarding your questions: 1. The only issue I have is http://code.google.com/p/googleappengine/issues/detail?id=772 but I

[google-appengine] Re: Join us for App Engine Chat Time

2008-10-20 Thread Peter Recore
Can someone please post a transcript somewhere for those of us who won't be able to attend 'live'? On Oct 20, 8:54 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Have something to ask the App Engine team? Spending time scratching your > head on a problem and want to ask someone who spends his

[google-appengine] Re: Join us for App Engine Chat Time

2008-10-20 Thread Peter Recore
i think you've got the date wrong for this wednesday - it should be the 22nd, not the 20th. On Oct 20, 8:54 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Have something to ask the App Engine team? Spending time scratching your > head on a problem and want to ask someone who spends his or her

[google-appengine] Re: Creating web forms in GAE

2008-10-20 Thread [EMAIL PROTECTED]
Thank's, I'll see! It's very interesting on the first vew! On Oct 21, 12:49 am, RIAgallery <[EMAIL PROTECTED]> wrote: > I'm using Echo3http://riagallery.appspot.com > > On Oct 18, 7:47 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Thanks, David! I  needs time to think, Under inte

[google-appengine] Is GAE ready for python2.6?

2008-10-20 Thread chu-ching huang
Hi, I use sympy with GAE. But it seems that GAE can not run with python2.6(?). When does it support python2.6? best regards, cch --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post t

[google-appengine] Re: Join us for App Engine Chat Time

2008-10-20 Thread Marce
Hi, My bad! I've updated the blog, but the correct date for this Wednesday is the 22nd. Concerning the quota requests, in general, you can apply for an increase in your quota by using our request page: http://code.google.com/support/bin/request.py?contact_type=AppEngineContact However, currentl

[google-appengine] Re: Invalid hash error in appcfg.py

2008-10-20 Thread himoji
Hi Marzia, Thank you for your help. I've sent app id by e-mail to you. Just for information, when I upload only one file (either index.html or xxx.py), it succeeds (but application does not work). -- himoji --~--~-~--~~~---~--~~ You received this message because