For whom ever may face this "bug"...

If your webserver refuse to serve wiki content (error 500) and it's log
has some entry like:

> mod_wsgi (pid=11776): Target WSGI script '/var/www/moin.wsgi' cannot be 
> loaded as Python module.
> mod_wsgi (pid=11776): Exception occurred processing WSGI script 
> '/var/www/moin.wsgi'.
> Traceback (most recent call last):
>   File "/var/www/moin.wsgi", line 4, in <module>
>     from MoinMoin.server.server_wsgi import moinmoinApp
> ImportError: No module named server.server_wsgi

This can typically occur if you forgot to upgrade our local copy of
"moin.wsgi"

To fix this issue, you simply have to update your moin.wsgi file (the
one declared in your webserver configuration !)

Pre moin-1.9:
  from MoinMoin.server.server_wsgi import moinmoinApp
  application = moinmoinApp
New value for moin 1.9:
  from MoinMoin.web.serving import make_application
  application = make_application(shared=True)

Hope this helps,

Franklin
-- 
Can you master Open-source software? Prove it, write documentation!


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to