Attachment 'traceback.html'
Download--> -->
UnicodeDecodeError
'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/lib/python-support/python2.4/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 1156 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestFastCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- count_hit undefined
/var/lib/python-support/python2.4/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, msg='', **keywords={'count_hit': 1})
- 1234 format_args=pi_formatargs,
- 1235 do_cache=do_cache,
- 1236 start_line=pi_lines)
- 1237
- 1238 # check for pending footnotes
- start_line undefined
- pi_lines = 5
/var/lib/python-support/python2.4/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'[[SystemInfo]]\n', format_args=u'', do_cache=1, **kw={'start_line': 5})
- 1317 try:
- 1318 code = self.loadCache(request)
- 1319 self.execute(request, parser, code)
- 1320 except 'CacheNeedsUpdate':
- 1321 try:
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestFastCGI object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 0x2aaaaba01180, file "SystemInfo", line 2>
/var/lib/python-support/python2.4/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0x2aaaaba01180, file "SystemInfo", line 2>)
- 1341 if hasattr(MoinMoin, '__loader__'):
- 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1343 exec code
- 1344
- 1345 def loadCache(self, request):
- code = <code object ? at 0x2aaaaba01180, file "SystemInfo", line 2>
-
/var/lib/python-support/python2.4/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'SystemInfo', args=None)
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 292 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.wikimacro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'SystemInfo'
- args = None
/var/lib/python-support/python2.4/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'SystemInfo', args=None)
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <unbound method Macro._macro_SystemInfo>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/var/lib/python-support/python2.4/MoinMoin/wikimacro.py in _macro_SystemInfo (self=<MoinMoin.wikimacro.Macro instance>, args=None)
- 414 data_dir = self.request.cfg.data_dir
- 415 row(_('Disk usage of %(data_dir)s/pages/') % {'data_dir': data_dir},
- 416 _formatInReadableUnits(_getDirectorySize(os.path.join(data_dir, 'pages'))))
- 417 row(_('Disk usage of %(data_dir)s/') % {'data_dir': data_dir},
- 418 _formatInReadableUnits(_getDirectorySize(data_dir)))
- _formatInReadableUnits = <function _formatInReadableUnits>
- _getDirectorySize = <function _getDirectorySize>
- global os = <module 'os' from '/usr/lib/python2.4/os.pyc'>
- os.path = <module 'posixpath' from '/usr/lib/python2.4/posixpath.pyc'>
- os.path.join = <function join>
- data_dir = u'/srv/wiki/data'
/var/lib/python-support/python2.4/MoinMoin/wikimacro.py in _getDirectorySize (path=u'/srv/wiki/data/pages')
- 370 try:
- 371 dirsize = 0
- 372 for root, dirs, files in os.walk(path):
- 373 dirsize += sum([os.path.getsize(os.path.join(root, name)) for name in files])
- 374 except EnvironmentError, e:
- root = u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance'
- dirs = [u'attachments', u'revisions', u'cache']
- files = [u'edit-log', u'current']
- global os = <module 'os' from '/usr/lib/python2.4/os.pyc'>
- os.walk = <function walk>
- path = u'/srv/wiki/data/pages'
/var/www/wiki/os.py in walk (top=u'/srv/wiki/data/pages', topdown=True, onerror=None)
- 289 path = join(top, name)
- 290 if not islink(path):
- 291 for x in walk(path, topdown, onerror):
- 292 yield x
- 293 if not topdown:
- x = (u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance', [u'attachments', u'revisions', u'cache'], [u'edit-log', u'current'])
- global walk = <function walk>
- path = u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance'
- topdown = True
- onerror = None
/var/www/wiki/os.py in walk (top=u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance', topdown=True, onerror=None)
- 289 path = join(top, name)
- 290 if not islink(path):
- 291 for x in walk(path, topdown, onerror):
- 292 yield x
- 293 if not topdown:
- x undefined
- global walk = <function walk>
- path = u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance/attachments'
- topdown = True
- onerror = None
/var/www/wiki/os.py in walk (top=u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance/attachments', topdown=True, onerror=None)
- 279 dirs, nondirs = [], []
- 280 for name in names:
- 281 if isdir(join(top, name)):
- 282 dirs.append(name)
- 283 else:
- isdir = <function isdir>
- join = <function join>
- top = u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance/attachments'
- name = 'femmes_r\xc3\xa9sistantes.pdf'
/var/www/wiki/posixpath.py in join (a=u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance/attachments', *p=('femmes_r\xc3\xa9sistantes.pdf',))
- 63 path += b
- 64 else:
- 65 path += '/' + b
- 66 return path
- 67
- path = u'/srv/wiki/data/pages/LesFemmesQuiOntFaitLaFrance/attachments'
- b = 'femmes_r\xc3\xa9sistantes.pdf'
UnicodeDecodeError
'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
- args = ('ascii', '/femmes_r\xc3\xa9sistantes.pdf', 9, 10, 'ordinal not in range(128)')
- encoding = 'ascii'
- end = 10
- object = '/femmes_r\xc3\xa9sistantes.pdf'
- reason = 'ordinal not in range(128)'
- start = 9
System Details
- Date: Tue, 01 Jul 2008 09:27:56 +0000
- Platform: Linux emma 2.6.24-1-amd64 #1 SMP Thu Jun 5 08:06:01 UTC 2008 x86_64
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.5.3 (release)
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.