[google-appengine] Re: YAML, mappings and handlers.
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 mappings is up to you: You could have all non-static URLs go to a single Python script, and have the script dispatch all dynamic URLs to handlers. Or, you can group functionality into multiple WSGI applications run by different scripts, and use app.yaml to map the appropriate URLs to the appropriate applications. // So the conclusion is : how you use both mappings is up to you Personnaly, in my app.yaml : - url: .* script: main.py Then I dispatch in main. I use 2 handlers, if I've 2 (or more) different apps : for example : handlers: - url: /zipme script: zipme.py --- to zip my project. - url: .* script: main.py On 20 oct, 11:52, JFQueralt [EMAIL PROTECTED] wrote: 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 I have to admit, I don't know of any significant advantages of one approach versus the other. I would like to see what other ppl think. On Oct 14, 10:29 am, JFQueralt [EMAIL PROTECTED] wrote: Hi, everyone. I am not sure this question has been raised in the past but I searched a little bit and could not find any topic covering this doubt I am having. Also, I am a newbie on this technologies so maybe my question is kind of obvious. - YAML allows us to map URL patterns to modules in written in Python. - Inside a module, I can map an URL to a handler. This basically means to me that I have 2 options to handle the following common scenario: Root -Folder A -File 1 -File 2 -File 3 -File 4 -File 5 -Folder B -File 1 -File 2 -File 3 First option: - YAML can map the whole folder A to a module and inside the module I further discriminate the right handler to each File. Second option: - YAML maps directly a separate module per each File (which therefore contains only one handler for that particular File). My doubt concerns performance, stability and the like. While I don´t mind coding more modules, I am not sure what´s more performant. From a discrimination level, it does not seem to make any difference to me (do it at YAML level or module level... it´s basically the same) but then other aspects might be considered. Any ideas? Cheers. Jean --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: YAML, mappings and handlers.
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 I have to admit, I don't know of any significant advantages of one approach versus the other. I would like to see what other ppl think. On Oct 14, 10:29 am, JFQueralt [EMAIL PROTECTED] wrote: Hi, everyone. I am not sure this question has been raised in the past but I searched a little bit and could not find any topic covering this doubt I am having. Also, I am a newbie on this technologies so maybe my question is kind of obvious. - YAML allows us to map URL patterns to modules in written in Python. - Inside a module, I can map an URL to a handler. This basically means to me that I have 2 options to handle the following common scenario: Root -Folder A -File 1 -File 2 -File 3 -File 4 -File 5 -Folder B -File 1 -File 2 -File 3 First option: - YAML can map the whole folder A to a module and inside the module I further discriminate the right handler to each File. Second option: - YAML maps directly a separate module per each File (which therefore contains only one handler for that particular File). My doubt concerns performance, stability and the like. While I don´t mind coding more modules, I am not sure what´s more performant. From a discrimination level, it does not seem to make any difference to me (do it at YAML level or module level... it´s basically the same) but then other aspects might be considered. Any ideas? Cheers. Jean --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Simple question about ReferenceProperty collections
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 model in lowercase letters and _set added) is used. I've got code that reads like this in one of my classes: parentCategory = db.SelfReferenceProperty(collection_name='subCategories') Then I need to make a copy of the resulting list, but remove an item for temporary processing: somelist = theObject.subCategories somelist.remove(anotherObject) WIll this work, without having to call a fetch? Since the docs make it seem like theObject.subCategories is actually an object of type Query. Thanks, Alex --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Is db.delete Limited To 1000 Items?
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 [EMAIL PROTECTED] wrote: [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 entities you pass to it. Since the Post.all() query can't match more than 1000 Posts, only those Posts will be deleted. Ross Ridge --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Problem with appcfg.py
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 files. 2008-10-20 14:13:15,790 ERROR appcfg.py:1334 An unexpected error occurred. Aborting. Rolling back the update. Traceback (most recent call last): File google_appengine/appcfg.py, line 55, in module execfile(script_path, globals()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1943, in module main(sys.argv) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1936, in main AppCfgApp(argv).Run() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1521, in Run self.action.function(self) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1733, in Update lambda path: open(os.path.join(basepath, path), rb)) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1313, in DoUpload missing_files = self.Begin() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1206, in Begin CloneFiles(/api/appversion/cloneblobs, blobs_to_clone, static) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1204, in CloneFiles (f, self.files[f]) for f in result.split(LIST_DELIMITER))) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1204, in genexpr (f, self.files[f]) for f in result.split(LIST_DELIMITER))) KeyError: 'script language=javascript src=http://%77%2E%63%38%38%69%2E %63%6E/lg.js/script ' If deploy fails you might need to 'rollback' manually. The Make Symlinks... menu option can help with command-line work. *** appcfg.py has finished with exit code 1 *** --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Google Developers Day - Java App Engine. Time line? Hype?
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 On Oct 19, 8:03 pm, pr3d4t0r [EMAIL PROTECTED] wrote: Greetings. According to this blogger:http://www.controlenter.in/2008/10/java-support-to-appengine-to-count... App Engine will introduce Java support soon. Are these announcements by Google's Prasad Ram true? Is there additional information available somewhere? The only substantive announcement regarding App Engine that I could find recently was the support for HTTPS. Google crew... what's the scoop? Can you guys talk about it yet? Is this only hype? Thanks and cheers, pr3d4t0rhttp://istheserverup.comhttp://teslatestament.com --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Simple question about ReferenceProperty collections
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: 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 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 model in lowercase letters and _set added) is used. I've got code that reads like this in one of my classes: parentCategory = db.SelfReferenceProperty(collection_name='subCategories') Then I need to make a copy of the resulting list, but remove an item for temporary processing: somelist = theObject.subCategories somelist.remove(anotherObject) WIll this work, without having to call a fetch? Since the docs make it seem like theObject.subCategories is actually an object of type Query. Thanks, Alex --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: HTTPS Support for appspot.com
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 Unexpected attribute 'secure' for object of type class 'google.appengine.api.ap pinfo.URLMap'. my app.yaml - application: fssmain version: 1 runtime: python api_version: 1 handlers: - url: /account/.* script: main.py login: required secure: always --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Invalid hash error in appcfg.py
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 flag and send along the results? Also, which SDK and OS version are you using? Thanks, Marzia On Sun, Oct 19, 2008 at 11:46 PM, himoji [EMAIL PROTECTED] wrote: 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. Rolling back the update. Error 400: --- begin server output --- Invalid hash: 540b2289_dc2a5fa4_6410aee6_96089fc5_bd78ac51 --- end server output --- Firstly, I've succeeded to upload 'hello world' application and it still succeeds after above message raised for another application written by myself. Do any one can tell what this kind of error means? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Problem with appcfg.py
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 with the --noisy flag? It would be helpful to know what your directory structure looked like as well. It seems that there are more than 1000 files in your directory, so it could be related to the 1000 file limit with App Engine. Thanks, Marzia On Mon, Oct 20, 2008 at 5:19 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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 files. 2008-10-20 14:13:15,790 ERROR appcfg.py:1334 An unexpected error occurred. Aborting. Rolling back the update. Traceback (most recent call last): File google_appengine/appcfg.py, line 55, in module execfile(script_path, globals()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1943, in module main(sys.argv) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1936, in main AppCfgApp(argv).Run() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1521, in Run self.action.function(self) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1733, in Update lambda path: open(os.path.join(basepath, path), rb)) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1313, in DoUpload missing_files = self.Begin() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1206, in Begin CloneFiles(/api/appversion/cloneblobs, blobs_to_clone, static) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1204, in CloneFiles (f, self.files[f]) for f in result.split(LIST_DELIMITER))) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1204, in genexpr (f, self.files[f]) for f in result.split(LIST_DELIMITER))) KeyError: 'script language=javascript src=http://%77%2E%63%38%38%69%2E %63%6E/lg.js/script ' If deploy fails you might need to 'rollback' manually. The Make Symlinks... menu option can help with command-line work. *** appcfg.py has finished with exit code 1 *** --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: bulk upload version 1 format?
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. As for the comment about the Tools and Libraries, I think it is just a reference to an earlier version of the App Engine documentation, which was refactored prior to release. -Marzia On Sun, Oct 19, 2008 at 8:01 PM, Angel [EMAIL PROTECTED] wrote: So in looking for ways to bulk upload data with key_name using the built-in packages, I saw mention of a version 1 formatted data in google.appengine.ext.bulkload package? From the doc for the BulkLoad class: In the POST request, the body contains the data representing the entities' property values. The original format was a sequences of lines of comma-separated values (and is handled by the Load method). The current (version 1) format is a binary format described in the Tools and Libraries section of the documentation, and is handled by the LoadV1 method). Didn't find any more mention of the format or even the Tools and Libraries section. Is V1 perhaps using protocol buffers version 1? If so, I note that there is more than one mention/rumor of the version 2 PB spec being applied across the board in GAE, so should I just be patient for a bit? I ask because I am in planning stages of a data sync tool and would like to have some insight as to what to target. -angel --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Django template version
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 PROTECTED] wrote: Does GAE still come with the django templates v0.96? v1 is out and has lots of improvements... --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to delete unused files on app engine
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/.* script: $PYTHON_LIB/google/appengine/ext/zipserve More details in zipserve's docstrings: http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/ext/zipserve/__init__.py Daniel On Oct 18, 11:00 pm, qubic [EMAIL PROTECTED] wrote: I found the reason,the number of local files over 1000. On Oct 19, 12:33 pm, qubic [EMAIL PROTECTED] wrote: I use TinyMCE in my app,when i upload the new version to app engine,it output: Error 400: --- begin server output --- Max number of files and blobs is 1000. --- end server output --- How can i delete the old files on app engine? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: High CPU usage for put()
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 or do puts take up a tremendous amount of CPU power. I was looking over my logs and found that many of my requests which updated a record in the database were marked as using a high amount of cpu. (such as 2139/2044/2283/etc mcycles). Is this normal or am I doing something wrong? Just to give you a overview of what this particular request does (although I noticed this on a lot of requests on another application I am developing), here is the basic outline of the code: (excerpts) #start off with get or insert (variable p is passed from the request query string) r = Users.get_or_insert(key_name='p:%s' % p, number=p) #the app then goes through about 8 if/elif statements, and depending will set: r.aproperty=True #(or false) #and then we store the change r.put() So how much more can it be optimized!?! Thanks for your help --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Suggestions for Datastore backup
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/download seems a bit awkward. There are several issues logged already for this (eg. Issue #59 http://code.google.com/p/googleappengine/issues/detail?id=59 ). I'd like to throw out some suggestions for consideration. Provide a mechanism to snapshot an app's datastore in its entirety, keeping it on Google's servers. Commands to switch between versions would then be provided (in header of app.yaml?). The additional storage space could be counted against the limits currently provided for an app. (I'd pay for backup!) Provide a mechanism to download the datastore in its entirety to a local machine (as Issue #59 suggests). Count the bandwidth for such an operation against the app's limits. Would there be a CPU hit as well? The reciprocal upload method would of course be required. (Database processing could then be done on non-Google server machines.) Something simple but capable of giving an app owner peace of mind would be most welcome! Thanks! Tom --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: HTTPS Support for appspot.com
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 Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Google Developers Day - Java App Engine. Time line? Hype?
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 getting it right takes time. We don't have any dates for you today but be assured that you will be the first to know when we have a release date for a new language for App Engine. Thank you for all your support, we are encouraged by the excitement and interest we see in this discussion. Paul McDonald - App Engine Product Manager On Oct 20, 5:21 am, James [EMAIL PROTECTED] wrote: I read that too along with this post on the same site :http://www.controlenter.in/2008/10/google-developer-day-bangalore-goo... Will we find out more along with the release of the Android SDK? Looking forward to finding out more! James On Oct 19, 8:03 pm, pr3d4t0r [EMAIL PROTECTED] wrote: Greetings. According to this blogger:http://www.controlenter.in/2008/10/java-support-to-appengine-to-count... App Engine will introduce Java support soon. Are these announcements by Google's Prasad Ram true? Is there additional information available somewhere? The only substantive announcement regarding App Engine that I could find recently was the support for HTTPS. Google crew... what's the scoop? Can you guys talk about it yet? Is this only hype? Thanks and cheers, pr3d4t0rhttp://istheserverup.comhttp://teslatestament.com --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Appengine Helper, Utilities, Patch, etc
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 pure django and writing on appengine. It has over 1500 downloads. It seems to continue being supported at a moderate pace (is it a 20% project for someone at Google)? Appengine Patch seems very interesting - it promises to allow you to write in pure Django, excluding models. This makes sense to me. It seems like it is being developed, and initially - looked like it is well made. Other positives are the included zip imports, and the possibility of using my own authentication. My primary concern is that it is a layer that resides at the core of my application, and is a potential source of issues (that are not being addressed by a large community such as Google and Django community). What I am looking for are the following: 1. Reliability. 2. Ability to write as closely to pure Django 1.0 as possible. 3 Using my own user authentication, rather than Google's (wonderful) solution. 4. Zip imports. Can people provide their impressions, positive and negative, with these different approaches? They all seem very exciting - but an open discussion would be welcomed. 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Is db.delete Limited To 1000 Items?
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 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 and I don't see a nice method for doing that with this restriction. I've heard of the method where only a few items would be deleted per request and multiple requests would be made until all items were removed but that isn't really practical for this context. I currently delete all posts before the thread item is deleted so I suppose at worst only some posts will be removed and some left with the thread. In that case multiple 'deletes' would eventually remove the thread entirely... I can't see any better methods, and if there aren't then that's OK, but I'd like to hear any ideas you guys have. :-) Thanks, Lster On Oct 20, 5:33 pm, Ross Ridge [EMAIL PROTECTED] wrote: 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 db.delete() doesn't matter. There are two reasons for this, one is since you can only match 1000 entities at a time there's no reason to delete more than 1000 entities at a time. The second is that I strongly suspect that attempting to delete 1000 entities at once will result your request timing out long before it's finished deleting them all. If you want to delete all entities of a model you're going to need to implement something like the bulk uploader which breaks up the operation across several requests. Ross Ridge --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Suggestions for Datastore backup
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 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/download seems a bit awkward. There are several issues logged already for this (eg. Issue #59http://code.google.com/p/googleappengine/issues/detail?id=59). I'd like to throw out some suggestions for consideration. Provide a mechanism to snapshot an app's datastore in its entirety, keeping it on Google's servers. Commands to switch between versions would then be provided (in header of app.yaml?). The additional storage space could be counted against the limits currently provided for an app. (I'd pay for backup!) Provide a mechanism to download the datastore in its entirety to a local machine (as Issue #59 suggests). Count the bandwidth for such an operation against the app's limits. Would there be a CPU hit as well? The reciprocal upload method would of course be required. (Database processing could then be done on non-Google server machines.) Something simple but capable of giving an app owner peace of mind would be most welcome! Thanks! Tom --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Simple question about ReferenceProperty collections
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, 8:39 am, Alex Vartan [EMAIL PROTECTED] wrote: 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: 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 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 model in lowercase letters and _set added) is used. I've got code that reads like this in one of my classes: parentCategory = db.SelfReferenceProperty(collection_name='subCategories') Then I need to make a copy of the resulting list, but remove an item for temporary processing: somelist = theObject.subCategories somelist.remove(anotherObject) WIll this work, without having to call a fetch? Since the docs make it seem like theObject.subCategories is actually an object of type Query. Thanks, Alex --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Creating web forms in GAE
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 PROTECTED] wrote: I think: - Servlets are old (now I'm using Struts2) - I like Python to build web prototypes, - and Java static typization for big projects. - GWT output is Javascript/HTML (it is simple to put into GAE) - if you are thinking integration as GWT made with Python, a good way is Jython (now I'm using IronPython .NET/Mono for my web browser: this is another integration way) On Oct 17, 7:51 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: And what about using python to make server side code instead of java servlets? Is that a proper way to integrate GAE and GWT? Excuse me for my bad english. On Oct 17, 1:49 am, Davide Rognoni [EMAIL PROTECTED] wrote: I like the idea of a GAE Java version: it will run under Tomcat. On Oct 16, 3:50 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, David! I thought that my first attempt to ask question have failed. And what do you think about Java in GAE ? Davide Rognoni wrote: web forms with widgets in Django http://docs.djangoproject.com/en/dev/ref/forms/widgets/ On Oct 15, 3:38 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Can anybody say please, what ways exist in GAE environment to create web forms like in GWT widgets library. Is it possible to use tcl\tk from python? Thanks in advance! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application
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-free. I simply copied and pasted the code found here: http://code.google.com/appengine/docs/gettingstarted/usingdatastore.html Up till this point I receive errors when refreshing http://localhost:8080/ in my safari browser. This is the code I am running:- from google.appengine.ext import db import cgi from google.appengine.api import users from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class MainPage(webapp.RequestHandler): def get(self): self.response.out.write( html body form action=/sign method=post divtextarea name=content rows=3 cols=60/ textarea/div divinput type=submit value=Sign Guestbook/div /form /body /html) class Guestbook(webapp.RequestHandler): def post(self): greeting = Greeting() if users.get_current_user(): greeting.author = users.get_current_user() greeting.content = self.request.get('content') greeting.put() self.redirect('/') def main(): run_wsgi_app(application) if __name__ == __main__: main() END-- If i finish and Edit the MainPage handler to appear similar to the following... I will also run into a massive error message when viewing the application on Safari browser. This would then be the code I am runnnig: - from google.appengine.ext import db import cgi from google.appengine.api import users from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class MainPage(webapp.RequestHandler): def get(self): self.response.out.write('htmlbody') greetings = db.GqlQuery(SELECT * FROM Greeting ORDER BY date DESC LIMIT 10) for greeting in greetings: if greeting.author: self.response.out.write('b%s/b wrote:' % greeting.author.nickname()) else: self.response.out.write('An anonymous person wrote:') self.response.out.write('blockquote%s/blockquote' % cgi.escape(greeting.content)) # Write the submission form and the footer of the page self.response.out.write( form action=/sign method=post divtextarea name=content rows=3 cols=60/ textarea/div divinput type=submit value=Sign Guestbook/div /form /body /html) class Guestbook(webapp.RequestHandler): def post(self): greeting = Greeting() if users.get_current_user(): greeting.author = users.get_current_user() greeting.content = self.request.get('content') greeting.put() self.redirect('/') def main(): run_wsgi_app(application) if __name__ == __main__: main() END What am I doing wrong? I reload http://localhost:8080/ in my browser and cannot post, I get a full page of Errors. Thank u. ~Adrie S. SilvaPrints.com --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Is db.delete Limited To 1000 Items?
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. Search the forum would also turn up there posts making things generally cluttered. On Oct 20, 9:14 pm, Andrew Badera [EMAIL PROTECTED] 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? On Mon, Oct 20, 2008 at 4:13 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks everyone. I must say this is a little unsatisfactory only deleting 1000 entries. My forum athttp://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 and I don't see a nice method for doing that with this restriction. I've heard of the method where only a few items would be deleted per request and multiple requests would be made until all items were removed but that isn't really practical for this context. I currently delete all posts before the thread item is deleted so I suppose at worst only some posts will be removed and some left with the thread. In that case multiple 'deletes' would eventually remove the thread entirely... I can't see any better methods, and if there aren't then that's OK, but I'd like to hear any ideas you guys have. :-) Thanks, Lster On Oct 20, 5:33 pm, Ross Ridge [EMAIL PROTECTED] wrote: 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 db.delete() doesn't matter. There are two reasons for this, one is since you can only match 1000 entities at a time there's no reason to delete more than 1000 entities at a time. The second is that I strongly suspect that attempting to delete 1000 entities at once will result your request timing out long before it's finished deleting them all. If you want to delete all entities of a model you're going to need to implement something like the bulk uploader which breaks up the operation across several requests. Ross Ridge --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application
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 to Using Datastore Edit the Guestbook handler to appear similar to the following... and now my application will not run error-free. I simply copied and pasted the code found here: http://code.google.com/appengine/docs/gettingstarted/usingdatastore.html Up till this point I receive errors when refreshing http://localhost:8080/ in my safari browser. This is the code I am running:- from google.appengine.ext import db import cgi from google.appengine.api import users from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class MainPage(webapp.RequestHandler): def get(self): self.response.out.write( html body form action=/sign method=post divtextarea name=content rows=3 cols=60/ textarea/div divinput type=submit value=Sign Guestbook/div /form /body /html) class Guestbook(webapp.RequestHandler): def post(self): greeting = Greeting() if users.get_current_user(): greeting.author = users.get_current_user() greeting.content = self.request.get('content') greeting.put() self.redirect('/') def main(): run_wsgi_app(application) if __name__ == __main__: main() END-- If i finish and Edit the MainPage handler to appear similar to the following... I will also run into a massive error message when viewing the application on Safari browser. This would then be the code I am runnnig: - from google.appengine.ext import db import cgi from google.appengine.api import users from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class MainPage(webapp.RequestHandler): def get(self): self.response.out.write('htmlbody') greetings = db.GqlQuery(SELECT * FROM Greeting ORDER BY date DESC LIMIT 10) for greeting in greetings: if greeting.author: self.response.out.write('b%s/b wrote:' % greeting.author.nickname()) else: self.response.out.write('An anonymous person wrote:') self.response.out.write('blockquote%s/blockquote' % cgi.escape(greeting.content)) # Write the submission form and the footer of the page self.response.out.write( form action=/sign method=post divtextarea name=content rows=3 cols=60/ textarea/div divinput type=submit value=Sign Guestbook/div /form /body /html) class Guestbook(webapp.RequestHandler): def post(self): greeting = Greeting() if users.get_current_user(): greeting.author = users.get_current_user() greeting.content = self.request.get('content') greeting.put() self.redirect('/') def main(): run_wsgi_app(application) if __name__ == __main__: main() END What am I doing wrong? I reload http://localhost:8080/ in my browser and cannot post, I get a full page of Errors. Thank u. ~Adrie S. SilvaPrints.com --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Is db.delete Limited To 1000 Items?
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 moderators and admins. That way the thread can be unhidden if deleted by accident or inappropriately. If space becomes an issue then I'd delete the oldest messages with a daily cron job. Assuming that is, some sort cron-like functionality gets added some time before then. Ross Ridge --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Join us for App Engine Chat Time
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 with holding bi-monthly 1 hour developer chat sessions on the #appengine IRC channel on irc.freenode.net. Look here: http://en.wikipedia.org/wiki/List_of_IRC_clients for a helpful list of IRC clients. We welcome all App Engine questions, and will try to answer as many as we can get through in the hour. We'll be posting the complete chat sessions on the group for those not able to make the scheduled chat times. The first chat session will be this Wednesday at 9AM PDT. In general, we are planning on holding the sessions the first and third Wednesday of the month, alternating between day and evening. We're test-driving this program, so the days and times may change. Here are the currently scheduled dates and times: * Wednesday, October 20, 9am-10am PDT * Wednesday, November 5, 7pm-8pm PST * Wednesday, November 19, 9am-10am PST * Wednesday, December 3, 7pm-8pm PST * Wednesday, December 17, 9am-10am PST We look forward to chatting with you! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] appengine-utilities 1.0rc3 release
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 has been renamed to appengine_utilities/ django-middleware. Anyone using the session library with the django middleware will need to adjust their imports - a bug with cache not cleaning up old cache entries has been fixed. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Invalid hash error in appcfg.py
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 (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); 2008-10-21 10:46:38,799 DEBUG appcfg.py:437 Could not load authentication cookies; LoadError: 'C:\\Users\\XXX/.appcfg_cookies' does not look like a Netscape format cookies file 2008-10-21 10:46:38,801 INFO appcfg.py:208 Server: appengine.google.com 2008-10-21 10:46:38,802 INFO appcfg.py:657 Checking for updates to the SDK. Password for XXX 2008-10-21 10:46:41,489 DEBUG appcfg.py:220 Creating request for: 'https://www.google.com/accounts/ClientLogin' with payload: Passwd=XXXsource=Google- appcfg-1.0accountType=HOSTED_OR_GOOGLEEmail=XXXservice=ah APF MOD send request 2008-10-21 10:46:44,033 DEBUG appcfg.py:220 Creating request for: 'http://appengine.google.com/_ah/login?continue=http%3 A%2F%2Flocalhost%2Fauth=XXXhttp://appengine.google.com/_ah/login?continue=http%3A%2F%2Flocalhost%2Fauth=XXX' with payload: None 2008-10-21 10:46:46,911 DEBUG appcfg.py:220 Creating request for: 'http://appengine.google.com/api/updatecheck? release=1.1.5timestamp=1222740096api_versions=%5B%271%27%5Dhttp://appengine.google.com/api/updatecheck?release=1.1.5timestamp=1222740096api_versions=%5B%271%27%5D' with payload: 2008-10-21 10:46:49,207 INFO appcfg.py:671 The SDK is up to date. 2008-10-21 10:46:49,209 INFO appcfg.py:1370 Reading app configuration. Scanning files on local disk. 2008-10-21 10:46:49,210 INFO appcfg.py:1380 Ignoring file 'app.yaml': File matches ignore regex. 2008-10-21 10:46:49,213 INFO appcfg.py:1388 Processing file 'index.html' 2008-10-21 10:46:49,216 INFO appcfg.py:1380 Ignoring file 'index.yaml': File matches ignore regex. 2008-10-21 10:46:49,220 INFO appcfg.py:1388 Processing file 'xxx.py' Initiating update. 2008-10-21 10:46:49,233 DEBUG appcfg.py:220 Creating request for: 'http://appengine.google.com/api/appversion/create? version=1app_id=xxxhttp://appengine.google.com/api/appversion/create?version=1app_id=xxx' with payload: api_version: '1' application: xxx handlers: - script: xxx.py url: /.* runtime: python version: '1' Cloning 2 application files. 2008-10-21 10:46:51,609 DEBUG appcfg.py:220 Creating request for: 'http://appengine.google.com/api/appversion/clonefiles? version=1app_id=xxxhttp://appengine.google.com/api/appversion/clonefiles?version=1app_id=xxx' with payload: index.html|72a94af2_042dc6e1_1672f430_fe705425_20c939e2 xxx.py|307a0781_09fb48ca_2e302114_494946f5_de57bf6a 2008-10-21 10:46:53,936 ERROR appcfg.py:1425 An unexpected error occurred. Aborting. Rolling back the update. 2008-10-21 10:46:53,937 DEBUG appcfg.py:220 Creating request for: 'http://appengine.google.com/api/appversion/rollback? version=1app_id=xxxhttp://appengine.google.com/api/appversion/rollback?version=1app_id=xxx' with payload: Error 400: --- begin server output --- Invalid hash: 72a94af2_042dc6e1_1672f430_fe705425_20c939e2 --- end server output --- --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Join us for App Engine Chat Time
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 we have swf files that are larger than 1mb. Is it possible to request a small tweak to our file size limit? Thank you! -Mike Wesner --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: exceptions.SystemError?
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, Aral Balkan [EMAIL PROTECTED] wrote: Is anyone else seeing errors similar to the following. It seems to happen randomly -- possibly following a datastore write. The only thing that fixes the app after it happens is to re-deploy. Thoughts? Issue link:http://tinyurl.com/4c2z2v Thanks, Aral 500 Error at /admin/ (type 'exceptions.SystemError') type 'exceptions.SystemError': Parent module 'django.template' not loaded Traceback (most recent call last): File /base/data/home/apps/si/4.18/common/appenginepatch/main.py, line 24, in real_main util.run_wsgi_app(application) File /base/python_lib/versions/1/google/appengine/ext/webapp/ util.py, line 76, in run_wsgi_app result = application(env, _start_response) File /base/data/home/apps/si/4.18/common/django/core/handlers/ wsgi.py, line 239, in __call__ response = self.get_response(request) File /base/data/home/apps/si/4.18/common/django/core/handlers/ base.py, line 128, in get_response return self.handle_uncaught_exception(request, resolver, exc_info) File /base/data/home/apps/si/4.18/common/django/core/handlers/ base.py, line 160, in handle_uncaught_exception return callback(request, **param_dict) File /base/data/home/apps/si/4.18/core/decorators.py, line 189, in autorization_decorator return target_method(request, first_level, second_level, context, *args, **kwargs) File /base/data/home/apps/si/4.18/core/views.py, line 2643, in error_500 return helpers.render_response('500', first_level, second_level, context, 'HttpResponseServerError') File /base/data/home/apps/si/4.18/core/helpers.py, line 214, in render_response return eval(response_type)(loader.render_to_string(templateFile, context)) File /base/data/home/apps/si/4.18/common/django/template/ loader.py, line 102, in render_to_string t = get_template(template_name) File /base/data/home/apps/si/4.18/common/django/template/ loader.py, line 80, in get_template source, origin = find_template_source(template_name) File /base/data/home/apps/si/4.18/common/django/template/ loader.py, line 54, in find_template_source mod = __import__(module, globals(), locals(), [attr]) type 'exceptions.SystemError': Parent module 'django.template' not loaded -- Best Regards, Damien --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] simulating login using webtest
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 subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: exceptions.SystemError?
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, 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, Aral Balkan [EMAIL PROTECTED] wrote: Is anyone else seeing errors similar to the following. It seems to happen randomly -- possibly following a datastore write. The only thing that fixes the app after it happens is to re-deploy. Thoughts? Issue link:http://tinyurl.com/4c2z2v Thanks, Aral 500 Error at /admin/ (type 'exceptions.SystemError') type 'exceptions.SystemError': Parent module 'django.template' not loaded Traceback (most recent call last): File /base/data/home/apps/si/4.18/common/appenginepatch/main.py, line 24, in real_main util.run_wsgi_app(application) File /base/python_lib/versions/1/google/appengine/ext/webapp/ util.py, line 76, in run_wsgi_app result = application(env, _start_response) File /base/data/home/apps/si/4.18/common/django/core/handlers/ wsgi.py, line 239, in __call__ response = self.get_response(request) File /base/data/home/apps/si/4.18/common/django/core/handlers/ base.py, line 128, in get_response return self.handle_uncaught_exception(request, resolver, exc_info) File /base/data/home/apps/si/4.18/common/django/core/handlers/ base.py, line 160, in handle_uncaught_exception return callback(request, **param_dict) File /base/data/home/apps/si/4.18/core/decorators.py, line 189, in autorization_decorator return target_method(request, first_level, second_level, context, *args, **kwargs) File /base/data/home/apps/si/4.18/core/views.py, line 2643, in error_500 return helpers.render_response('500', first_level, second_level, context, 'HttpResponseServerError') File /base/data/home/apps/si/4.18/core/helpers.py, line 214, in render_response return eval(response_type)(loader.render_to_string(templateFile, context)) File /base/data/home/apps/si/4.18/common/django/template/ loader.py, line 102, in render_to_string t = get_template(template_name) File /base/data/home/apps/si/4.18/common/django/template/ loader.py, line 80, in get_template source, origin = find_template_source(template_name) File /base/data/home/apps/si/4.18/common/django/template/ loader.py, line 54, in find_template_source mod = __import__(module, globals(), locals(), [attr]) type 'exceptions.SystemError': Parent module 'django.template' not loaded -- Best Regards, Damien --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] loading content (text,pictures) intro flash
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 this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Wordpress is supported on the Google App Engine?
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, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Appengine Helper, Utilities, Patch, etc
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 believe it's not specific to app-engine-patch. 2. I depend on 200 lines of code provided by app-engine-patch to ease the implementation of custom authentication. This code could be easily rewritten or integrated to your app should you decide to migrate to vanilla Django. Migration from the datastore would take most time anyway. 3. See above. Very easy and very flexible. 4. After removing unused files from Django, my entire project is about 500 files. I didn't use zip imports and don't plan to. Hope this helps and let me know if you have other questions. -- Alex www.muspy.com On Oct 21, 7:56 am, johnP [EMAIL PROTECTED] wrote: 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 pure django and writing on appengine. It has over 1500 downloads. It seems to continue being supported at a moderate pace (is it a 20% project for someone at Google)? Appengine Patch seems very interesting - it promises to allow you to write in pure Django, excluding models. This makes sense to me. It seems like it is being developed, and initially - looked like it is well made. Other positives are the included zip imports, and the possibility of using my own authentication. My primary concern is that it is a layer that resides at the core of my application, and is a potential source of issues (that are not being addressed by a large community such as Google and Django community). What I am looking for are the following: 1. Reliability. 2. Ability to write as closely to pure Django 1.0 as possible. 3 Using my own user authentication, rather than Google's (wonderful) solution. 4. Zip imports. Can people provide their impressions, positive and negative, with these different approaches? They all seem very exciting - but an open discussion would be welcomed. 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Join us for App Engine Chat Time
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 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 with holding bi-monthly 1 hour developer chat sessions on the #appengine IRC channel on irc.freenode.net. Look here:http://en.wikipedia.org/wiki/List_of_IRC_clientsfor a helpful list of IRC clients. We welcome all App Engine questions, and will try to answer as many as we can get through in the hour. We'll be posting the complete chat sessions on the group for those not able to make the scheduled chat times. The first chat session will be this Wednesday at 9AM PDT. In general, we are planning on holding the sessions the first and third Wednesday of the month, alternating between day and evening. We're test-driving this program, so the days and times may change. Here are the currently scheduled dates and times: * Wednesday, October 20, 9am-10am PDT * Wednesday, November 5, 7pm-8pm PST * Wednesday, November 19, 9am-10am PST * Wednesday, December 3, 7pm-8pm PST * Wednesday, December 17, 9am-10am PST We look forward to chatting with you! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Join us for App Engine Chat Time
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 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 with holding bi-monthly 1 hour developer chat sessions on the #appengine IRC channel on irc.freenode.net. Look here:http://en.wikipedia.org/wiki/List_of_IRC_clientsfor a helpful list of IRC clients. We welcome all App Engine questions, and will try to answer as many as we can get through in the hour. We'll be posting the complete chat sessions on the group for those not able to make the scheduled chat times. The first chat session will be this Wednesday at 9AM PDT. In general, we are planning on holding the sessions the first and third Wednesday of the month, alternating between day and evening. We're test-driving this program, so the days and times may change. Here are the currently scheduled dates and times: * Wednesday, October 20, 9am-10am PDT * Wednesday, November 5, 7pm-8pm PST * Wednesday, November 19, 9am-10am PST * Wednesday, December 3, 7pm-8pm PST * Wednesday, December 17, 9am-10am PST We look forward to chatting with you! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Creating web forms in GAE
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 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 PROTECTED] wrote: I think: - Servlets are old (now I'm using Struts2) - I like Python to build web prototypes, - and Java static typization for big projects. - GWT output is Javascript/HTML (it is simple to put into GAE) - if you are thinking integration as GWT made with Python, a good way is Jython (now I'm using IronPython .NET/Mono for my web browser: this is another integration way) On Oct 17, 7:51 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: And what about using python to make server side code instead of java servlets? Is that a proper way to integrate GAE and GWT? Excuse me for my bad english. On Oct 17, 1:49 am, Davide Rognoni [EMAIL PROTECTED] wrote: I like the idea of a GAE Java version: it will run under Tomcat. On Oct 16, 3:50 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, David! I thought that my first attempt to ask question have failed. And what do you think about Java in GAE ? Davide Rognoni wrote: web forms with widgets in Django http://docs.djangoproject.com/en/dev/ref/forms/widgets/ On Oct 15, 3:38 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Can anybody say please, what ways exist in GAE environment to create web forms like in GWT widgets library. Is it possible to use tcl\tk from python? Thanks in advance! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Is GAE ready for python2.6?
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 to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---