Re: error in the error_documents.html page

2007-03-13 Thread Shannon -jj Behrens
On 3/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > While trying the examples on page > > http://pylonshq.com/docs/0.9.4.1/error_documents.html, > the following line: > > % {'code':request.GET('code', ''), 'message':request.GET('message', > '')} > > was getting me errors about "MultiDict

Re: Error when using SqlAlchemy/autoload/PostgreSQL 8.1

2007-03-13 Thread Shannon -jj Behrens
See my document here: http://pylonshq.com/project/pylonshq/wiki/SqlAlchemyWithPylons The QuickWiki way won't work for you. Best Regards, -jj On 3/13/07, C. Handel <[EMAIL PROTECTED]> wrote: > > How do you construct the meta object? is it unbound? I guess so. > SQLAlchemy can only introspect t

Re: XHTML Validation Issues w/Genshi

2007-03-13 Thread Shannon -jj Behrens
On 3/13/07, Techniq <[EMAIL PROTECTED]> wrote: > On Mar 13, 5:11 pm, "Techniq" <[EMAIL PROTECTED]> wrote: > > I'm having XHTML validation issues using Genshi through Pylons. > > Anyone else experiencing this? It appears that certain XHTML specific > > tags like '' are being converted to '', thus

Re: Error when using SqlAlchemy/autoload/PostgreSQL 8.1

2007-03-13 Thread C. Handel
How do you construct the meta object? is it unbound? I guess so. SQLAlchemy can only introspect the database with a bound meta object. I use a models/metadata.py: from sqlalchemy import * from sqlalchemy.ext.assignmapper import assign_mapper from pylons.database import create_engine, session_con

Re: XHTML Validation Issues w/Genshi

2007-03-13 Thread Techniq
On Mar 13, 5:11 pm, "Techniq" <[EMAIL PROTECTED]> wrote: > I'm having XHTML validation issues using Genshi through Pylons. > Anyone else experiencing this? It appears that certain XHTML specific > tags like '' are being converted to '', thus invalid. I > can't tell if this is genshi or pylons so

XHTML Validation Issues w/Genshi

2007-03-13 Thread Techniq
I'm having XHTML validation issues using Genshi through Pylons. Anyone else experiencing this? It appears that certain XHTML specific tags like '' are being converted to '', thus invalid. I can't tell if this is genshi or pylons so just checking if anyone has seen this. Thanks --~--~-

Re: Renaming controllers

2007-03-13 Thread Christoph Haas
On Tuesday 13 March 2007 17:51, John_Nowlan wrote: > I and others here have been bitten by renaming controllers. > > I think it is a common python practice/pattern to inspect/use a 'base' > name. > > In short I think the controller module must contain a controller called > 'FooController' So far

error in the error_documents.html page

2007-03-13 Thread [EMAIL PROTECTED]
While trying the examples on page http://pylonshq.com/docs/0.9.4.1/error_documents.html, the following line: % {'code':request.GET('code', ''), 'message':request.GET('message', '')} was getting me errors about "MultiDict instance has no __call__ method" I changed to: % {'code':request.GET

RE: Renaming controllers

2007-03-13 Thread John_Nowlan
I and others here have been bitten by renaming controllers. I think it is a common python practice/pattern to inspect/use a 'base' name. In short I think the controller module must contain a controller called 'FooController' i.e. foo.py contains class FooController(BaseController): This cou

Renaming controllers

2007-03-13 Thread Christoph Haas
Evening, yesterday I had to rename a controller because the concept of my application has changed a little. So I wondered which files I needed to change. What I did: - rename controllers/old.py to controllers/new.py - edit controllers/new.py and rename the class name - go into tests/ and chang

Re: Thread pool and docs

2007-03-13 Thread climbus
Good job I was waiting for this. Now i'm testing Paste trunk in production. My opinions will come soon (one or two weeks). Climbus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post

Re: Pylons integrated desktop apps?

2007-03-13 Thread Mayowa
Mike did the problems with SQLite occur during concurrent(multi thread/ process) read/write access to the db or was this a single instance app? I ask because i'm in the process of evaluating which embeded (r)dbms i should use in an app i'm working on and SQLite is my default fav since i used it i

Re: mod_proxy example

2007-03-13 Thread James Gardner
Actually you are right. I've disabled it and everything still works, including my SSL setup. Cheers, James __wyatt wrote: > On Mar 12, 10:44 am, James Gardner <[EMAIL PROTECTED]> wrote: >> ... >> sudo a2enmod proxy >> sudo a2enmod proxy_http >> sudo a2enmod proxy_connect > > I don't seem to n

Re: Pylons integrated desktop apps?

2007-03-13 Thread iain duncan
> Based on PyCon talks, Pythoncard takes a lot of the pain out of > wxPython. Dabo seems to be aimed squarely at replacing Filemaker. I > know the Dabo guys spent a lot of time fighting wxPython. Hmm, having worked a long time as a user of filemaker, that doesn't seem a selling point to me. I