[Moin-user] Dump content of single instance of MoinMoin
Peter Gylling Jørgensen
Peg at frv.dk
Mon Sep 4 11:03:45 EDT 2006
Thank you for the quick answer.
Can you be a little more specific as I have to translate the commandline into something usefull on a linux box.
Below you will find the responce I got from the moin.py script. As I have no prior experience with python, please point out, what it exactly is complaining about.
COMMAND:
peg at server.frv.dk> python /usr/lib/python2.3/site-packages/MoinMoin/script/moin.py \
--config-dir=/usr/local/moin-1.5.3/share/moin/SeatrackProject \
--wiki-url=server.frv.dk/SeatrackProject/ export dump
ERROR:
Traceback (most recent call last):
File "moin.py", line 22, in ?
run()
File "moin.py", line 15, in run
_util.MoinScript().run(showtime=0)
File "/usr/local/moin-1.5.3/lib/python2.3/site-packages/MoinMoin/script/_util.py", line 82, in run
self.mainloop()
File "/usr/local/moin-1.5.3/lib/python2.3/site-packages/MoinMoin/script/_util.py", line 141, in mainloop
plugin_class(args[2:], self.options).run() # all starts again there
File "/usr/local/moin-1.5.3/lib/python2.3/site-packages/MoinMoin/script/_util.py", line 82, in run
self.mainloop()
File "/usr/local/moin-1.5.3/lib/python2.3/site-packages/MoinMoin/script/export/dump.py", line 91, in mainloop
outputdir = os.path.abspath(self.options.target_dir)
File "/usr/lib/python2.3/posixpath.py", line 395, in abspath
if not isabs(path):
File "/usr/lib/python2.3/posixpath.py", line 49, in isabs
return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
\pgj
> -----Oprindelig meddelelse-----
> Fra: Roger Haase [mailto:crosseyedpenguin at yahoo.com]
> Sendt: 4. september 2006 16:37
> Til: Peter Gylling Jørgensen; moin-user at lists.sourceforge.net
> Emne: Re: [Moin-user] Dump content of single instance of MoinMoin
>
>
>
> --- Peter Gylling Jørgensen <Peg at frv.dk> wrote:
>
> > Dear all,
> >
> > How do I as simple as possible export or dump the content of a
> > MoinMoin instance to static html.
> >
> > I have searched the user mail list archives and found some more og
> > less usefull hints, but common for all is references to differnt
> > tool, which I haven't access to (ie. moin_dump.py)
> >
> > We are running version 1.5.3.
> >
> >
>
> It was renamed to dump.py in \script\export\, but you now execute
> moin.py in \script\. On Windows, moin.py is located in:
> Pythonxx\Lib\site-packages\MoinMoin\script\
>
> A sample Windows command to dump everything (note this single line
> wraps):
>
> python \python24\lib\site-packages\moinmoin\script\moin.py
> --config-dir=c:\Moin\mywiki --wiki-url=myorg.org/drawiki/ export dump
>
> Roger Haase
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
More information about the Moin-user
mailing list