Re: [Repoze-dev] chameleon.genshi with expressions inside non-XHTML attributes

2009-07-11 Thread Alberto Valverde
Malthe Borch wrote: 2009/7/11 Wichert Akkerman : This looks like a bug. Genshi syntax is pretty explicit about this having to work; it is an integral part of dynamic XIncludes for example. Definitely. Attached is a patch with a doctest showing the error. Thanks, Alberto Index: s

Re: [Repoze-dev] repose.who-sa can't retrieve dbsession

2009-07-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Metin Akat wrote: > I am following this guide > http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what > As far as I can see, I am complying with it absolutely. > Could you show me which part of the whole thing ought to be "pass

Re: [Repoze-dev] repose.who-sa can't retrieve dbsession

2009-07-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Metin Akat wrote: > Hi folks, > I have a problem with the repoze.who.plugins.sa > I am not sure if it's some misconfiguration in my application or a bug > in the plugin itself. > It's my first time using repoze > > http://pylonshq.com/tracebacks/e814e

[Repoze-dev] repose.who-sa can't retrieve dbsession

2009-07-11 Thread Metin Akat
Hi folks, I have a problem with the repoze.who.plugins.sa I am not sure if it's some misconfiguration in my application or a bug in the plugin itself. It's my first time using repoze http://pylonshq.com/tracebacks/e814ec68cdb962a1193d4b9babdaf501 (I'll paste the traceback here as well) URL: http:

Re: [Repoze-dev] chameleon.genshi with expressions inside non-XHTML attributes

2009-07-11 Thread Malthe Borch
2009/7/11 Wichert Akkerman : > This looks like a bug. Genshi syntax is pretty explicit about this > having to work; it is an integral part of dynamic XIncludes for example. Definitely. \malthe ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http

Re: [Repoze-dev] repoze.bfg.viewgroup

2009-07-11 Thread Andreas Reuleaux
On Sat, Jul 11, 2009 at 03:42:46PM -0400, Chris McDonough wrote: > On 7/11/09 2:51 PM, Andreas Reuleaux wrote: > > Is there any particular reason > > > >repoze.bfg.viewgroup > > > > hasn't made it from the lemonade index: > > > >http://dist.repoze.org/lemonade/dev/simple > > > > to the (mor

[Repoze-dev] Q: Anybody using wsgi.file_wrapper and modwsgi?

2009-07-11 Thread Paul Everitt
Hi all. This is a question aimed at the subset of people that might be using modwsgi. The WSGI spec has a concept for file wrappers: http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling modwsgi has supported this, had some bugs in it, and now seems stable:

Re: [Repoze-dev] chameleon.genshi with expressions inside non-XHTML attributes

2009-07-11 Thread Wichert Akkerman
On 7/11/09 8:32 PM, Alberto Valverde wrote: > Hello, > > I'm trying to use chameleon.genshi (trunk) to generate a WMS > GetCapabilities document but expressions inside non-xhtml attributes are > not evaluated, eg: > > > > renders "${service_url}" instead of the value of 'service_url' > > The same

Re: [Repoze-dev] repoze.bfg.viewgroup

2009-07-11 Thread Chris McDonough
On 7/11/09 2:51 PM, Andreas Reuleaux wrote: > Is there any particular reason > >repoze.bfg.viewgroup > > hasn't made it from the lemonade index: > >http://dist.repoze.org/lemonade/dev/simple > > to the (more recent / up to date) bfg/current/simple index?: > >http://dist.repoze.org/bfg/c

Re: [Repoze-dev] flashing messages with bfg

2009-07-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto Valverde wrote: > Iain Duncan wrote: >> Hey folks, wondering what the conventional way of flashing a message >> after a model update when using HTTPFound for redirects. Is this >> something that people roll-their-own for, or is there a standard

[Repoze-dev] repoze.bfg.viewgroup

2009-07-11 Thread Andreas Reuleaux
Is there any particular reason repoze.bfg.viewgroup hasn't made it from the lemonade index: http://dist.repoze.org/lemonade/dev/simple to the (more recent / up to date) bfg/current/simple index?: http://dist.repoze.org/bfg/current/simple What is the recommended way to use repoze.bfg.vie

Re: [Repoze-dev] flashing messages with bfg

2009-07-11 Thread Alberto Valverde
Iain Duncan wrote: > Hey folks, wondering what the conventional way of flashing a message > after a model update when using HTTPFound for redirects. Is this > something that people roll-their-own for, or is there a standard to > follow? I'd like to make sure my crud app is as bfg'ish as possible so

Re: [Repoze-dev] flashing messages with bfg

2009-07-11 Thread Hanno Schlichting
On Sat, Jul 11, 2009 at 7:21 PM, Tres Seaver wrote: > Iain Duncan wrote: >> At the moment I'm going for adding the message to the redirect url as a >> get var, ugly but easy to scale. If anyone has other suggestions for how >> to pass it on through the HTTPFound object, I'd love to hear them. I'm >

[Repoze-dev] chameleon.genshi with expressions inside non-XHTML attributes

2009-07-11 Thread Alberto Valverde
Hello, I'm trying to use chameleon.genshi (trunk) to generate a WMS GetCapabilities document but expressions inside non-xhtml attributes are not evaluated, eg: renders "${service_url}" instead of the value of 'service_url' The same template renders correctly with genshi 0.5 so I'm using it a

Re: [Repoze-dev] flashing messages with bfg

2009-07-11 Thread Chris McDonough
On 7/11/09 1:21 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Iain Duncan wrote: >> On Wed, 2009-07-08 at 03:28 -0400, Chris McDonough wrote: >>> On 7/8/09 2:54 AM, Iain Duncan wrote: On Wed, 2009-07-08 at 02:36 -0400, Chris McDonough wrote: > We don't have a