Project

General

Profile

[Prewikka] Unavailable web interface

Added by Baptiste R about 6 years ago

Hello,

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/handlers.py", 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/wsgi.py", line 161, in application
    core.process(WSGIRequest(environ, start_response))
  File "/usr/local/lib/python2.7/dist-packages/prewikka/main.py", line 280, in process
    response = err.respond()
  File "/usr/local/lib/python2.7/dist-packages/prewikka/error.py", line 106, in respond
    return self._html_respond()
  File "/usr/local/lib/python2.7/dist-packages/prewikka/error.py", 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/view.py", line 481, in __init__
    registrar.DelayedRegistrar.__init__(self)
  File "/usr/local/lib/python2.7/dist-packages/prewikka/registrar.py", line 46, in __init__
    i(ref)
  File "/usr/local/lib/python2.7/dist-packages/prewikka/view.py", 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 about 6 years ago

Hello,

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

Regards

    (1-2/2)