On Mon, 2011-08-08 at 18:09 -0400, Peter Olsen wrote:
> I explicitly set the config director, but cleancache still bombs
> 
> n2ell:bin pcolsen$ ./moin
> -config-dir=/Volumes/OLSEN_PERS3/Wiki/moin-1.8.4 maint cleancache
> Traceback (most recent call last):
>   File "./moin", line 5, in <module>
>     from MoinMoin.script.moin import run
> ImportError: No module named MoinMoin.script.moin
> n2ell:bin pcolsen$ ls /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py
> /Volumes/OLSEN_PERS3/Wiki/moin-1.8.4/wikiconfig.py
> n2ell:bin pcolsen$
> 

I see 2 issues there:

a) it is --config-dir (2 times minus char)

b) you have an ImportError, that means moin script does not find the
MoinMoin python code

This should usually work if you are working from the directory that
contains the MoinMoin directory. alternatively you can fix the
PYTHONPATH / sys.path in the moin script.



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to