Hi John,

> I can get things to work standalone but would like to work with wsgi.

Thanks for doing pioneering work for IIS / wsgi. :)

>   File "E:\Python25\lib\site-packages\MoinMoin\request\request_wsgi.py",
> line 38, in __init__

That is within the exception handler there.

>   File "E:\Python25\lib\site-packages\MoinMoin\request\__init__.py",
> line 1452, in fail
> AttributeError: 'Request' object has no attribute 'sent_headers'

This is because the exception (see above) happenened before the
RequestBase.__init__() was called. Not good.

To get more information about this, you need to change
MoinMoin/request/request_wsgi.py:

After line 37 change it like you see here:

        except Exception, err:
            logging.exception("An exception has occurred:")
            self.fail(err)

After doing this change, reboot your machine and retry.
You should have the real cause of the problem now in your logs,
please post the traceback you see there.

See also logging configuration in moin.wsgi to find out more about
moin's logging.

Cheers,

Thomas



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to