Re: [Webware-devel] Webware killed

2008-07-09 Thread Ben Parker
That looks like the os might have killed the process. Check your syslogs - did you exceed a memory limit? Damiano Morosi wrote on 7/9/08 7:31 AM: Hi all, I'm experimenting webware for the first time to use it in my enterprise. I've developed an XML-RPC service in Python (obviously!) that

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-30 Thread Ben Parker
Christoph Zwerschke wrote on 6/30/07 12:40 AM: Do we want to offer something like this as the default? The encoding attribute could be set to a configurable (via Application.config) default such as 'utf-8', and could be used in other places as well. For instance, the Page class could write

Re: [Webware-devel] Webware+Reportlab Encoding Issues

2007-06-29 Thread Ben Parker
Mathis Hofer wrote on 6/29/07 12:29 PM: There were two problems: 1. I apparently used a unicode string for the Content-Disposition which I had to convert to ASCII. 2. I had to override the HTTPContent.write() method and put out the strings without converting them to str. Otherwise WebKit

Re: [Webware-devel] Custom session store and session classes

2007-04-05 Thread Ben Parker
or the name contains a dot, then use the name as is. This way we can get on only with the old 'SessionStore' setting in a backward compatible way, plus one additional setting for the session module (and class). Would this be ok for you? -- Chris Ben Parker wrote: Hi - It would be really nice

RE: [Webware-devel] MiddleKit MySQLdb 0.9.2 problem

2003-11-09 Thread Ben Parker
FWIW, if you close the connection before reassigning the variable to a new connection, your test script succeeds on my system (RedHat 7.3, MySQLdb 0.9.2, mysql 4.0.13-standard, python 2.2.3). Just add conn.close() at the end of the body of the for loop. It seems like the __del__ method isn't

RE: [Webware-devel] MiddleKit MySQLdb 0.9.2 problem

2003-11-09 Thread Ben Parker
, Ben Parker wrote: FWIW, if you close the connection before reassigning the variable to a new connection, your test script succeeds on my system (RedHat 7.3, MySQLdb 0.9.2, mysql 4.0.13-standard, python 2.2.3). Just add conn.close() at the end of the body of the for loop. It seems like

[Webware-devel] Session store issues

2003-08-26 Thread Ben Parker
Hello all, Please let me know if I should be posting this to Webware-discuss instead. It seemed a little low level for that list. I'm running a couple major sites with Webware 0.8 and just starting running into some issues with session storage. The site is using the SessionDynamicStore and I've

[Webware-devel] Why drop the ImportError while loading contexts?

2002-09-04 Thread Ben Parker
Hey folks, I've just run up against a nasty little exception block in Application.py which drops import errors on context initialization. I was trying to figure out why some of my context's __init__.py code wasn't executing - eventually I simply tried to import the context from command line