Attachment 'traceback.html'

Download

--> -->

UnicodeDecodeError

'ascii' codec can't decode byte 0xa0 in position 66: 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.

  1. /usr/lib/python2.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1149 from MoinMoin.wikiaction import getHandler
    2. 1150 handler = getHandler(self, action)
    3. 1151 handler(self.page.page_name, self)
    4. 1152
    5. 1153 # generate page footer (actions that do not want this footer use
    • handler = <function execute>
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'KompletniAnalyzaIt'
  2. /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'KompletniAnalyzaIt', request=<MoinMoin.request.RequestModPy object>)

    1. 508 elif request.form['do'][0] == 'unzip':
    2. 509 if request.user.may.delete(pagename) and request.user.may.read(pagename) and request.user.may.write(pagename):
    3. 510 unzip_file(pagename, request)
    4. 511 else:
    5. 512 msg = _('You are not allowed to unzip attachments of this page.')
    • global unzip_file = <function unzip_file>
    • pagename = u'KompletniAnalyzaIt'
    • request = <MoinMoin.request.RequestModPy object>
  3. /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in unzip_file (pagename=u'KompletniAnalyzaIt', request=<MoinMoin.request.RequestModPy object>)

    1. 872 zi = zf.getinfo(origname)
    2. 873 if zi.file_size < single_file_size:
    3. 874 new_file = getFilename(request, pagename, finalname)
    4. 875 if not os.path.exists(new_file):
    5. 876 outfile = open(new_file, 'wb')
    • new_file undefined
    • global getFilename = <function getFilename>
    • request = <MoinMoin.request.RequestModPy object>
    • pagename = u'KompletniAnalyzaIt'
    • finalname = 'obr\xa0zky8.png'
  4. /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in getFilename (request=<MoinMoin.request.RequestModPy object>, pagename=u'KompletniAnalyzaIt', filename='obr\xa0zky8.png')

    1. 139 @return: complete path/filename of attached file
    2. 140 """
    3. 141 return os.path.join(getAttachDir(request, pagename), filename).encode(config.charset)
    4. 142
    5. 143 def info(pagename, request):
    • global os = <module 'os' from '/usr/lib/python2.3/os.pyc'>
    • os.path = <module 'posixpath' from '/usr/lib/python2.3/posixpath.pyc'>
    • os.path.join = <function join>
    • global getAttachDir = <function getAttachDir>
    • request = <MoinMoin.request.RequestModPy object>
    • pagename = u'KompletniAnalyzaIt'
    • filename = 'obr\xa0zky8.png'
    • ).encode = <built-in method encode of str object>
    • global config = <module 'MoinMoin.config' from '/usr/lib/python2.3/site-packages/MoinMoin/config.pyc'>
    • config.charset = 'utf-8'

UnicodeDecodeError

'ascii' codec can't decode byte 0xa0 in position 66: ordinal not in range(128)

  • args = ('ascii', '/var/www/wiki/itinfo/data/pages/KompletniAnalyzaIt/attachments/obr\xa0zky8.png', 66, 67, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 67
  • object = '/var/www/wiki/itinfo/data/pages/KompletniAnalyzaIt/attachments/obr\xa0zky8.png'
  • reason = 'ordinal not in range(128)'
  • start = 66

System Details

  • Date: Thu, 07 Dec 2006 12:00:28 +0000
  • Platform: Linux hvslins0001 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686
  • Python: Python 2.3.5 (/usr/bin/python)
  • MoinMoin: Release 1.5.6 (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.
  • [get | view] (2006-12-07 12:05:10, 9.0 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.