Prewikka cgi authentication: __init__() takes exactly 6 arguments (5 given)
There are some issues with the new Prewikka login module (cgi).
Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/prewikka/Core.py", line 306, in process user = self.checkAuth(request) File "/usr/local/lib/python2.4/site-packages/prewikka/Core.py", line 295, in checkAuth user = self._env.auth.getUser(request) File "/usr/local/lib/python2.4/site-packages/prewikka/modules/auth/cgi/cgi.py", line 31, in getUser return User.User(self.db, user, User.ALL_PERMISSIONS, self.db.getConfiguration(user)) [[TypeError]]: +init+() takes exactly 6 arguments (5 given)
I have managed to find the 'problem' and have a patch available. (see attachment)