Description

The moin_dump.py script reports an error when trying to run in on OS X. The error it reports is:

ImportError: cannot import name multiconfig

Steps to reproduce

  1. First I moved to the correct directory, which is /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/scripts (trying to run moin_dump from anywhere else results in a python: can't open file 'moin_dump.py' error)

  2. Then i run python moin_dump.py --config='/usr/local/share/moin/devwiki/wikiconfig.py' ~/Desktop/moin-export

  3. I get the following error spat out {{{Needed 0.030 secs.

Traceback (most recent call last):

ImportError: cannot import name multiconfig}}}

  1. I have tried variations with different values for --config and also --wiki, but i get the same error each time (so long as i have a valid path for --config)

Example

Details

MoinMoin Version

1.3.4

OS and Version

Mac OS X 10.3.9

Python Version

2.3

Server Setup

Default Apache Server that comes with OS X (with php added)

Server Details

?

Workaround

Discussion

The problem is a call to os.chdir() to the configuration directory, which is not needed.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/MoinDumpOnMac (last edited 2007-10-29 19:08:34 by localhost)