It says line 8 in the traceback so I guess its result[i] = unicode(result[i], 'latin-1')
Jon ----- Original Message ----- From: "Sybren Stuvel" <[EMAIL PROTECTED]> Newsgroups: comp.lang.python To: <python-list@python.org> Sent: Thursday, July 27, 2006 11:06 AM Subject: Re: coercing to Unicode: need string or buffer, NoneType found > Jon Bowlas enlightened us with: >> I wrote this script in Zope some time ago and it worked for a while, >> but now I'm getting the following error: >> TypeError: coercing to Unicode: need string or buffer, NoneType >> found > > What line is causing the error? > > Sybren > -- > The problem with the world is stupidity. Not saying there should be a > capital punishment for stupidity, but why don't we just take the > safety labels off of everything and let the problem solve itself? > Frank Zappa > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list