[moin-user] export to html

mariusz sapinski mariusz.sapinski at gmail.com
Fri Jan 10 05:50:31 EST 2020


Hello,

I run a standalone wiki (moin 1.9.9) and I have just moved it to another
ubuntu computer. All looks fine except that the command:

moin --config-dir=/home/me/wiki/config --wiki-url=localhost:8080/Machines/
export dump --page=HEST --target-dir=/home/me/HEST/html

gives now this error:

Writing "HEST/Areas"...
Traceback (most recent call last):
  File "/usr/bin/moin", line 5, in <module>
    run()
  File "/usr/lib/python2.7/dist-packages/MoinMoin/script/moin.py", line 15,
in run
    MoinScript().run(showtime=0)
  File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line
138, in run
    self.mainloop()
  File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line
266, in mainloop
    plugin_class(args[2:], self.options).run() # all starts again there
  File "/usr/lib/python2.7/dist-packages/MoinMoin/script/__init__.py", line
138, in run
    self.mainloop()
  File "/usr/lib/python2.7/dist-packages/MoinMoin/script/export/dump.py",
line 272, in mainloop
    _attachment(request, pagename, filename, outputdir, copy=True)
  File "/usr/lib/python2.7/dist-packages/MoinMoin/script/export/dump.py",
line 100, in _attachment
    script.log('Writing "%s" attachment "%s"...' % (pagename, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6:
ordinal not in range(128)

  There seems to be nothing wrong on the page where the script stops. Do
you have any suggestions - what should I look at?

     Best regards,  Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20200110/d03974e9/attachment.html>


More information about the moin-user mailing list