| UnicodeEncodeError | Python 2.4.3: /usr/bin/python Wed Mar 10 09:35:32 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/tramadol/domains/wikiviagra.com/public_html/genit.py |
| 716 pageName = relatives[0] |
| 717 tmplSrc = readTmpl('index') |
| 718 tmplSrc = indexTmpl(tmplSrc,doorName) |
| 719 pageSrc = useTmpl(tmplSrc) |
| 720 elif query.getvalue('q') == 'map': |
| tmplSrc = u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Str.../span>\n </div>\n </div>\n </body>\n</html>\n', indexTmpl = <function indexTmpl>, doorName = u'what is viagra' |
| /home/tramadol/domains/wikiviagra.com/public_html/genit.py in indexTmpl(tmpl=u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Str.../span>\n </div>\n </div>\n </body>\n</html>\n', category=u'what is viagra') |
| 643 i1 = new.find('/}',i0) |
| 644 format = new[i0:i1] |
| 645 new = new.replace('{date:%s/}' % format,time.strftime(format,time.localtime(int(getTag(page,'date'))))) |
| 646 last += new |
| 647 no += 1 |
| new = u'\n <h2>Brand viagra without prescripti...prescription" class="more">Read more/a></p>\n \t\t\t', new.replace = <built-in method replace of unicode object>, format = u' <h2>Brand viagra without prescription</h...-prescription" class="more">Read more/a></p>\n \t\t', global time = <module 'time' from '/usr/lib/python2.4/lib-dynload/timemodule.so'>, time.strftime = <built-in function strftime>, time.localtime = <built-in function localtime>, builtin int = <type 'int'>, global getTag = <function getTag>, page = ' \n\t\t<title>Brand viagra without prescription</ti...ore the cell of the ground. ... </description>\n\t' |
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf4' in position 408: ordinal not in range(128)
args =
('ascii', u' <h2>Brand viagra without prescription</h...-prescription" class="more">Read more/a></p>\n \t\t', 408, 409, 'ordinal not in range(128)')
encoding =
'ascii'
end =
409
object =
u' <h2>Brand viagra without prescription</h...-prescription" class="more">Read more/a></p>\n \t\t'
reason =
'ordinal not in range(128)'
start =
408