Hi! On Mon, Oct 07, 2019 at 08:16:16PM +0200, Chris Warrick wrote: > On 2019-10-07 09:41, Lars Bjørndal wrote: > > Hei! > > > > Tried to use the postcast plugin, but get the following error. Any ideas > > on how to fix? > > [snip very long log]
[...] > There was a minor bug in the plugin code, I fixed it. Please reinstall > the plugin (`nikola plugin -i postcast`) to get the updated version. Thank you! But I still get errors: Scanning posts......done! . postcast:output/casts/postcast.xml TaskError - taskid:postcast:output/casts/postcast.xml PythonAction Error Traceback (most recent call last): File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/doit/action.py", line 424, in execute returned_value = self.py_callable(*self.args, **kwargs) File "/srv/visioneers/plugins/postcast/postcast.py", line 127, in render_feed utils.rss_writer(rss_obj, output_path) File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/nikola/utils.py", line 1977, in rss_writer data = rss_obj.to_xml(encoding='utf-8') File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/PyRSS2Gen.py", line 39, in to_xml self.write_xml(f, encoding) File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/PyRSS2Gen.py", line 34, in write_xml self.publish(handler) File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/nikola/utils.py", line 1321, in publish super().publish(handler) File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/PyRSS2Gen.py", line 380, in publish item.publish(handler) File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/PyRSS2Gen.py", line 440, in publish self.enclosure.publish(handler) File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/PyRSS2Gen.py", line 224, in publish "type": self.type, File "/home/lrs/tmp/virtenv/lib/python3.7/site-packages/PyRSS2Gen.py", line 47, in _element handler.startElement(name, d) File "/usr/lib64/python3.7/xml/sax/saxutils.py", line 171, in startElement self._write(' %s=%s' % (name, quoteattr(value))) File "/usr/lib64/python3.7/xml/sax/saxutils.py", line 61, in quoteattr data = escape(data, entities) File "/usr/lib64/python3.7/xml/sax/saxutils.py", line 27, in escape data = data.replace("&", "&") AttributeError: 'NoneType' object has no attribute 'replace' ######################################## postcast:output/casts/postcast.xml <stdout>: Lars -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/20191007182234.GM9558%40lamasti.net.