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

mobiledreamers at gmail.com mobiledreamers at gmail.com
Thu May 14 21:20:42 CEST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090514/087aa02a/attachment.htm>


More information about the Tutor mailing list