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