Attachment 'traceback.html'

Download

  • •ÒW
  • •\Ž¦
  • ·•ª
  • î•ñ
  • w“Ç
  • WikiƒeƒLƒXƒg
  • ˆóü

Edit the FortuneCookies page to display randomly selected wisdom here.

--> -->

UnicodeEncodeError

'ascii' codec can't encode characters in position 65-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. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1170 self.page.send_page(self, msg=msg)
    2. 1171 else:
    3. 1172 handler(self.page.page_name, self)
    4. 1173
    5. 1174 # generate page footer (actions that do not want this footer use
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'RecentChanges'
  2. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.RequestCGI object>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'RecentChanges'
    • ).send_page undefined
    • count_hit undefined
  3. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  4. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n||<tablestyle="width: 100%; background: #E6EAF0...his wiki.\nMore system information on SystemInfo.\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1345 try:
    2. 1346 code = self.loadCache(request)
    3. 1347 self.execute(request, parser, code)
    4. 1348 except Exception, e:
    5. 1349 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object ? at 0xb68d75a0, file "RecentChanges", line 2>
  5. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xb68d75a0, file "RecentChanges", line 2>)

    1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1375 try:
    3. 1376 exec code
    4. 1377 except 'CacheNeedsUpdate':
    5. 1378 raise Exception('CacheNeedsUpdate')
    • code = <code object ? at 0xb68d75a0, file "RecentChanges", line 2>
  6. /virtual/kametan/public_html/cgi-bin/RecentChanges in ?

  7. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'RecentChanges', args=None)

    1. 288 def macro(self, macro_obj, name, args):
    2. 289 # call the macro
    3. 290 return macro_obj.execute(name, args)
    4. 291
    5. 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'RecentChanges'
    • args = None
  8. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'RecentChanges', args=None)

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = None
  9. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={})

    1. 243
    2. 244 # get bookmark from valid user
    3. 245 bookmark_usecs = request.user.getBookmark() or 0
    4. 246
    5. 247 # add bookmark link if valid user
    • bookmark_usecs undefined
    • request = <MoinMoin.request.RequestCGI object>
    • request.user = <MoinMoin.user.User at 0x-4958d254 name:u'\u4e80\u7530\u99ac\u5fd7' id:1171819988.04.62252 valid:1>
    • request.user.getBookmark = <bound method User.getBookmark of <MoinMoin.user...530\u99ac\u5fd7' id:1171819988.04.62252 valid:1>>
  10. /virtual/kametan/lib/python2.4/site-packages/MoinMoin/user.py in getBookmark (self=<MoinMoin.user.User at 0x-4958d254 name:u'\u4e80\u7530\u99ac\u5fd7' id:1171819988.04.62252 valid:1>)

    1. 581 bm_fn = self.__bookmark_filename()
    2. 582
    3. 583 if self.valid and os.path.exists(bm_fn):
    4. 584 try:
    5. 585 bm = long(open(bm_fn, 'r').readline()) # must be long for py 2.2
    • self = <MoinMoin.user.User at 0x-4958d254 name:u'\u4e80\u7530\u99ac\u5fd7' id:1171819988.04.62252 valid:1>
    • self.valid = 1
    • global os = <module 'os' from '/usr/local/lib/python2.4/os.pyc'>
    • os.path = <module 'posixpath' from '/usr/local/lib/python2.4/posixpath.pyc'>
    • os.path.exists = <function exists>
    • bm_fn = u'/virtual/kametan/share/moin/mywiki/data/user/1171819988.04.62252.\u7af6\u99ac@Wiki.bookmark'
  11. /usr/local/lib/python2.4/posixpath.py in exists (path=u'/virtual/kametan/share/moin/mywiki/data/user/1171819988.04.62252.\u7af6\u99ac@Wiki.bookmark')

    1. 169 """Test whether a path exists. Returns False for broken symbolic links"""
    2. 170 try:
    3. 171 st = os.stat(path)
    4. 172 except os.error:
    5. 173 return False
    • st undefined
    • global os = <module 'os' from '/usr/local/lib/python2.4/os.pyc'>
    • os.stat = <built-in function stat>
    • path = u'/virtual/kametan/share/moin/mywiki/data/user/1171819988.04.62252.\u7af6\u99ac@Wiki.bookmark'

UnicodeEncodeError

'ascii' codec can't encode characters in position 65-66: ordinal not in range(128)

  • args = ('ascii', u'/virtual/kametan/share/moin/mywiki/data/user/1171819988.04.62252.\u7af6\u99ac@Wiki.bookmark', 65, 67, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 67
  • object = u'/virtual/kametan/share/moin/mywiki/data/user/1171819988.04.62252.\u7af6\u99ac@Wiki.bookmark'
  • reason = 'ordinal not in range(128)'
  • start = 65

System Details

  • Date: Tue, 20 Feb 2007 22:27:52 +0000
  • Platform: Linux s257 2.6.17.13-smp #1 SMP Tue Sep 19 05:49:09 JST 2006 i686
  • Python: Python 2.4.3 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.7 (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] (2007-02-20 22:39:58, 62.3 KB) [[attachment:screenshot.jpg]]
  • [get | view] (2007-02-20 22:41:34, 26.2 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.