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.
/home/20060114/moin-desktop/MoinMoin/request.py in run (self=<MoinMoin.request.RequestStandAlone object>)
- 1022 from MoinMoin.wikiaction import getHandler
- 1023 handler = getHandler(self, action)
- 1024 handler(self.page.page_name, self)
- 1025
- 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'
/home/20060114/moin-desktop/MoinMoin/action/AttachFile.py in execute (pagename=u'StartSeite', request=<MoinMoin.request.RequestStandAlone object>)
- 481 elif request.form['do'][0] == 'install':
- 482 if request.user.name in request.cfg.superuser or request.remote_addr == "127.0.0.1":
- 483 install_package(pagename, request)
- 484 else:
- 485 msg = _('You are not allowed to install files.')
- global install_package = <function install_package>
- pagename = u'StartSeite'
- request = <MoinMoin.request.RequestStandAlone object>
/home/20060114/moin-desktop/MoinMoin/action/AttachFile.py in install_package (pagename=u'StartSeite', request=<MoinMoin.request.RequestStandAlone object>)
- 662
- 663 if package.isPackage():
- 664 if package.installPackage():
- 665 msg=_("Attachment '%(filename)s' installed.") % {'filename': wikiutil.escape(target)}
- 666 else:
- package = <MoinMoin.packages.ZipPackage instance>
- package.installPackage = <bound method ZipPackage.installPackage of <MoinMoin.packages.ZipPackage instance>>
/home/20060114/moin-desktop/MoinMoin/packages.py in installPackage (self=<MoinMoin.packages.ZipPackage instance>)
- 339 commands = self.getScript().splitlines()
- 340
- 341 return self.runScript(commands)
- 342
- 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!']
/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!'])
- 308
- 309 try:
- 310 fn(*elements[1:])
- 311 except ScriptExit:
- 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.']
/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)
- 211 page = PageEditor(self.request, pagename, do_editor_backup=0, uid_override=author)
- 212 try:
- 213 page.saveText(self.extract_file(filename), 0, trivial=trivial, comment=comment)
- 214 except PageEditor.Unchanged:
- 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.'
/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})
- 835 if not (wikiutil.isTemplatePage(self.request, self.page_name) or
- 836 wikiutil.isFormPage(self.request, self.page_name)):
- 837 newtext = self._expand_variables(newtext)
- 838
- 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>>
/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')
- 605 # TODO: Use a more stream-lined re.sub algorithm
- 606 for name in variables:
- 607 text = text.replace('@%s@' % name, variables[name])
- 608 return text
- 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.You are not allowed to attach a file to this page.