Hi, Although Cheetah correctly parses a multi-line def (i.e. a #def directive which extends over more than one line), the comment created for that def...
4201
Dirk van Oosterbosch,...
labs@...
Mar 3, 2008 1:45 pm
Hi, I don't know if this response comes too late. I'm not reading this mailing list so frequent. What I always do in these cases (when I want the subclass to...
4202
thk
thk@...
Mar 3, 2008 4:59 pm
Hello cheetah community. This is my first post to this list although I 've been using cheetah for about 1 and a half year. ... Has this been implemented ? If...
4203
tK
thomaskolar90@...
Mar 5, 2008 2:20 pm
Hi, I'm new to cheetah, so sorry if this question seems a little stupid. I googled trying to find an answer, but to no avail :-( My team is currently...
4204
Graham Dennis
graham.dennis@...
Mar 6, 2008 12:05 pm
Hi, I recently needed the ability to use multiple decorators for a method in a Cheetah template, and found that Cheetah doesn't currently support this. I have...
4205
Inspiration
inspire_me@...
Mar 7, 2008 4:52 pm
Hi, I' am frustrated because I already spend one day compiling a *.tmpl to a *.py-template without success. Follwing the steps of the bug report: 1. I tried:...
4206
Peter Whaite
boost@...
Mar 8, 2008 12:07 am
... You almost had it. Instead of copying cheetah to c:\windows copy it to c:\windows92;cheetah.py. NOTE the '.py' extension. Then cheetah.py compile xxx ...
4207
Todd Thomas
caliban19@...
Mar 8, 2008 12:46 am
... First thing I do when install python on windows is add c:\python2x92;scripts to path. This works for twisted, cheetah and docutils. Then you can just type...
4208
Peter Whaite
boost@...
Mar 8, 2008 2:15 am
... But you have to rename all the scripts installed in the scripts directory so they have a .py extension -- right? BTW Daniel,...
4209
Inspiration
inspire_me@...
Mar 8, 2008 11:28 am
Hi, thank you very much for your answers, it works now. Nevertheless it can't be so difficult to automatically rename these two files (adding a *.py extension)...
4210
Erwin Ambrosch|XHOSTP...
erwin.ambrosch@...
Mar 9, 2008 10:35 am
Hello List, I had to change one line in Template.py in version 2.0.1 because I got the error: module.__init__() argument 1 must be string, not unicode Original...
4211
Tavis Rudd
tavis@...
Mar 10, 2008 4:46 am
Hi thk, There's several ways you can do this: 1) use grep or another regular expression search tool to match the regex for the placeholders 2) use the...
4212
Tavis Rudd
tavis@...
Mar 10, 2008 4:49 am
Hi Erwin, I've just fixed this in Cheetah's source. This will be in the next release. Thanks for reporting it. Tavis ... This SF.net email is sponsored by:...
4213
Tavis Rudd
tavis@...
Mar 10, 2008 5:00 am
Hi Graham, I've just checked in a variation on your patch. Can you do me a favour and test it out? If it passes your inspection I'll include it in the next ...
4214
Tavis Rudd
tavis@...
Mar 10, 2008 5:03 am
Hello again, Thanks for the patch. I've just checked it in. Cheers, Tavis ... This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)...
4215
Tavis Rudd
tavis@...
Mar 10, 2008 5:06 am
Hi Joerg, This is fixed in the cvs now and will be in the next release. Thanks for reporting it. Tavis ... This SF.net email is sponsored by: Microsoft Defy...
4216
Tavis Rudd
tavis@...
Mar 10, 2008 5:20 am
Hi Thomas, It's possible and Cheetah has hooks for just that purpose, but you'd need to read the source to understand it and write some code to use those ...
4217
Tavis Rudd
tavis@...
Mar 11, 2008 12:10 am
print Template('$("%.2f"%$a)', namespaces=dict(a=2.23434)) ... This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio...
4218
Tim ODell
tim00789@...
Mar 23, 2008 8:27 am
Hay, gang: I'm trying to install Cheetah for the first time, but keep getting errors. Basically the "official" docs say: Simply unarchive Cheetah and install...
4219
inhahe
inhahe@...
Mar 30, 2008 12:30 am
I'm not sure how searchList works. the documentation didn't clear it up for me. what kinds of things can you put in the searchList? I know dictionaries work,...
4220
Tavis Rudd
tavis@...
Mar 30, 2008 1:16 am
It takes anything that is a) supports the mapping protocol (real dicts or other objects that emulate dicts) or b) anything that supports getattr(obj, name)....
4221
mobiledreamers@...
Apr 9, 2008 8:25 pm
google app engine does not support c extensions is there a pure pythonic cheetah template available for download ... This SF.net email is sponsored by the 2008...
4222
Forest
js8v8zr02@...
Apr 9, 2008 8:40 pm
... You might find the Spitfire project interesting: http://code.google.com/p/spitfire/ I haven't tried it yet, but I have high hopes for it. ... This SF.net...
4223
Tavis Rudd
tavis@...
Apr 9, 2008 10:05 pm
Hi, Cheetah comes with a fall-back pure Python implementation of NameMapper. I'm not sure how the install process on AppEngine works, but it should be ...
4224
mobiledreamers@...
Apr 9, 2008 10:47 pm
also if i need to upload cheetah/ folder to google app engine i shud jus drop the Cheetah folder in the app folder so i shud not have setup.py can i do that? ...
4225
mobiledreamers@...
Apr 10, 2008 12:33 am
is there a .zip or .tar.gz for cheetah that can be dropped into the app folder and imported without using easy_install or setup.py without namemapper.c that ll...
4226
Jeff Hinrichs - DM&T
jeffh@...
Apr 10, 2008 1:36 am
I agree this is an idea worth discussing. Making cheetah easy to use with GAE, imho, would be a good thing. ... This is a cheetah forum, so I will only post...
4227
mobiledreamers@...
Apr 10, 2008 9:51 pm
Cheetah folder needs to be dropped in the app folder of app engine <type 'exceptions.ImportError39;>: No module named Cheetah.Compiler On Wed, Apr 9, 2008 at...
4228
Tavis Rudd
tavis@...
Apr 12, 2008 1:37 am
Here's an explanation of how to install Cheetah in AppEngine: http://vegai.iki.fi/google-appengine/template-engines Looks pretty simple. ... This SF.net email...
4229
inhahe
inhahe@...
Apr 12, 2008 10:12 am
How would I pass information back from my template to my python program? For example let's say the template doesn't include a complete webpage, but only part...