Attachment 'traceback.html'
DownloadInformations sur « PageDeGarde »
[Voir : Historique des révisions] [Voir : Informations générales] [Voir le graphique « Nombre de connexions et d'éditions »]
--> --> UnicodeEncodeError'ascii' codec can't encode character u'\xc9' in position 110: ordinal not in range(128) | Please include this information in your bug reports!: Python Python 2.3.5: /usr/bin/python2.3 Linux pavillonnoir 2.6.14.2-grsec #1 Wed Nov 16 22:03:48 CET 2005 i686 MoinMoin Release 1.3.5 [Revision 1.3.5 release] Sun Dec 11 09:40:13 2005 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestTwisted object>) |
834 from MoinMoin.wikiaction import getHandler |
835 handler = getHandler(self, action) |
836 handler(self.page.page_name, self) |
837 |
838 # 5. Or redirect to another page |
handler = <function do_info>, self = <MoinMoin.request.RequestTwisted object>, self.page = <MoinMoin.Page.Page instance>, self.page.page_name = u'PageDeGarde' |
/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_info(pagename=u'PageDeGarde', request=<MoinMoin.request.RequestTwisted object>) |
416 if show_hitcounts: |
417 from MoinMoin.stats import hitcounts |
418 request.write(hitcounts.linkto(pagename, request, 'page=' + urllib.quote_plus(pagename.encode(config.charset)))) |
419 elif show_general: |
420 general(page, pagename, request) |
request = <MoinMoin.request.RequestTwisted object>, request.write = <bound method RequestTwisted.write of <MoinMoin.request.RequestTwisted object>>, hitcounts = <module 'MoinMoin.stats.hitcounts' from '/usr/li...n2.3/site-packages/MoinMoin/stats/hitcounts.pyc'>, hitcounts.linkto = <function linkto>, pagename = u'PageDeGarde', global urllib = <module 'urllib' from '/usr/lib/python2.3/urllib.pyc'>, urllib.quote_plus = <function quote_plus>, pagename.encode = <built-in method encode of unicode object>, global config = <module 'MoinMoin.config' from '/usr/lib/python2.3/site-packages/MoinMoin/config.pyc'>, config.charset = 'utf-8' |
/usr/lib/python2.3/site-packages/MoinMoin/stats/hitcounts.py in linkto(pagename=u'PageDeGarde', request=<MoinMoin.request.RequestTwisted object>, params='page=PageDeGarde') |
28 if not request.cfg.chart_options: |
29 request.formatter = Formatter(request) |
30 return text(pagename, request, params) |
31 |
32 if _debug: |
global text = <function text>, pagename = u'PageDeGarde', request = <MoinMoin.request.RequestTwisted object>, params = 'page=PageDeGarde' |
/usr/lib/python2.3/site-packages/MoinMoin/stats/hitcounts.py in text(pagename=u'PageDeGarde', request=<MoinMoin.request.RequestTwisted object>, params='PageDeGarde') |
187 table = DataBrowserWidget(request) |
188 table.setData(hits) |
189 table.render() |
190 request.redirect() |
191 |
table = <MoinMoin.widget.browser.DataBrowserWidget instance>, table.render = <bound method DataBrowserWidget.render of <MoinMoin.widget.browser.DataBrowserWidget instance>> |
/usr/lib/python2.3/site-packages/MoinMoin/widget/browser.py in render(self=<MoinMoin.widget.browser.DataBrowserWidget instance>) |
57 |
58 |
59 def render(self): |
60 self.request.write(self.toHTML()) |
61 |
self = <MoinMoin.widget.browser.DataBrowserWidget instance>, self.request = <MoinMoin.request.RequestTwisted object>, self.request.write = <bound method RequestTwisted.write of <MoinMoin.request.RequestTwisted object>>, self.toHTML = <bound method DataBrowserWidget.toHTML of <MoinMoin.widget.browser.DataBrowserWidget instance>> |
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position 110: ordinal not in range(128)
__doc__ =
'Unicode encoding error.'
__getitem__ =
<bound method UnicodeEncodeError.__getitem__ of <exceptions.UnicodeEncodeError instance>>
__init__ =
<bound method UnicodeEncodeError.__init__ of <exceptions.UnicodeEncodeError instance>>
__module__ =
'exceptions'
__str__ =
<bound method UnicodeEncodeError.__str__ of <exceptions.UnicodeEncodeError instance>>
args =
('ascii', u'<div>\n<table>\n<tr>\n<td>\n<strong>Date</strong></t...td>\n3.7</td>\n<td>\n0.7</td>\n</tr>\n</table>\n</div>\n', 110, 111, 'ordinal not in range(128)')
encoding =
'ascii'
end =
111
object =
u'<div>\n<table>\n<tr>\n<td>\n<strong>Date</strong></t...td>\n3.7</td>\n<td>\n0.7</td>\n</tr>\n</table>\n</div>\n'
reason =
'ordinal not in range(128)'
start =
110
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.