Discussion:
[tg-trunk] Python 3.4, Tg 2.3.4, Genshi 0.7, genshi.name_constant_patch
Michael Pedersen
2015-03-30 10:12:57 UTC
Permalink
I'm working on getting the documentation fleshed out for the tgcloud
recipes I'm putting together before I make the next release.

As the subject says, I'm using Python 3.4, TG 2.3.4, and Genshi 0.7. I've
updated development.ini to include the following line in [app:main]

genshi.name_constant_patch = true

Using a simple quickstart, whenever I go to /admin/permissions I get this:

Exception: Unhandled node type <class '_ast.NameConstant'>

Did I get the entry wrong for the config? Is there something else going on
that I'm not thinking of? I think I've got it right, but it definitely
looks like I'm missing *something*.
--
Michael J. Pedersen
My Profile: http://www.icelus.org/
Google+ https://google.com/+MichaelPedersen
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears-trunk+***@googlegroups.com.
To post to this group, send email to turbogears-***@googlegroups.com.
Visit this group at http://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
Michael Pedersen
2015-03-30 10:40:32 UTC
Permalink
Never mind, I see what's wrong. That patch is coming out with tg2.3.5, and
is not yet released.

I'll document that accordingly.
Post by Michael Pedersen
I'm working on getting the documentation fleshed out for the tgcloud
recipes I'm putting together before I make the next release.
As the subject says, I'm using Python 3.4, TG 2.3.4, and Genshi 0.7. I've
updated development.ini to include the following line in [app:main]
genshi.name_constant_patch = true
Exception: Unhandled node type <class '_ast.NameConstant'>
Did I get the entry wrong for the config? Is there something else going on
that I'm not thinking of? I think I've got it right, but it definitely
looks like I'm missing *something*.
--
Michael J. Pedersen
My Profile: http://www.icelus.org/
Google+ https://google.com/+MichaelPedersen
--
Michael J. Pedersen
My Profile: http://www.icelus.org/
Google+ https://google.com/+MichaelPedersen
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears-trunk+***@googlegroups.com.
To post to this group, send email to turbogears-***@googlegroups.com.
Visit this group at http://groups.google.com/group/turbogears-trunk.
For more options, visit https://groups.google.com/d/optout.
Loading...