Public bug reported: Binary package hint: moinmoin-common
clicking on http://www.ubuntu.com/download brings up a MoinMoin error which I detail below:- UnicodeDecodeError'ascii' codec can't decode byte 0xd2 in position 83: ordinal not in range(128) Please include this information in your bug reports!: Python Python 2.4.3: /usr/bin/python Linux signey 2.6.15.7 #1 SMP Sat Jul 15 10:48:14 UTC 2006 x86_64 MoinMoin Release 1.3.4 [Revision 1.3.4 release] Mon Jan 29 11:50:13 2007 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.4/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) 863 if self.cfg.allow_extended_names: 864 self.page = Page(self, pagename) 865 self.page.send_page(self, count_hit=1) 866 else: 867 # TODO: kill this. Why disable allow extended names? self = <MoinMoin.request.RequestCGI instance>, self.page = <MoinMoin.Page.Page instance>, self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>, count_hit undefined /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'count_hit': 1}) 924 # count hit? 925 if keywords.get('count_hit', 0): 926 eventlog.EventLog(request).add(request, 'VIEWPAGE', {'pagename': self.page_name}) 927 928 # load the text global eventlog = <module 'MoinMoin.logfile.eventlog' from '/usr/l...2.4/site-packages/MoinMoin/logfile/eventlog.pyc'>, eventlog.EventLog = <class MoinMoin.logfile.eventlog.EventLog>, request = <MoinMoin.request.RequestCGI instance>, ).add undefined, self = <MoinMoin.Page.Page instance>, self.page_name = u'download' /usr/lib/python2.4/site-packages/MoinMoin/logfile/eventlog.py in add(self=<MoinMoin.logfile.eventlog.EventLog instance>, request=<MoinMoin.request.RequestCGI instance>, eventtype='VIEWPAGE', values={'HTTP_REFERER': 'http://www.ubuntu.com/', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', 'REMOTE_ADDR': '82.211.81.230', 'pagename': u'download'}, add_http_info=1, mtime_usecs=1170071413070483L) 42 values[key.upper()] = value 43 # Encode values in a query string TODO: use more reaable format 44 values = web.makeQueryString(values) 45 self._add(u"%d\t%s\t%s\n" % (mtime_usecs, eventtype, values)) 46 values = {'HTTP_REFERER': 'http://www.ubuntu.com/', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', 'REMOTE_ADDR': '82.211.81.230', 'pagename': u'download'}, global web = <module 'MoinMoin.util.web' from '/usr/lib/python2.4/site-packages/MoinMoin/util/web.pyc'>, web.makeQueryString = <function makeQueryString> /usr/lib/python2.4/site-packages/MoinMoin/util/web.py in makeQueryString(qstr={'HTTP_REFERER': 'http://www.ubuntu.com/', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', 'REMOTE_ADDR': '82.211.81.230', 'pagename': u'download'}, **kw={}) 52 qstr.update(kw) 53 q = lambda x: urllib.quote_plus(unicode(x).encode(config.charset)) 54 items = ['%s=%s' % (q(key), q(value)) for key, value in qstr.items()] 55 qstr = '&'.join(items) 56 items undefined, q = <function <lambda>>, key = 'HTTP_USER_AGENT', value = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', qstr = {'HTTP_REFERER': 'http://www.ubuntu.com/', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', 'REMOTE_ADDR': '82.211.81.230', 'pagename': u'download'}, qstr.items = <built-in method items of dict object> /usr/lib/python2.4/site-packages/MoinMoin/util/web.py in (x='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))') 51 if isinstance(qstr, type({})): 52 qstr.update(kw) 53 q = lambda x: urllib.quote_plus(unicode(x).encode(config.charset)) 54 items = ['%s=%s' % (q(key), q(value)) for key, value in qstr.items()] 55 qstr = '&'.join(items) q undefined, x = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', global urllib = <module 'urllib' from '/usr/lib/python2.4/urllib.pyc'>, urllib.quote_plus = <function quote_plus>, unicode undefined, ).encode = <built-in method encode of str object>, global config = <module 'MoinMoin.config' from '/usr/lib/python2.4/site-packages/MoinMoin/config.pyc'>, config.charset = 'utf-8' UnicodeDecodeError: 'ascii' codec can't decode byte 0xd2 in position 83: ordinal not in range(128) __doc__ = 'Unicode decoding error.' __getitem__ = <bound method UnicodeDecodeError.__getitem__ of <exceptions.UnicodeDecodeError instance>> __init__ = <bound method UnicodeDecodeError.__init__ of <exceptions.UnicodeDecodeError instance>> __module__ = 'exceptions' __str__ = <bound method UnicodeDecodeError.__str__ of <exceptions.UnicodeDecodeError instance>> args = ('ascii', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))', 83, 84, 'ordinal not in range(128)') encoding = 'ascii' end = 84 object = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CMS Music Store2 v1.00.13 (\xd2\xf4\xc0\xd6\xc9\xcc\xb5\xea,2052))' reason = 'ordinal not in range(128)' start = 83 ** Affects: moin (Ubuntu) Importance: Undecided Status: Unconfirmed -- Ubuntu.com download page down https://launchpad.net/bugs/82235 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
