Re: myghty: Error(UnicodeDecodeError): 'ascii' codec can't decode byte 0xc3

2007-05-16 Thread Jens Hoffrichter
On 5/16/07, voltron [EMAIL PROTECTED] wrote: Hi Steve, this is good information as it is a good workaround for the problem that I have been having with my Mako templates with Umlauts( see thread http://groups.google.com/group/pylons-discuss/browse_thread/thread/4d278dee35c62519) I´m just

Re: pylons crash

2007-08-23 Thread Jens Hoffrichter
You might want to take a look here: http://groups.google.com/group/pylons-discuss/browse_thread/thread/4d944dc3c85346d5/70948f9c90994de0 This actually a quite common python problem, if this doesn't resolve your issues, you may look in the group for unicode or utf-8. It is almost certainly

Re: Running Pylons via FastCGI (Again)

2007-09-11 Thread Jens Hoffrichter
Hello, On 9/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Issuing an os.chdir(/path/to/pylons) fixed the problem although I am not sure if this is the best solution or not. If there any suggestions on how to make this work better, I would really appreciate it. I think you need to add

Re: Running Pylons via FastCGI (Again)

2007-09-11 Thread Jens Hoffrichter
as well. Regards, Jens On 9/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Sep 11, 4:57 am, Jens Hoffrichter [EMAIL PROTECTED] wrote: I think you need to add the pylons path to the library paths in python. I normally do something like this: import sys sys.path = I had done

Re: Ide

2008-06-20 Thread Jens Hoffrichter
Hi everyone, I'd like to chime in this discussion and adding my personal 2 cent to it. Warning: Lengthy response coming up, and not only for pylons, but also for general python dev First of all, choose of editor is very much a choice of personal preference and sometimes even a religious thing

Recommended way to build forms

2008-07-15 Thread Jens Hoffrichter
Hi all, Finally I will be getting around to build a proof of concept, for a project I will be working on, in pylons. So after all those mails from me with: I don't know pylons, just python, this might be a real change ;) I have started looking into what I will really need for the project, and

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

Pylons powered - New site

2008-11-12 Thread Jens Hoffrichter
have been helpful and discussed with me a lot during the whole time doing the implementation. Regards, Jens Hoffrichter Manager Engineering Development -- p-square oHG - smart programming for smart people Schultesche Heide 23 - D-44807 Bochum phone +49 (0)234 5164848 - fax +49 (0)234 5164849 www.p

Re: How do I get the current controller action?

2008-11-14 Thread Jens Hoffrichter
If you modify the signature of the __call__ method in the BaseController to def __call__(self, action): you have it right there, and can check all you want :) That is how I do that exactly in my home brewn authentication ;) Regards, Jens --~--~-~--~~~---~--~~

Re: How do I get the current controller action?

2008-11-14 Thread Jens Hoffrichter
I'm pretty sure I read that in some sort of pylons documentation. I'm really trying to remember where it is, I think it was in a discussion on AuthKit vs. some home-brewn stuff. The pylonsbook has something similar there, but it looks different Ah well, I hope it helped :) Jens

Re: Pyjamas : Python - JS

2008-12-06 Thread Jens Hoffrichter
Hello all, 2008/12/6 Lawrence Oluyede [EMAIL PROTECTED]: On Sat, Dec 6, 2008 at 2:36 PM, Jorge Vargas [EMAIL PROTECTED] wrote: That said I really think a JS wrapper in JS is better than a JS wrapper in python or whatever language for that matter. Any DSL which is pretty much what all the

Re: Pylons + Dojo

2009-04-06 Thread Jens Hoffrichter
Hi Mauricio, 2009/4/6 Mauricio Daniel Hoffart maud...@gmail.com: I am new to pyton I am trying to use Pylons + Dojo and I am having trouble calling a control with multiple parameters. What is an example of that? Thanks a lot Ex:

Re: MySQL-python installation nightmare

2009-05-08 Thread Jens Hoffrichter
Mmmh, I'm not sure this is the right question to ask, but as you don't mention it in your mail: Why don't you just take a binary installation from mysql-python.sourceforge.net? Either the precompiled .egg or the setup binary - that worked for me everytime I worked with mysql and python on a

Logging with multiple applications in one .ini file

2009-12-06 Thread Jens Hoffrichter
Hello all, I am currently configuring a second application in parallel to my currently running application the .ini file. So far, everything is running quite good, the application is running without a problem. But I can't seem to get logging for the second application up and running. I have

Re: searching for some jsonify example or tutorial

2009-12-17 Thread Jens Hoffrichter
import simplejson json_obj = {'foo', 'bar'} return simplejson.dumps(json_obj) etc... Or even simpler (at least in 0.9.6.2 - not sure if this still stands with newer versions) from pylons.decoraters import jsonify class TestController(BaseController): @jsonify def testaction(self):

Roadmap for 1.0

2010-03-18 Thread Jens Hoffrichter
Hi all, I know I'm probably touching a bit of a sore topic here, but I'd like to ask what the roadmap for the 1.0 release of pylons will be. The background for this question is not that I'm impatient, but we are about to start one or two projects which are due to be finished in around 3 months.

Re: YUI CSS grids deprecated in 3.1?

2010-04-26 Thread Jens Hoffrichter
We have worked now for a couple of projects with Blueprint, http://www.blueprintcss.org/ - I can really recommend that, it makes the layout just so easy you don't really have to think about it, especially if you have a grid-like layout with a fixed with (which most of our projects have). Jens --

Returning a file object from an action

2010-07-21 Thread Jens Hoffrichter
Hi everyone, I looked into the documentation, but couldn't find any mentioning of what I could return from an action. I know that I can return a string, most likely rendered from a template. Is it possible to return a file object from an action, so that the contents of the file will be

Re: Returning a file object from an action

2010-07-21 Thread Jens Hoffrichter
Hi, On 21 July 2010 21:40, Mike Orr sluggos...@gmail.com wrote: On Wed, Jul 21, 2010 at 12:33 PM, Ian Wilson ianjosephwil...@gmail.com wrote: Hello, I think you want something like this. from paste.fileapp import FileApp # in controller     #...in some action, get the path

Re: Returning a file object from an action

2010-07-23 Thread Jens Hoffrichter
On 22 July 2010 20:01, Mike Orr sluggos...@gmail.com wrote: I think you want something like this. from paste.fileapp import FileApp # in controller     #...in some action, get the path to serve     wsgi_app = FileApp(path)     return wsgi_app(request.environ,

Optimizations for production

2010-08-20 Thread Jens Hoffrichter
Hi everyone, As this mailing list has proved very proficient in the past in helping with my problems, I thought you could help me now by brain storming for more optimizations on our production site here. I have done all the things I can think of by now, but maybe I'm missing something

Re: pyramids and pylons

2010-11-05 Thread Jens Hoffrichter
Hi all, Thanks to especially Graham and Mike to point out what the benefit for the end-user-developer (a crude term, I know ;) ) will be with the Pylons2/Pyramid move. When I started to read these posts, I was a bit concerned, too. I (we, my company) have been long time Pylons users, and

Re: A Plone clone for Pyramid?

2010-11-05 Thread Jens Hoffrichter
Having a nearly-ready made CMS on top of Pylons would be the most amazing thing likeever ;) I have struggled too much with the shortcomings of PHP based CM systems over the years (and I'm doing so right now, once more, with growing pains). That much said, I would love to contribute something

Re: A Plone clone for Pyramid?

2010-11-13 Thread Jens Hoffrichter
Hello everyone, The thought of having a CMS on top of Pylons/Pyramid didn't leave me alone, and I caught myself thinking about how I would implement it, so I'm going to throw some ideas and thoughts in the room, and hope a productive discussion spawns from it. First of all, I have a heave CMS

First pyramid impressions

2011-03-07 Thread Jens Hoffrichter
Hello everyone, I have already (though infrequently) posted to this mailing list, but just to give a short overview of myself: I have been developing in Python for nearly 10 years now, have written big and small web applications using Myghty and Pylons. In Pylons, I have made the upwards