[moin-user] MoinMoin 1.9.8 Unhandled Exception

Lars Noodén lars.nooden at gmail.com
Sun Oct 15 06:27:30 EDT 2017


I have MoinMoin 1.9.8 with Python 2.7.14 using FastCGI and am seeing the
following errors now.  How should I debug or fix the following?

In the browser, the wiki shows only the error "Unhandled Exception" "An
unhandled exception was thrown by the application."

The web server's logs show the following for each such exception:

Traceback (most recent call last):
  File
"/usr/local/lib/python2.7/site-packages/MoinMoin/support/flup/server/fcgi_base.py",
line 574, in run
    protocolStatus, appStatus = self.server.handler(self)
  File
"/usr/local/lib/python2.7/site-packages/MoinMoin/support/flup/server/fcgi_base.py",
line 1159, in handler
    result = self.application(environ, start_response)
  File
"/usr/local/lib/python2.7/site-packages/MoinMoin/support/werkzeug/wsgi.py",
line 411, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/site-packages/MoinMoin/wsgiapp.py",
line 264, in __call__
    response = run(context)
  File "/usr/local/lib/python2.7/site-packages/MoinMoin/wsgiapp.py",
line 79, in run
    check_surge_protect(context)
  File "/usr/local/lib/python2.7/site-packages/MoinMoin/web/utils.py",
line 95, in check_surge_protect
    data = cache.content()
  File "/usr/local/lib/python2.7/site-packages/MoinMoin/caching.py",
line 287, in content
    raise CacheError(str(err))
CacheError: 'utf8' codec can't decode byte 0x80 in position 0: invalid
start byte

Lines 286 and 287 of caching.py show this only (whitespace compressed
for the mail):

   except (pickle.UnpicklingError, IOError, EOFError, ValueError), err:
      raise CacheError(str(err))

Thanks,
/Lars


More information about the moin-user mailing list