<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div>
<div>I have tried to convert my MoinMoin wiki v.1.9.9 to dokuwiki.</div>
<div>There is a converter program available, but it does not work.<br/>
Reference: https://github.com/glensc/moin2doku</div>
<div>Unfortunately the author no longer want to give support.</div>
<div> </div>
<div>In order to **make testing easier** I replaced in file moin2doku.py<br/>
line 243<br/>
opts, args = getopt.getopt(sys.argv[1:], 'hfad:p:r:i:I:', [ "help" ])<br/>
with<br/>
sys.argv[1:] = "-F wiki/data/pages/FrontPage" # RR "single page" parameter<br/>
sys.argv[2:] = "-d out"</div>
<div> </div>
<div>Unfortunately there is a **namespace problem**.</div>
<div> </div>
<div>What I did to make it run:<br/>
Copy the moin2doku files into the moinmoin installation.</div>
<div>I set all files to owner www-data:www-data<br/>
Start moin2doku.py:<br/>
**$ sudo python2 moin2doku.py**</div>
<div> </div>
<div>--- changes in moin2doku.py, use tabs only !</div>
<div> </div>
<div>When you start moim2doku.py , you get an error in file MoinMoin/user.py line 27</div>
<div> import md5crypt</div>
<div> </div>
<div>**ImportError**: no module named md5crypt<br/>
Path: MoinMoin/support/md5crypt.py</div>
<div> </div>
<div>When you change line 27 from:<br/>
import md5crypt<br/>
to:<br/>
import support.md5crypt</div>
<div><br/>
This error is gone, but then comes the next namespace error.</div>
<div> </div>
<div>But the next import fails, and I did not found a solution.<br/>
user.py line 38<br/>
MoinMoin/util/filesystem.py<br/>
module line 33: support.werkzeug.posixemulationn # support added<br/>
./MoinMoin/support/werkzeug/posixemulation.py</div>
<div> </div>
<div>I am still searching how to **fix the namespace error**.</div>
<div> </div>
<div>It would be very nice if someone with more knowledge could help me please.</div>
<div>Regards, Rudi</div>
<div> </div></div></body></html>