Project

General

Profile

Bug #228

Prewikka cgi authentication: __init__() takes exactly 6 arguments (5 given)

Added by almost 17 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

Hi ya,

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)

prewikka_modules_auth_cgi_cgi.patch View (486 Bytes) , 05/24/2007 12:16 PM

History

#1 Updated by Yoann VANDOORSELAERE almost 17 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

(In r9523) Patch from Robin Gruyters <>: fix regression with the Apache CGI authentication module (fix #228).

#2 Updated by Yoann VANDOORSELAERE almost 17 years ago

Thanks Robin! Patch included.

#3 Updated by Yoann VANDOORSELAERE almost 15 years ago

  • Project changed from PRELUDE SIEM to Prewikka
  • Category deleted (generic)
  • Target version deleted (0.9.12)

Also available in: Atom PDF