472,334 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,334 software developers and data experts.

web.py + cheetah delivering incomplete pages


yesterday i started with web.py / flup / cheetah, and managed to get a
first webpage to diaplay on my windows box running apache.
unfortunately, the following code

import web
urls = (
'(.*)', 'view'

class view:
def GET( self, name ):
web.render( 'view.html' )
web.internalerror = web.debugerror

if __name__ == '__main__':

web.run( urls )

using this template, view.html:

#if $name
I just wanted to say hello to $name.
Hello, world!
#end if

#set $ninetyNine = 99

#for $count in $range($ninetyNine, 0, -1)
#end for


will never print out the finis line -- it always stops short of that,
displaying a 7 at the bottom of the page. it is tho the last few lines
end up in a buffer and get see the light of day. any ideas?


Feb 3 '06 #1
3 1382
hi, i think you'd have better luck at

Feb 3 '06 #2
yeah, posted it there too, but, you see, there are but 95 members in
that group -- guess it's more productive to ask this right here. we'll


Feb 3 '06 #3
wo***********@gmail.com wrote:
yeah, posted it there too, but, you see, there are but 95 members in
that group -- guess it's more productive to ask this right here. we'll

There's a good chance that about 80 of those 95 people read this
newsgroup regularly, and that this newsgroup has only a small handful of
people who know anything about web.py but who aren't in that set of
95... and some of them might not notice your posting.

But, as you said, we'll see. ;-)


Feb 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Timo Virkkala | last post by:
I tried to install Cheetah (0.9.15) and ran into trouble. When running the test suite, I get 61 failures and 57 errors. Most of the errors are...
by: Mike Grigorov | last post by:
I am using cheetah with jython 2.1 and I have problem generating templates that contain cyrillic text. Some texts are printed OK and others are not....
by: Charlotte | last post by:
I am developing a web application and am looking for the best framework to do this in. I know this is an old question, and I have read the list...
by: John | last post by:
My WEB is served from Win2K with sp 4 as well as a 2003 server. All patches and upgrades are in place on both machines. The issue is that my WEB...
by: a | last post by:
cheetah - how do i use .refreshcaceh() in cheetah the doc is skimpy and doesnt tell more than you can use refreshcache with id to refresh a cache ...
by: chun ping wang | last post by:
I am having trouble using cheetah and getting it to work the way i want (mvc) I have the following file. index.py : # imports BibleController...
by: Sai Krishna M | last post by:
Hi, I have been working for some time developing web pages using python, modpython, cheetah. I find that this method has come inherent...
by: manuel.reil | last post by:
Hello, currently i am developing a very small cms using python and cheetah. very early i have noticed that i was lacking the method to...
by: brianrpsgt1 | last post by:
Newbie here.... I have been able to successful pull info from a MySQL DB, get the results and output them in an HTML format using Cheetah to the...
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.