I see two options here: A) Change the #extends statement to honor #defmacro statements in the extended template Necessary steps would be: 1. Find the...
4984
Ben Hoyt
benhoyt@...
Nov 30, 2011 10:48 pm
Hi Cheetah folks, For some reason when you #include a file, Cheetah adds the new Template instance's "self" to the end of the searchList, instead of at the...
4985
Jan Werner
mail@...
Dec 6, 2011 9:48 pm
Hi group, since I don't have (and like) VC+, I would like to build _namemapper.c, which is not available in binary form for Python 2.7, with MinGW. I created a...
4986
Franz Glasner
f.glasner@...
Dec 8, 2011 10:43 am
The name of the C extension module is probably "_namemapper" (with an underscore) instead of "namemapper". Best regards Franz. ... Cloud Services Checklist:...
4987
Kerry Kurian
kkurian@...
Jan 17, 2012 9:30 pm
Hi group, two parts: 1. I installed Cheetah 2.4.4 via package download and python setup.py install, and got this: One or more C extensions failed to build....
4988
R. Tyler Croy
tyler@...
Jan 18, 2012 4:44 am
... I wonder if this might have been caused by Lion defaulting to clang(1) for its default C compiler. You might try setting the CC=/usr/bin/gcc4.2 (if I...
4989
Kerry Kurian
kkurian@...
Jan 18, 2012 5:28 am
... Issue #1 resolved -- install is trying to use "gcc-4.2" but it's named "gcc" on my system. I set up a symlink for gcc-4.2 --> gcc and the install now...
4990
Kristian Spangsege
kristian.spangsege@...
Mar 1, 2012 2:57 pm
Hi I'm trying to generate C++ output with Cheetah, and I'm having trouble with # (hash marks) because it is used both by C++ preprocessor and by Cheetah. I've...
4991
Uhanov, Kirill
kirill.uhanov@...
Mar 1, 2012 3:07 pm
Try this \#include "my_herder.hpp" \#define MY_DEFINE 64 Kirill From: Kristian Spangsege [mailto:kristian.spangsege@...] Sent: Thursday, March 01, 2012...
4992
Kristian Spangsege
kristian.spangsege@...
Mar 1, 2012 3:17 pm
Thanks. That allows me to continue, but it would still be nice to be able to reconfigure the syntax delimiters. The user guide states that it is possible, but...
4993
Kristian Spangsege
kristian.spangsege@...
Mar 1, 2012 3:43 pm
Found the info in the users guide: #compiler-settings directiveStartToken = % #end compiler-settings Now I have an additional question: There is no documented...
4994
Yoav Schatzberg
yschatzberg@...
Mar 14, 2012 12:40 am
I am seeing this same issue with 'anInt39; on Ubuntu. Did you ever solve this? ~Yoav ... Virtualization & Cloud Management Using Capacity Planning Cloud...
4995
Kerry Kurian
kkurian@...
Mar 14, 2012 1:46 am
Unfotunately, no. Despite the test errors, Cheetah is working fine for my purposes. -K ... -- Kerry Ivan Kurian Want more? Subscribe to my blog...
4996
Brian Bird
Brian.Bird@...
Aug 6, 2012 2:38 pm
I've just upgraded from Cheetah 2.0 to Cheetah 2.4 and found the following code gives different output: from Cheetah.Template import Template print...
4997
Brian Bird
Brian.Bird@...
Aug 24, 2012 2:59 pm
I've dug a little further and it looks like the Servlet class (which is inherited by the Template class) contains 4 class variables: request, transaction,...
4998
Buck Golemon
buck@...
Aug 24, 2012 4:10 pm
I doubt that the VFFSL function treats those variables specially. The current style (in cheetah) is to prefix cheetah internals with _CHEETAH_. It would seem...
4999
Brian Bird
Brian.Bird@...
Aug 28, 2012 8:56 am
As far as I can tell it's not specifically doing anything for these variables. I'm guessing Cheetah now searches the Template instance/class before it searches...
5000
Rick Miller
vmiller@...
Sep 17, 2012 5:47 pm
Hi All, Please forgive my ignorance for I am a novice in the area of templating engines and cheetah. That said, I want to compare a string in a placeholder...
5001
Buck Golemon
buck@...
Sep 17, 2012 6:11 pm
Cheetah is a superset of python (kindof). Get your logic working in python, then port it to cheetah. You want re.match, from the standard python library: ...
5002
Rick Miller
vmiller@...
Sep 17, 2012 6:22 pm
... Thanks, Buck! I'll check out that tutorial! ... Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat...
5003
Buck Golemon
buck@...
Sep 17, 2012 6:58 pm
If you're coming from Perl, the first thing you should know about python is that regular expressions are generally the Wrong Way to do it. Nearly everywhere...
5004
Eric Tubbs
eric.tubbs@...
Nov 3, 2012 5:29 pm
Greetings, This is my first post to this list and I would like to get help from you wonderful people. I downloaded Cheetah from the following link, ...
5005
Analog Kid
ajdeshpande@...
Jan 8, 2013 12:08 pm
Hi All: Im a noob to Cheetah. I had a question: I have a .py file which uses a .tmpl template file to render some html. In the template, I need to manipulate...
5006
Daniel Winter
winniwinter@...
Mar 24, 2013 8:56 pm
Hi, I want to use cheetah with cherryPy. To make things easier I created a helper that searches existing templates creates a instance of the cheetah Template...
5007
Redhorse, Olivia J. (...
olivia.j.redhorse@...
Apr 25, 2013 9:40 pm
Hello All, I am fairly new to using Cheetah and Python. I am planning to create a page that displays 50 records per page based on a search criteria. The user...
5008
Daniel Winter
winniwinter@...
Apr 26, 2013 8:32 am
That means you want to display data in a table with pagination? Something like:Â http://www.datatables.net/Â ? That's a jQuery Plugin that can transform your...
5009
Redhorse, Olivia J. (...
olivia.j.redhorse@...
Apr 26, 2013 4:12 pm
Yes, this looks like something I can use. I am going to try it. Thanks âș From: Daniel Winter [mailto:winniwinter@...] Sent: Friday, April 26, 2013 2:31...
5010
Redhorse, Olivia J. (...
olivia.j.redhorse@...
Apr 26, 2013 6:45 pm
I have been playing with dataTables and I have a question. I was not sure if dataTables was going to work inside a *.tmpl file (cheetah file). When I test...
5011
Juha Tuomala
Juha.Tuomala@...
Apr 27, 2013 10:30 am
... Cheetah has a directive called '#raw' that can hold stuff that does not get parsed. Try that with your template. Tuju -- SÀÀstÀmisen ja ahkeroinnin...
5012
Aaron Murray
aaron@...
May 16, 2013 9:14 pm
I have been tasked with upgrading my company's ancient installation of Cheetah. My templates are compiling, but I'm getting a number of strange errors and I...