[Prelude Hybrid IDS] #228: Prewikka cgi authentication: __init__() takes exactly 6 arguments (5 given)

"Prelude Hybrid IDS" <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
#228: Prewikka cgi authentication: __init__() takes exactly 6 arguments (5 given)
----------------------------------+-----------------------------------------
 Reporter:  [email protected]  |       Owner:  yoann          
     Type:  defect                |      Status:  new            
 Priority:  normal                |   Milestone:  Prewikka 0.9.12
Component:  generic               |     Version:  0.9            
 Severity:  normal                |    Keywords:                 
----------------------------------+-----------------------------------------
 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)

-- 
Ticket URL: <https://trac.prelude-ids.org/ticket/228>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite
_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.