Attachment 'traceback.html'
Download- ?Tcnu
- vt@X
- OAEg
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.
/virtual/kametan/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 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'
/virtual/kametan/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.RequestCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- pagename = u'RecentChanges'
- ).send_page undefined
- count_hit undefined
/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})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 7
/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})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 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>
/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>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object ? at 0xb68d75a0, file "RecentChanges", line 2>
/virtual/kametan/public_html/cgi-bin/RecentChanges in ?
/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)
- 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'RecentChanges'
- args = None
/virtual/kametan/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'RecentChanges', 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 = <function execute>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/virtual/kametan/lib/python2.4/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={})
- 243
- 244 # get bookmark from valid user
- 245 bookmark_usecs = request.user.getBookmark() or 0
- 246
- 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>>
/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>)
- 581 bm_fn = self.__bookmark_filename()
- 582
- 583 if self.valid and os.path.exists(bm_fn):
- 584 try:
- 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'
/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')
- 169 """Test whether a path exists. Returns False for broken symbolic links"""
- 170 try:
- 171 st = os.stat(path)
- 172 except os.error:
- 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.You are not allowed to attach a file to this page.