[Moin-devel] moin_dump problem
Nick Trout
ntrout at rockstarvancouver.com
Fri Feb 7 17:10:17 EST 2003
> From: moin-devel-admin at lists.sourceforge.net
> [mailto:moin-devel-admin at lists.sourceforge.net] On Behalf Of
> Juergen Hermann
> Sent: February 7, 2003 3:23 PM
> To: moin-devel at lists.sourceforge.net; Nick Trout
> Subject: Re: [Moin-devel] moin_dump problem
>
>
> On Fri, 7 Feb 2003 15:11:04 -0800, Nick Trout wrote:
>
> >I think line 63 in MoinMoin/scripts/moin_dump.py wants changing from:
>
> You're alone with that thought. ;>
> Ciao, Jürgen
I must be doing something wrong then? I'm running the version from CVS.
If I go to moin\scripts and run:
moin-dump.bat --config c:\moin\mywiki static
I get "FATAL ERROR: You have to be in the directory containing
moin_config.py, or use the --config option!"
If I go to c:\moin\mywiki and run:
..\scripts\moin-dump static
I get:
"Needed 0.772 secs.
Traceback (most recent call last):
File "<string>", line 1, in ?
File "C:\Moin\Lib\site-packages\MoinMoin\scripts\moin_dump.py", line
170, in r
un
MoinDump().run()
File "C:\Moin\Lib\site-packages\MoinMoin\scripts\_util.py", line 98,
in run
self.mainloop()
File "C:\Moin\Lib\site-packages\MoinMoin\scripts\moin_dump.py", line
124, in m
ainloop
file = wikiutil.quoteFilename(pagename) + HTML_SUFFIX
File "C:\Moin\Lib\site-packages\MoinMoin\wikiutil.py", line 57, in
quoteFilena
me
res = list(filename)
TypeError: iteration over non-sequence"
because singlepage is "1" (ie. boolean, true). If line 63 is getattr,
singlepage has the value "None", which is correct and the wiki dumps
out.
If I'm doing something wrong please correct me, but I think thats a
mistake(?)
Regards,
Nick
More information about the Moin-devel
mailing list