Dear moin-devel, I had to make a one line hack to CreatePdfDocument.py to get it working on my web server. I think it is of generic use so am sharing it here as I can't edit the documentation page: http://moinmo.in/ActionMarket/PdfAction Here is the patch that got this remarkable plugin working for me. ====================================== #diff -uNr old/CreatePdfDocument.py new/CreatePdfDocument.py --- old/CreatePdfDocument.py 2019-01-28 15:48:17.697291901 +0000 +++ new/CreatePdfDocument.py 2019-01-28 17:54:05.053729204 +0000 @@ -1785,7 +1785,7 @@ htmldocopts = [self.default_values['htmldoc_cmd'], u'--no-duplex'] + self.default_values['htmldoc_options'] for k,v in self.get_session_cookies().items(): - htmldocopts += ['--cookies', "%s=%s" % (k,v)] + htmldocopts += ['--cookies', "'%s=%s'" % (k,v)] for key in [u'header', u'footer', u'tocheader', u'tocfooter']: self.values[key] = self.values.get(key + u'left', u'.') + self.values.get(key + u'middle', u'.') + self.values.get(key + u'right', u'.') ================================= Regards Alex Owen -- Private web search without a filter bubble: https://duckduckgo.com/ https://ixquick.com/
participants (1)
-
Alex Owen