CacheError
'ascii' codec can't encode character u'\xe4' in position 7: 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.
/srv/moin_tw/moin-test/MoinMoin/request/CGI.py
in __init__
(self=<MoinMoin.request.CGI.Request object>, properties={})
- 24
- 25 self._setup_vars_from_std_env(os.environ)
- 26 RequestBase.__init__(self, properties)
- 27
- 28 except Exception, err:
- global
RequestBase
= <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__
= <unbound method RequestBase.__init__>
- self
= <MoinMoin.request.CGI.Request object>
- properties
= {}
/srv/moin_tw/moin-1.6-main/MoinMoin/request/__init__.py
in __init__
(self=<MoinMoin.request.CGI.Request object>, properties={})
- 224 if not self.forbidden and self.isForbidden():
- 225 self.makeForbidden403()
- 226 if not self.forbidden and self.surge_protect():
- 227 self.makeUnavailable503()
- 228
- self
= <MoinMoin.request.CGI.Request object>
- self.forbidden
= False
- self.surge_protect
= <bound method Request.surge_protect of <MoinMoin.request.CGI.Request object>>
/srv/moin_tw/moin-1.6-main/MoinMoin/request/__init__.py
in surge_protect
(self=<MoinMoin.request.CGI.Request object>, kick_him=False)
- 317 data.append("%s\t%d\t%s\t%s" % (id, t, action, surge_indicator))
- 318 data = "\n".join(data)
- 319 cache.update(data)
- 320 except StandardError:
- 321 pass
- cache
= <MoinMoin.caching.CacheEntry instance>
- cache.update
= <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance>>
- data
= u'MarcelH\xe4fner\t1181814859\tlogin\t\nMarcelH\xe4fner\t1181814859\tall\t'
/srv/moin_tw/moin-1.6-main/MoinMoin/caching.py
in update
(self=<MoinMoin.caching.CacheEntry instance>, content=u'MarcelH\xe4fner\t1181814859\tlogin\t\nMarcelH\xe4fner\t1181814859\tall\t')
- 141 self.request.log("Can't acquire write lock in %s" % self.lock_dir)
- 142 except (pickle.PicklingError, IOError, ValueError), err:
- 143 raise CacheError(str(err))
- 144
- 145 def remove(self):
- global
CacheError
= <class MoinMoin.caching.CacheError>
- builtin
str
= <type 'str'>
- err
= <exceptions.UnicodeEncodeError instance>
CacheError
'ascii' codec can't encode character u'\xe4' in position 7: ordinal not in range(128)
- args = (r"'ascii' codec can't encode character u'\xe4' in position 7: ordinal not in range(128)",)
System Details
- Date: Thu, 14 Jun 2007 09:54:19 +0000
- Platform: Linux web.thinkmo.de 2.6.20-thinkmo-1 #1 SMP Sat Feb 17 13:11:11 UTC 2007 x86_64
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.6.0alpha ()