Re: Building EGGs

2009-11-12 Thread Philip Jenvey
On Nov 10, 2009, at 7:33 AM, gsandorx wrote: > > Hi, > When building egg packages, do I need to run the command “python > setup.py bdist_egg” with every python executable corresponding to my > desired supported versions? Doing so would require me to have virtual > enviroments for at least 3 pyt

Re: Caching templates

2009-11-12 Thread Philip Jenvey
On Nov 9, 2009, at 12:40 AM, alex_zh wrote: > > Hello. > I have a problem with caching of templates. Sometimes users get the > pages, that opened before. I don't khow the reason. Is it possible to > turn off all the caching in whole pylons project? You can set cache_enabled = False in the ini

Re: external program output

2009-11-12 Thread Ian Wilson
Maybe I'm totally wrong but maybe the program is outputting to stderr which you seem to be ignoring: (stdoutOutput, stderrOutput) = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() print "stdout", stdoutOutput print "stderr", stderrOutput On Thu, Nov 12, 2009

Re: external program output

2009-11-12 Thread Jonathan Vanasco
i have no clue. that looks like it should be right. maybe there's an os issue ? there's a version of subprocess that ships in paster /paste/util/subprocess24 try importing that as subprocess ? a bunch of the paste scripts use that as a failover if the main dist of subprocesss isn't available

Re: external program output

2009-11-12 Thread cd34
On Nov 12, 8:32 am, gsandorx wrote: > However, even I made my question related to Postfix, I have the same > problem with other app I've developed that need to call external > programs/scripts and it would be nice to get the output -  just like import os os.popen("ls -al /var/www").readlines()

Re: Newbie problem with unicode in model (pgsql)

2009-11-12 Thread Mariano Mara
Excerpts from Marius Gedminas's message of Wed Nov 11 16:48:23 -0300 2009: > On Tue, Nov 10, 2009 at 04:43:54PM -0300, Mariano Mara wrote: > > Hi, I'm facing the current situation and I don't know how to fix it. > > What I want to do, of course, is to store unicode data, have unicode data > > in t

Re: external program output

2009-11-12 Thread gsandorx
Oh, you're right. I have thought about using MySQL/PostgreSQL, but it's not that easy due to some specific configurations I have on Postfix. I'm working on it. However, even I made my question related to Postfix, I have the same problem with other app I've developed that need to call external pro