--> -->

CacheError

'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte

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. /usr/local/lib/python2.5/site-packages/MoinMoin/request/request_modpython.py in __init__ (self=<MoinMoin.request.request_modpython.Request object at 0xb9c2ff8c>, req=<mp_request object at 0xa9a92984>, properties={})

    1. 37 env = req.subprocess_env
    2. 38 self._setup_vars_from_std_env(env)
    3. 39 RequestBase.__init__(self, properties)
    4. 40
    5. 41 except Exception, err:
    • global RequestBase = <class 'MoinMoin.request.RequestBase'>
    • RequestBase.__init__ = <unbound method RequestBase.__init__>
    • self = <MoinMoin.request.request_modpython.Request object at 0xb9c2ff8c>
    • properties = {}
  2. /usr/local/lib/python2.5/site-packages/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_modpython.Request object at 0xb9c2ff8c>, properties={}, given_config=None)

    1. 235 if not self.forbidden and self.isForbidden():
    2. 236 self.makeForbidden403()
    3. 237 if not self.forbidden and self.surge_protect():
    4. 238 self.makeUnavailable503()
    5. 239
    • self = <MoinMoin.request.request_modpython.Request object at 0xb9c2ff8c>
    • self.forbidden = False
    • self.surge_protect = <bound method Request.surge_protect of <MoinMoin....request_modpython.Request object at 0xb9c2ff8c>>
  3. /usr/local/lib/python2.5/site-packages/MoinMoin/request/__init__.py in surge_protect (self=<MoinMoin.request.request_modpython.Request object at 0xb9c2ff8c>, kick_him=False)

    1. 281 cache = caching.CacheEntry(self, 'surgeprotect', 'surge-log', scope='wiki', use_encode=True)
    2. 282 if cache.exists():
    3. 283 data = cache.content()
    4. 284 data = data.split("\n")
    5. 285 for line in data:
    • data undefined
    • cache = <MoinMoin.caching.CacheEntry instance at 0xb9c40aac>
    • cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance at 0xb9c40aac>>
  4. /usr/local/lib/python2.5/site-packages/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance at 0xb9c40aac>)

    1. 257 return data
    2. 258 except (pickle.UnpicklingError, IOError, EOFError, ValueError), err:
    3. 259 raise CacheError(str(err))
    4. 260
    5. 261 def remove(self):
    • global CacheError = <class 'MoinMoin.caching.CacheError'>
    • builtin str = <type 'str'>
    • err = UnicodeDecodeError('utf8', '\x80\x02}q\x01(U\x07...0\x00\x00\x00\x00', 0, 1, 'unexpected code byte')

CacheError

'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte

  • args = ("'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte",)
  • message = "'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte"

System Details