Gustavo Narea m...@gustavonarea.net added the comment:
The SQLAlchemy plugin is not tied to ASCII or Unicode, and you can use it
without
getting any warning as long as you pass the username/password properly encoded.
I cannot apply that patch because some people use ASCII, and also the right
Olá Gustavo,
Thanks for your fast reply and your suggestions! ;)
That occurs when using repoze.who.plugins.cookie.InsecureCookiePlugin as
an identifier.
As I can see cookies are stored as ASCII strings so
cookie.value.decode('base64') (#1 @ line 25) returns an ASCII string
which is passed to
Hi All,
I'm attempting to get the attached .genshi template working with
repoze.bfg.chameleon_genshi.
The problem appears to be the ?python block at the top.
Yes, I know, that code should be in view methods, and that's what I'll
do as a work around. However, should it work? Works with
Told to ChrisW on IRC:
mcdonc ChrisW: i think you're going to need to drop down a level on
the r.b.chameleon_genshi and replicate the problem in terms of raw
chameleon
[11:50] mcdonc i don't know whether it should be possible to have
?python blocks in there or not
[11:50] mcdonc and
Chris McDonough wrote:
mcdonc ChrisW: i think you're going to need to drop down a level on
the r.b.chameleon_genshi and replicate the problem in terms of raw
chameleon
I'm actually so far from being a Genshi expert its not funny ;-)
[11:50] mcdonc i don't know whether it should be possible
On Wed, 2010-06-02 at 17:02 +0100, Chris Withers wrote:
Chris McDonough wrote:
mcdonc ChrisW: i think you're going to need to drop down a level on
the r.b.chameleon_genshi and replicate the problem in terms of raw
chameleon
I'm actually so far from being a Genshi expert its not funny ;-)
So, in an effort to create some tests for the chameleon.genshi problems
I'm having, I thought I'd run the current tests.
On MacOSX this appears to fail for trunk right now.
What am I doing wrong?
Chris
serato:chameleon chris$ svn info
Path: .
URL: http://svn.repoze.org/chameleon/trunk
Hi All,
With the reference implementation of genshi you can do the following:
from genshi.template import MarkupTemplate
tmp = MarkupTemplate(\
... div xmlns=http://www.w3.org/1999/xhtml;
... xmlns:py=http://genshi.edgewall.org/;
... py:choose test=
... span py:when=0 == 10/span
...
Hi bfg folks, one feature I miss from pylons is having elements from the
route parsing be automatically passed to controller methods as named args. I
expect this got some thought and was decided against, I'm curious why? It
seems to me it would be nice if this route:
route
path=/foo/bar/:baz
Hi All,
With the reference implementation of genshi you can do the following:
from genshi.template import MarkupTemplate
tmp = MarkupTemplate(\
... ?python
... title = A Genshi Template
... ?
... html xmlns:py=http://genshi.edgewall.org/;
... head
... title py:content=titleThis is
On 2010-6-2 20:38, Chris Withers wrote:
What tracker should I put this in?
Please see http://chameleon.repoze.org/docs/latest/ which documents this.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net/ It is hard to make things
Iain Duncan wrote:
Hi bfg folks, one feature I miss from pylons is having elements from the
route parsing be automatically passed to controller methods as named
args. I
expect this got some thought and was decided against, I'm curious why? It
seems to me it would be nice if this route:
On 2010-6-2 21:48, Iain Duncan wrote:
Hmm, what about adding another optional param to route tags? something
like use_global_views, but as a flag for the passing in named args
automatically? I would think a lot of people coming to bfg from other
frameworks and using it as a micro-framework
Wichert Akkerman wrote:
On 2010-6-2 20:38, Chris Withers wrote:
What tracker should I put this in?
Please see http://chameleon.repoze.org/docs/latest/ which documents this.
Documents what? I see no reference to ?python or its lack.
On the off chance you meant a bug tracker, I'll post both
Chris Withers wrote:
On the off chance you meant a bug tracker, I'll post both of these bugs
there.
And the docs for the bug tracker are wrong...
https://code.launchpad.net/chameleon is a ruby-based blogging project...
Chris
--
Simplistix - Content Management, Batch Processing Python
Hmm, what about adding another optional param to route tags? something
like
use_global_views, but as a flag for the passing in named args
automatically? I would think a lot of people coming to bfg from other
frameworks and using it as a micro-framework would really like that. Or
am I
On 2010-6-2 23:02, Chris Withers wrote:
Chris Withers wrote:
On the off chance you meant a bug tracker, I'll post both of these
bugs there.
And the docs for the bug tracker are wrong...
https://code.launchpad.net/chameleon is a ruby-based blogging project...
A 5 second search on launchpad
Wichert Akkerman wrote:
On 2010-6-2 23:02, Chris Withers wrote:
Chris Withers wrote:
On the off chance you meant a bug tracker, I'll post both of these
bugs there.
And the docs for the bug tracker are wrong...
https://code.launchpad.net/chameleon is a ruby-based blogging project...
A 5
You can use pdb with mod_wsgi. Read:
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
You also find in there how to use EvalException from Paste to do in
browser debugging.
Graham
Thanks Graham for the tip. Now I found out what's wrong.
When the application is run under Apache,
19 matches
Mail list logo