[Moin-user] MoinMoin and mod_auth_sspi setup problem

Rick Vanderveer rick.vanderveer at gmail.com
Mon Apr 14 10:16:34 EDT 2008


Bernd,
I apologize, I've been meaning to update those instructions since 1.6 came
out.

You should be able to "fix" your installation by applying the instructions
for updating here (in effect, you've installed 1.6 using 1.5 instructions,
so you now just need to apply the configuration updates):

http://moinmo.in/RickVanderveer/MigratingFromMoin15ToMoin16

-Rick



On Mon, Apr 14, 2008 at 3:52 AM, Bernd Bartmann <bernd.bartmann at gmail.com>
wrote:

> Hi,
>
> I'm trying to setup MoinMoin 1.6.2 on Apache 2.2.8 with mod_auth_sspi
> 1.0.4. I've made the changes to httpd.conf and wikiconfig.py as
> described in ApacheOnWin32withDomainauthentication. When opening the
> browser and trying to access the wiki page I'm now getting the
> following messages:
>
> --> -->
>
> TypeError
> 'module' object is not callable
>
> If you want to report a bug, please save this page and attach it to
> your bug report.
>
> Show debugging information Report bug Visit MoinMoin wiki
> Traceback
> A problem occurred in a Python script. Here is the sequence of
> function calls leading up to the error, in the order they occurred.
>
> C:\Python25\lib\site-packages\MoinMoin\request\request_cgi.py in
> __init__ (self=<MoinMoin.request.request_cgi.Request object at
> 0x00F992B0>, properties={})
>
> 24
> 25 self._setup_vars_from_std_env(os.environ)
> 26 RequestBase.__init__(self, properties)
> 27
> 28 except Exception, err:
> global RequestBase = <class 'MoinMoin.request.RequestBase'>
> RequestBase.__init__ = <unbound method RequestBase.__init__> self =
> <MoinMoin.request.request_cgi.Request object at 0x00F992B0> properties
> = {}
> C:\Python25\lib\site-packages\MoinMoin\request\__init__.py in __init__
> (self=<MoinMoin.request.request_cgi.Request object at 0x00F992B0>,
> properties={})
>
> 249 i18n.i18n_init(self)
> 250
> 251 self.user = self.get_user_from_form()
> 252 # setuid handling
> 253 if self.session and 'setuid' in self.session:
> self = <MoinMoin.request.request_cgi.Request object at 0x00F992B0>
> self.user undefined self.get_user_from_form = <bound method
> Request.get_user_from_form of <Moi...equest.request_cgi.Request object
> at 0x00F992B0>>
> C:\Python25\lib\site-packages\MoinMoin\request\__init__.py in
> get_user_from_form (self=<MoinMoin.request.request_cgi.Request object
> at 0x00F992B0>)
>
> 645 u = self.get_user_default_unknown(name=name, password=password,
> 646 login=login, logout=logout,
> 647 user_obj=None)
> 648 return u
> 649
> user_obj undefined builtin None = None
> C:\Python25\lib\site-packages\MoinMoin\request\__init__.py in
> get_user_default_unknown (self=<MoinMoin.request.request_cgi.Request
> object at 0x00F992B0>, **kw={'login': False, 'logout': False, 'name':
> None, 'password': None, 'user_obj': None})
>
> 656 def get_user_default_unknown(self, **kw):
> 657 """ call do_auth and if it doesnt return a user object, make some
> "Unknown User" """
> 658 user_obj = self.get_user_default_None(**kw)
> 659 if user_obj is None:
> 660 user_obj = user.User(self, auth_method="request:427")
> user_obj undefined self = <MoinMoin.request.request_cgi.Request object
> at 0x00F992B0> self.get_user_default_None = <bound method
> Request.get_user_default_None of <...equest.request_cgi.Request object
> at 0x00F992B0>> kw = {'login': False, 'logout': False, 'name': None,
> 'password': None, 'user_obj': None}
> C:\Python25\lib\site-packages\MoinMoin\request\__init__.py in
> get_user_default_None (self=<MoinMoin.request.request_cgi.Request
> object at 0x00F992B0>, **kw={'login': False, 'logout': False, 'name':
> None, 'password': None, 'user_obj': None})
>
> 672 user_obj, continue_flag = auth(self, name=name, password=password,
> 673 login=login, logout=logout, user_obj=user_obj,
> 674 cookie=cookie)
> 675 if not continue_flag:
> 676 break
> cookie = <SimpleCookie: >
> TypeError
> 'module' object is not callable
>
> args = ("'module' object is not callable",)
> message = "'module' object is not callable"
> System Details
> Date: Mon, 14 Apr 2008 08:47:42 +0000
> Platform: win32 (nt)
> Python: Python 2.5.1 (C:\Python25\python.exe)
> MoinMoin: Release 1.6.2 (release)
>
>
>
> Any ideas?
>
> Thanks in advance,
> Bernd.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20080414/6b1728e5/attachment.html>


More information about the Moin-user mailing list