[Moin-user] moin_dump.py problems on a mac

Adam Hoyle adam-moin at suckmypixel.com
Thu Jun 16 01:30:58 EDT 2005


Hello,

I am using a mac, and have a local install of moin moin (running  
through apache), although I have no python knowledge.

I would like to export some of my moin moin pages as html. I've seen  
that moin_dump should suit my purposes, but it keeps spitting out an  
error message that i don't understand.

I moved to this directory in the terminal:
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
site-packages/MoinMoin/scripts

and ran this:
python moin_dump.py --config='/usr/local/share/moin/devwiki/'  
~/Desktop/moin-export

it said...

Created output directory '/Users/adamhoyle/Desktop/moin-export'!
Needed 0.030 secs.
Traceback (most recent call last):
   File "/Library/Python/2.3/MoinMoin/scripts/moin_dump.py", line 183,  
in ?
     run()
   File "/Library/Python/2.3/MoinMoin/scripts/moin_dump.py", line 180,  
in run
     MoinDump().run()
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/site-packages/MoinMoin/scripts/_util.py", line 87, in run
     self.mainloop()
   File "/Library/Python/2.3/MoinMoin/scripts/moin_dump.py", line 104,  
in mainloop
     request = RequestCLI(self.options.wiki_url)
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/site-packages/MoinMoin/request.py", line 1381, in __init__
     RequestBase.__init__(self, properties)
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/site-packages/MoinMoin/request.py", line 86, in __init__
     self._load_multi_cfg()
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/site-packages/MoinMoin/request.py", line 154, in  
_load_multi_cfg
     from MoinMoin import multiconfig
ImportError: cannot import name multiconfig

I've checked, and 'multiconfig.py' exists, so I am a little confused by  
the error message. Does anyone have any idea what I am doing wrong and  
how i can get this to work?

Regards,

Adam





More information about the Moin-user mailing list