Re: Pylons on Google App Engine article

2009-10-17 Thread Ian Bicking
On Fri, Oct 16, 2009 at 5:57 PM, Matt Feifarek matt.feifa...@gmail.com wrote: I don't use paster serve, and wouldn't recommend it.  You can/should use paste.deploy.loadapp('development.ini') in your main.py or runner.py or whatever script, and then use dev_appserver. Would you mind expanding

Re: Pylons on Google App Engine article

2009-10-16 Thread Ian Bicking
On Thu, Oct 15, 2009 at 2:01 PM, Matt Feifarek matt.feifa...@gmail.com wrote: On Thu, Oct 15, 2009 at 12:41 PM, Jason S. jas...@tuffmail.com wrote: I still don't get setuptools. I don't understand namespace packages, or rather their deployment. I don't get why I can't move (for example)

Re: Pylons on Google App Engine article

2009-10-16 Thread Matt Feifarek
On Fri, Oct 16, 2009 at 1:04 PM, Ian Bicking i...@colorstudy.com wrote: I remember at some point having a problem with pip installing the Paste packages, and paste/__init__.py was missing. I think I was working on an actual app so I punted and created the file manually, and didn't try to

Re: Pylons on Google App Engine article

2009-10-15 Thread Matt Feifarek
On Thu, Oct 15, 2009 at 12:10 AM, Ian Bicking i...@colorstudy.com wrote: I personally got too annoyed with testing and general interactivity (there's a nose extension though, which I cribbed from -- but I never actually got it to work myself). This process has been EXTREMELY annoying. I've

Re: Pylons on Google App Engine article

2009-10-15 Thread Jason S.
On Oct 15, 11:59 am, Matt Feifarek matt.feifa...@gmail.com wrote: On Thu, Oct 15, 2009 at 12:10 AM, Ian Bicking i...@colorstudy.com wrote: I personally got too annoyed with testing and general interactivity (there's a nose extension though, which I cribbed from -- but I never actually got

Re: Pylons on Google App Engine article

2009-10-15 Thread Matt Feifarek
On Thu, Oct 15, 2009 at 12:41 PM, Jason S. jas...@tuffmail.com wrote: I still don't get setuptools. I don't understand namespace packages, or rather their deployment. I don't get why I can't move (for example) paste, and the Paste* items to another directory that is ON sys.path and have it

Re: Pylons on Google App Engine article

2009-10-15 Thread Mike Orr
On Thu, Oct 15, 2009 at 9:59 AM, Matt Feifarek matt.feifa...@gmail.com wrote: This process has been EXTREMELY annoying. I've spent many hours trying to get things to work that I should have been spending working on my project. Mostly, its my own ignorance of current magical techniques: All of

Re: Pylons on Google App Engine article

2009-10-15 Thread Jason S.
unless it's added to the path somehow. BTW, I don't think GAE uses .pth files, which is why sys.path manipulation is necessary. It *seems *like this isn't true. If I omit pth files when uploading to GAE, my app is failing with a 500 error. But I wouldn't trust that yet... can you do a

Re: Pylons on Google App Engine article

2009-10-15 Thread Matt Feifarek
On Thu, Oct 15, 2009 at 2:21 PM, Mike Orr sluggos...@gmail.com wrote: On Thu, Oct 15, 2009 at 9:59 AM, Matt Feifarek matt.feifa...@gmail.com wrote: This process has been EXTREMELY annoying. I've spent many hours trying to get things to work that I should have been spending working on my

Re: Pylons on Google App Engine article

2009-10-14 Thread Matt Feifarek
be converted (though the necessary changes to models, etc., mean that reusability is poor nonetheless.) http://countergram.com/articles/pylons-google-app-engine/ Feedback is welcome and I'll try to update the article promptly if there are any show-stoppers or better approaches. I've done several

Re: Pylons on Google App Engine article

2009-10-14 Thread Ian Bicking
On Wed, Oct 14, 2009 at 4:35 PM, Matt Feifarek matt.feifa...@gmail.com wrote: This seems much better than my own recent work... I think it's a mistake to start with appengine-homedir... better to just start from stock Pylons and hack it till it works on GAE. That's been my discovery over the

Pylons on Google App Engine article

2009-10-12 Thread Jason S.
-google-app-engine/ Feedback is welcome and I'll try to update the article promptly if there are any show-stoppers or better approaches. I've done several runs through the steps provided, though. Jason --~--~-~--~~~---~--~~ You received this message because you

Re: Pylons on Google App Engine

2009-10-11 Thread Mike Orr
On Sat, Oct 10, 2009 at 10:38 PM, Matt Feifarek matt.feifa...@gmail.com wrote: 2. Patch Paste Deploy with a new loader class, to load a function spec instead of an egg spec, without changing anything else about the INI file format. In other words, my app:main looks like this: [app:main] use

Re: Pylons on Google App Engine

2009-10-11 Thread Jason S.
On Oct 11, 12:38 am, Matt Feifarek matt.feifa...@gmail.com wrote: I think that you can simply delete the speedups file from the simplejson module. Works, thanks. [app:main] use = func:myhello.config.middleware:make_app full_stack = true I'm not following completely. Does this make the

Re: Pylons on Google App Engine

2009-10-10 Thread Jason S.
I just got a hello-world Pylons app running on GAE without using the appengine-monkey/homedir scripts and using the stock paster template (and an INI file). I'm not sure if I'm going to use GAE seriously, but it's an interesting problem to work on. If I am, then personally, I would rather not use

Re: Pylons on Google App Engine

2009-10-10 Thread Matt Feifarek
This sound really promising. On Sat, Oct 10, 2009 at 9:15 PM, Jason S. jas...@tuffmail.com wrote: I just got a hello-world Pylons app running on GAE without using the appengine-monkey/homedir scripts and using the stock paster template (and an INI file). I'm not sure if I'm going to use GAE

Re: Pylons on Google App Engine

2009-10-08 Thread Mike Orr
On Wed, Oct 7, 2009 at 9:26 PM, Matt Feifarek matt.feifa...@gmail.com wrote: On Wed, Oct 7, 2009 at 1:27 AM, Mike Orr sluggos...@gmail.com wrote: None has been mentioned on the list.  The thread you found is the latest.  If you have time to figure out the easiest install procedure for Pylons

Re: Pylons on Google App Engine

2009-10-08 Thread Mike Orr
On Wed, Oct 7, 2009 at 9:26 PM, Matt Feifarek matt.feifa...@gmail.com wrote: Also, I probably have some terminology wrong: I'm not sure what the meta files like MANIFEST.in and ez_setup.py actually are... are they egg files? Paster files? Setuptools? I don't know what to properly call them

Re: Pylons on Google App Engine

2009-10-08 Thread Matt Feifarek
Thanks for the answers and clarifications... more below. On Thu, Oct 8, 2009 at 3:03 AM, Mike Orr sluggos...@gmail.com wrote: Feel free to link to it on the other page, or to paste the whole thing into that page. Will-do. And I'll fix the error you pointed out, change the thanks

Re: Pylons on Google App Engine

2009-10-08 Thread Matt Feifarek
On Thu, Oct 8, 2009 at 3:35 AM, Mike Orr sluggos...@gmail.com wrote: An egg is a Python package accompanied by its metadata. An egg can contain more than one package, but always one metadata. There are two file formats for eggs: ... Thanks for all of that. It helps. A lot. I'll look at

Re: Pylons on Google App Engine

2009-10-08 Thread Ian Bicking
On Thu, Oct 8, 2009 at 3:03 AM, Mike Orr sluggos...@gmail.com wrote: Also, I probably have some terminology wrong: I'm not sure what the meta files like MANIFEST.in and ez_setup.py actually are... are they egg files? Paster files? Setuptools? I don't know what to properly call them when I

Re: Pylons on Google App Engine

2009-10-08 Thread Mike Orr
On Thu, Oct 8, 2009 at 11:32 AM, Matt Feifarek matt.feifa...@gmail.com wrote: I'm not sure I'm up to that task (I use Pylons a lot, but kindof tune-out the parts about PasteDeply/Script, SetupTools, etc. Even if you can just keep testing the process and adding advice to the howto, that would

Re: Pylons on Google App Engine

2009-10-08 Thread Jonathan Vanasco
On Oct 8, 12:26 am, Matt Feifarek matt.feifa...@gmail.com wrote: (Wikis suck. It totally roasted all my formatting from rst/html. Editing yet-another-markup in a textarea is painful. Argh.) Some wikis -- like trac -- support rst formatting. in trac you just format it like this: {{{ #!rst

Re: Pylons on Google App Engine

2009-10-08 Thread Mike Orr
On Thu, Oct 8, 2009 at 2:45 PM, Jonathan Vanasco jonat...@findmeon.com wrote: On Oct 8, 12:26 am, Matt Feifarek matt.feifa...@gmail.com wrote: (Wikis suck. It totally roasted all my formatting from rst/html. Editing yet-another-markup in a textarea is painful. Argh.) Some wikis  -- like

Re: Pylons on Google App Engine

2009-10-08 Thread Mike Orr
On Thu, Oct 8, 2009 at 12:08 PM, Ian Bicking i...@colorstudy.com wrote: Correct; I have in the past basically flattened things for appengine.  Unfortunately that doesn't work well with paster create -t pylons. It might however be more productive to have an appengine template, since you already

Re: Pylons on Google App Engine

2009-10-08 Thread Matt Feifarek
On Thu, Oct 8, 2009 at 3:29 PM, Mike Orr sluggos...@gmail.com wrote: This leads to two questions: 1. Can we simply delete that stuff ? It would make it harder to manage the app going forward. Can we delete what? Sorry; I edited out the part that would have made that more clear. What I

Re: Pylons on Google App Engine

2009-10-08 Thread Matt Feifarek
On Thu, Oct 8, 2009 at 3:29 PM, Mike Orr sluggos...@gmail.com wrote: On Thu, Oct 8, 2009 at 11:32 AM, Matt Feifarek matt.feifa...@gmail.com wrote: I'm not sure I'm up to that task (I use Pylons a lot, but kindof tune-out the parts about PasteDeply/Script, SetupTools, etc. Even if you

Re: Pylons on Google App Engine

2009-10-08 Thread Mike Orr
On Thu, Oct 8, 2009 at 3:46 PM, Matt Feifarek matt.feifa...@gmail.com wrote:  What we need is somebody who regularly uses Pylons on App Engine to maintain the howto. I don't know how long my commitment to use GAE will continue. I'm basically evaluating it now with a project. If I can help

Re: Pylons on Google App Engine

2009-10-07 Thread Matt Feifarek
On Wed, Oct 7, 2009 at 1:27 AM, Mike Orr sluggos...@gmail.com wrote: None has been mentioned on the list. The thread you found is the latest. If you have time to figure out the easiest install procedure for Pylons on App Engine and to update the howto, it would be a contribution to Pylons.

Re: Pylons on Google App Engine

2009-10-07 Thread Matt Feifarek
On Wed, Oct 7, 2009 at 1:27 AM, Mike Orr sluggos...@gmail.com wrote: None has been mentioned on the list. The thread you found is the latest. If you have time to figure out the easiest install procedure for Pylons on App Engine and to update the howto, it would be a contribution to Pylons.

Pylons on Google App Engine

2009-08-10 Thread Brian O'Connor
I've read a few threads about the state of pylons on google app engine, and that parts of it work and parts don't. Doing a quick google on the subject reveals a few tutorials that use appengine-monkey to accomplish setting up the framework, however it appears as if that is no longer necessary. I

Re: Pylons on Google App Engine

2009-08-10 Thread Mike Orr
On Mon, Aug 10, 2009 at 1:55 PM, Brian O'Connorgatzby...@gmail.com wrote: I've read a few threads about the state of pylons on google app engine, and that parts of it work and parts don't.  Doing a quick google on the subject reveals a few tutorials that use appengine-monkey to accomplish

Re: Pylons on Google App Engine

2008-07-22 Thread Hanno Schlichting
Hi. On Tue, Jul 22, 2008 at 5:41 AM, Michael Bayer [EMAIL PROTECTED] wrote: On Jul 21, 6:29 pm, Hanno Schlichting [EMAIL PROTECTED] wrote: Hhm, somewhat obfuscated code ;) well we did the cheetah thing and made sure we used names that would never conflict with end-user variables

Re: Pylons on Google App Engine

2008-07-22 Thread Mike Orr
On Tue, Jul 22, 2008 at 12:05 PM, Walter Cruz [EMAIL PROTECTED] wrote: Guido Van Rossum has published a zipimport for appengine, this could shirnk the package a lot ;) The problem is that Pylons is not zip safe according to Ben because it uses __file_. I've also heard Mako can't load

Pylons on Google App Engine

2008-07-21 Thread js
Hi, I'm planning on moving my site to Google App Engine. Pylons is the Framework I choose for this. I learned Pylons works on app engine by using appenginemonkey so I tried by following the following doc. http://code.google.com/p/appengine-monkey/wiki/Pylons Ian Bicking's explanation is so

Re: Pylons on Google App Engine

2008-07-21 Thread Mike Orr
On Sun, Jul 20, 2008 at 9:55 AM, js [EMAIL PROTECTED] wrote: Hi, I'm planning on moving my site to Google App Engine. Pylons is the Framework I choose for this. I learned Pylons works on app engine by using appenginemonkey so I tried by following the following doc. http://code.google.com

Re: Pylons on Google App Engine

2008-07-21 Thread Wichert Akkerman
Mike Orr wrote: On Mon, Jul 21, 2008 at 12:02 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Mike Orr wrote: Of course, that will diminish Mako's amazing speed. It remains to be seen how much of a difference it makes. Perhaps down the road Mako can be patched to put cached

Re: Pylons on Google App Engine

2008-07-21 Thread Antonio Beamud Montero
El lun, 21-07-2008 a las 11:11 +0200, Wichert Akkerman escribió: Mike Orr wrote: On Mon, Jul 21, 2008 at 12:02 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Mike Orr wrote: Of course, that will diminish Mako's amazing speed. It remains to be seen how much of a difference

Re: Pylons on Google App Engine

2008-07-21 Thread Jonathan Vanasco
php is a templating language. all that stuff is written in c and is optimized. php is WAY faster at variable interpolation than python, perl, everything else. templates are a small fraction of your 'business logic'. 95% of what you do in pylons, php, and everythign else will have the database

Re: Pylons on Google App Engine

2008-07-21 Thread Walter Cruz
On Sun, Jul 20, 2008 at 6:14 PM, Mike Orr [EMAIL PROTECTED] wrote: Hi JS, I'm writing a book on Python on App Engine (http://www.manning.com/gift/) and am just now sorting out what issues Pylons has on it. So any tips from others who are using Pylons on App Engine would be greatly

Re: Pylons on Google App Engine

2008-07-21 Thread Jens Hoffrichter
Hello Jonathan, 2008/7/21 Jonathan Vanasco [EMAIL PROTECTED]: php is a templating language. all that stuff is written in c and is optimized. php is WAY faster at variable interpolation than python, perl, everything else. templates are a small fraction of your 'business logic'. 95% of

Re: Pylons on Google App Engine

2008-07-21 Thread [EMAIL PROTECTED]
Hi. I'm sitting in a room with Wichert right now and he told me, that he posted about my blog post in here, so that's where I think Michael have seen it :) Michael posted some comments on http://hannosch.blogspot.com/2008/07/project-messerschmidt-vs-nkotb.html which I'd like to follow up on in

Re: Pylons on Google App Engine

2008-07-21 Thread Michael Bayer
On Jul 21, 4:56 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: def render(table, _context=None, target_language=None):     global generation     (_out, _write) = generation.initialize_stream()     (_attributes, repeat) = generation.initialize_tal()     (_domain, _negotiate, _translate) =

Re: Pylons on Google App Engine

2008-07-21 Thread Jonathan Vanasco
On Jul 21, 11:57 am, Jens Hoffrichter [EMAIL PROTECTED] wrote: I don't want to start a religious discussion about programming languages here, especially about speed and ease of use. I don't either, but I need to clarify something. I think in context of the question and the response, it was

Re: Pylons on Google App Engine

2008-07-21 Thread chsoft
Why is there so much different in response time? On Jul 21, 5:48 pm, Antonio Beamud Montero [EMAIL PROTECTED] wrote: El lun, 21-07-2008 a las 11:11 +0200, Wichert Akkerman escribió: Mike Orr wrote: On Mon, Jul 21, 2008 at 12:02 AM, Wichert Akkerman [EMAIL PROTECTED] wrote:

Re: Pylons on Google App Engine

2008-07-21 Thread hanno...@googlemail.com
Hi. I'm sitting in a room with Wichert right now and he told me, that he posted about my blog post in here, so that's where I think Michael have seen it :) Michael posted some comments on http://hannosch.blogspot.com/2008/07/project-messerschmidt-vs-nkotb.html which I'd like to follow up on in

Re: Pylons on Google App Engine

2008-07-21 Thread Hanno Schlichting
Hi. Sorry, for the double post, the incredibly bad Google Groups UI didn't seem to accept my post and wasn't giving a hint at the moderation for first time posters. Michael Bayer wrote: Yeah, so here is the mako render() method for that template: def render_body(context,**pageargs):

Re: Pylons on Google App Engine

2008-07-21 Thread Michael Bayer
Mako uses beaker for caching so it should support any of those backends. There's a little bit of hardcoding to particular Beaker backends in 0.2.2 which is removed in the current trunk (also in prep for the new release of Beaker), but even with 0.2.2 that can be worked around by adding the

Re: Pylons on Google App Engine

2008-07-20 Thread js
[EMAIL PROTECTED] wrote: Hi, I'm planning on moving my site to Google App Engine. Pylons is the Framework I choose for this. I learned Pylons works on app engine by using appenginemonkey so I tried by following the following doc. http://code.google.com/p/appengine-monkey/wiki/Pylons Ian