cheetah is extremely hard to debug - error messages are non indicative TypeError: cannot concatenate 'str' and 'int' objects

[email protected]
Newsgroups gmane.comp.python.cheetah,gmane.comp.python.tutor
Message-ID <[email protected]>
How do i find which variable has error in these error messages?

*Nonetype  object is unsubscriptable*

else:return web.render('searchesnew.html')
  File "/home/mark/work/common/web/cheetah.py", line 103, in render
    return str(compiled_tmpl)
  File
"/usr/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg/Cheetah/Template.py",
line 982, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "<string>", line 323, in respond
*TypeError: cannot concatenate 'str' and 'int' objects*


-- 
Bidegg worlds best auction site
http://bidegg.com

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.