[Moin-user] Cleaning Cache on WSGI Installation

Olivier Parisy olivier.parisy at gmail.com
Sun Nov 20 04:07:41 EST 2011


Hi,

I recently upgraded my Debian system, which led to a breakage of my 
MoinMoin wikis: "500 Internal Server Error" when accessing to the main 
wiki page, with an underlying "TypeError: 'dict' object is not callable".

As described on 
http://moinmo.in/MoinMoinBugs/ExceptionRaisedAtPageLoading, this seems 
like a known upgrading "inconvenience" solved by cleaning the data 
cache, so I tried to use the "moin ... maint cleancache" command line.

I tried various --config-dir and/or --wiki-url values instead of "...", 
but I still get the following behavior:

    ...
    INFO MoinMoin.config.multiconfig:93 using farm config:
    /etc/moin/farmconfig.pyc
    ...
    MoinMoin.error.ConfigurationError:
    data_dir "/org/mywiki/data" does not exist, or has incorrect
    ownership or permissions.

All command line examples I find seem to be for CGI setups, but I am 
using the WSGI setup (one apache sites-enabled file for each wiki). I do 
not remember using the farmconfig facility.

So, can I use the "moin" command-line tool to clean data caches of WSGI 
MoinMoin wikis?

Regards,
Olivier.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20111120/e2b98b61/attachment.html>


More information about the Moin-user mailing list