[Prewikka] Unavailable web interface

Added by Baptiste R almost 6 years ago


I'm running latest Prelude Release on Ubuntu 18.04, and I try to install Prewikka.
I follow instructions to get all dependencies and librairies needeed, but after run prewikka-httpd and trying to access to the interface, I get those errors :

Client side

A server error occurred.  Please contact the administrator.

Server side

Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/bin/prewikka-httpd", line 62, in application
    return wsgi.application(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/prewikka/web/", line 161, in application
    core.process(WSGIRequest(environ, start_response))
  File "/usr/local/lib/python2.7/dist-packages/prewikka/", line 280, in process
    response = err.respond()
  File "/usr/local/lib/python2.7/dist-packages/prewikka/", line 106, in respond
    return self._html_respond()
  File "/usr/local/lib/python2.7/dist-packages/prewikka/", line 91, in _html_respond
    return baseview.BaseView().respond(self._setup_template(self.template, False), self.code)
  File "/usr/local/lib/python2.7/dist-packages/prewikka/", line 481, in __init__
  File "/usr/local/lib/python2.7/dist-packages/prewikka/", line 46, in __init__
  File "/usr/local/lib/python2.7/dist-packages/prewikka/", line 583, in _add_route
    self._views_rules[rule] = v
TypeError: unhashable type: 'Rule'

Thanks for your (precious) help :) !

Replies (2)

RE: [Prewikka] Unavailable web interface - Added by Antoine LUONG almost 6 years ago


Please try with a python-werkzeug version prior to 0.12.