Attachment 'de_packacke_install_problem.htm'

Download

--> -->

UnicodeDecodeError

'ascii' codec can't decode byte 0xc3 in position 305: 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. /home/20060114/moin-desktop/MoinMoin/request.py in run (self=<MoinMoin.request.RequestStandAlone object>)

    1. 1022 from MoinMoin.wikiaction import getHandler
    2. 1023 handler = getHandler(self, action)
    3. 1024 handler(self.page.page_name, self)
    4. 1025
    5. 1026 # 5. Or redirect to another page
    • handler = <function execute>
    • self = <MoinMoin.request.RequestStandAlone object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'StartSeite'
  2. /home/20060114/moin-desktop/MoinMoin/action/AttachFile.py in execute (pagename=u'StartSeite', request=<MoinMoin.request.RequestStandAlone object>)

    1. 481 elif request.form['do'][0] == 'install':
    2. 482 if request.user.name in request.cfg.superuser or request.remote_addr == "127.0.0.1":
    3. 483 install_package(pagename, request)
    4. 484 else:
    5. 485 msg = _('You are not allowed to install files.')
    • global install_package = <function install_package>
    • pagename = u'StartSeite'
    • request = <MoinMoin.request.RequestStandAlone object>
  3. /home/20060114/moin-desktop/MoinMoin/action/AttachFile.py in install_package (pagename=u'StartSeite', request=<MoinMoin.request.RequestStandAlone object>)

    1. 662
    2. 663 if package.isPackage():
    3. 664 if package.installPackage():
    4. 665 msg=_("Attachment '%(filename)s' installed.") % {'filename': wikiutil.escape(target)}
    5. 666 else:
    • package = <MoinMoin.packages.ZipPackage instance>
    • package.installPackage = <bound method ZipPackage.installPackage of <MoinMoin.packages.ZipPackage instance>>
  4. /home/20060114/moin-desktop/MoinMoin/packages.py in installPackage (self=<MoinMoin.packages.ZipPackage instance>)

    1. 339 commands = self.getScript().splitlines()
    2. 340
    3. 341 return self.runScript(commands)
    4. 342
    5. 343 def getScript(self):
    • self = <MoinMoin.packages.ZipPackage instance>
    • self.runScript = <bound method ZipPackage.runScript of <MoinMoin.packages.ZipPackage instance>>
    • commands = [u'MoinMoinPackage|1', u'AddRevision|1|StartSeite|127.0.0.1|Created by the PackagePages action.', u'Print|Thank you for using PackagePages!']
  5. /home/20060114/moin-desktop/MoinMoin/packages.py in runScript (self=<MoinMoin.packages.ZipPackage instance>, commands=[u'MoinMoinPackage|1', u'AddRevision|1|StartSeite|127.0.0.1|Created by the PackagePages action.', u'Print|Thank you for using PackagePages!'])

    1. 308
    2. 309 try:
    3. 310 fn(*elements[1:])
    4. 311 except ScriptExit:
    5. 312 break
    • fn = <bound method ZipPackage.do_addrevision of <MoinMoin.packages.ZipPackage instance>>
    • elements = [u'AddRevision', u'1', u'StartSeite', u'127.0.0.1', u'Created by the PackagePages action.']
  6. /home/20060114/moin-desktop/MoinMoin/packages.py in do_addrevision (self=<MoinMoin.packages.ZipPackage instance>, filename=u'1', pagename=u'StartSeite', author=u'127.0.0.1', comment=u'Created by the PackagePages action.', trivial=False)

    1. 211 page = PageEditor(self.request, pagename, do_editor_backup=0, uid_override=author)
    2. 212 try:
    3. 213 page.saveText(self.extract_file(filename), 0, trivial=trivial, comment=comment)
    4. 214 except PageEditor.Unchanged:
    5. 215 pass
    • page = <MoinMoin.PageEditor.PageEditor instance>
    • page.saveText = <bound method PageEditor.saveText of <MoinMoin.PageEditor.PageEditor instance>>
    • self = <MoinMoin.packages.ZipPackage instance>
    • self.extract_file = <bound method ZipPackage.extract_file of <MoinMoin.packages.ZipPackage instance>>
    • filename = u'1'
    • trivial = False
    • comment = u'Created by the PackagePages action.'
  7. /home/20060114/moin-desktop/MoinMoin/PageEditor.py in saveText (self=<MoinMoin.PageEditor.PageEditor instance>, newtext='## Please edit system and help pages ONLY in the...ebFaq weiter.\n\nDieses Wiki basiert auf MoinMoin.\n', rev=0, **kw={'comment': u'Created by the PackagePages action.', 'trivial': False})

    1. 835 if not (wikiutil.isTemplatePage(self.request, self.page_name) or
    2. 836 wikiutil.isFormPage(self.request, self.page_name)):
    3. 837 newtext = self._expand_variables(newtext)
    4. 838
    5. 839 msg = ""
    • newtext = '## Please edit system and help pages ONLY in the...ebFaq weiter.\n\nDieses Wiki basiert auf MoinMoin.\n'
    • self = <MoinMoin.PageEditor.PageEditor instance>
    • self._expand_variables = <bound method PageEditor._expand_variables of <MoinMoin.PageEditor.PageEditor instance>>
  8. /home/20060114/moin-desktop/MoinMoin/PageEditor.py in _expand_variables (self=<MoinMoin.PageEditor.PageEditor instance>, text='## Please edit system and help pages ONLY in the...ebFaq weiter.\n\nDieses Wiki basiert auf MoinMoin.\n')

    1. 605 # TODO: Use a more stream-lined re.sub algorithm
    2. 606 for name in variables:
    3. 607 text = text.replace('@%s@' % name, variables[name])
    4. 608 return text
    5. 609
    • text = '## Please edit system and help pages ONLY in the...ebFaq weiter.\n\nDieses Wiki basiert auf MoinMoin.\n'
    • text.replace = <built-in method replace of str object>
    • name = 'PAGE'
    • variables = {'DATE': '[[Date(2006-01-14T19:38:32Z)]]', 'ME': '', 'PAGE': u'StartSeite', 'SIG': '-- 127.0.0.1 [[DateTime(2006-01-14T19:38:32Z)]]', 'TIME': '[[DateTime(2006-01-14T19:38:32Z)]]', 'USER': '-- 127.0.0.1', 'USERNAME': '127.0.0.1'}

UnicodeDecodeError

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

  • args = ('ascii', '## Please edit system and help pages ONLY in the...ebFaq weiter.\n\nDieses Wiki basiert auf MoinMoin.\n', 305, 306, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 306
  • object = '## Please edit system and help pages ONLY in the...ebFaq weiter.\n\nDieses Wiki basiert auf MoinMoin.\n'
  • reason = 'ordinal not in range(128)'
  • start = 305

System Details

  • Date: Sat, 14 Jan 2006 19:38:33 +0000
  • Platform: Linux lin 2.6.8-2-k7 #1 Tue Aug 16 14:00:15 UTC 2005 i686
  • Python: Python 2.3.5 (/usr/bin/python)
  • MoinMoin: Release 1.5.0 (patch-375; DesktopEdition Release 1.5.0-1)

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-01-14 19:38:38, 13.2 KB) [[attachment:de_packacke_install_problem.htm]]
 All files | Selected Files: delete move to page copy to page

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