[Systems] sunjammer hourly cron failing to update http://planet.laptop.org ?
Bernie Innocenti
bernie at codewiz.org
Sun Feb 28 13:49:31 EST 2016
Looks like package updates in Ubuntu 14.04 broke the ancient
planet-venus package and nobody noticed.
Luckily for us, someone forked Planet Venus on Github (1) and the
updated version got packaged for Ubuntu 14.10 (2). I tried updating to
this newer package and, woah, it works!!
So this should fix both planet.laptop.org and planet.sugarlabs.org. I
also updated all the wordpress feeds to use https instead of http.
(1) https://github.com/rubys/venus
(2) https://launchpad.net/ubuntu/+source/planet-venus
On 26/02/16 14:53, Adam Holt wrote:
> username olpcplanet seems to be no longer running "/usr/bin/planet
> /srv/www-laptop/planet/config.ini" every hour as it did up to about
> early/mid February.
>
> Any ideas? Sample errors at bottom.
>
> Thanks!!
>
> olpcplanet at sunjammer:~$ planet config.ini
> WARNING:planet.runner:Feed has moved from
> <http://gettys.wordpress.com/feed/> to <https://gettys.wordpress.com/feed/>
> ERROR:planet.runner:Error processing http://gettys.wordpress.com/feed/
> ERROR:planet.runner:AttributeError: 'module' object has no attribute
> 'XHTMLSerializer'
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 472, in spiderPlanet
> writeCache(uri, feed_info, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 166, in writeCache
> scrub.scrub(feed_uri, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/scrub.py", line 137, in scrub
> xhtml = serializer.XHTMLSerializer(inject_meta_charset = False)
> WARNING:planet.runner:Feed has moved from
> <http://blog.printf.net/xml/rss20/feed.xml> to
> <http://blog.printf.net/feed/>
> ERROR:planet.runner:Error processing
> http://blog.printf.net/xml/rss20/feed.xml
> ERROR:planet.runner:AttributeError: 'module' object has no attribute
> 'XHTMLSerializer'
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 472, in spiderPlanet
> writeCache(uri, feed_info, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 166, in writeCache
> scrub.scrub(feed_uri, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/scrub.py", line 137, in scrub
> xhtml = serializer.XHTMLSerializer(inject_meta_charset = False)
> ERROR:planet.runner:Error processing
> http://www.advogato.org/person/dwmw2/rss.xml
> ERROR:planet.runner:AttributeError: 'module' object has no attribute
> 'XHTMLSerializer'
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 472, in spiderPlanet
> writeCache(uri, feed_info, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 166, in writeCache
> scrub.scrub(feed_uri, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/scrub.py", line 137, in scrub
> xhtml = serializer.XHTMLSerializer(inject_meta_charset = False)
>
> <20 pages snipped>
>
> ERROR:planet.runner:AttributeError: 'module' object has no attribute
> 'TreeBuilder'
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 472, in spiderPlanet
> writeCache(uri, feed_info, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 279, in writeCache
>
> reconstitute.source(xdoc.documentElement,data.feed,data.bozo,data.version)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/reconstitute.py", line 231, in source
> content(xsource, 'subtitle', source.get('subtitle_detail',None), bozo)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/reconstitute.py", line 167, in content
> parser = html5parser.HTMLParser(tree=dom.TreeBuilder)
> WARNING:planet.runner:Feed has moved from
> <http://jeromegagnonvoyer.wordpress.com/category/olpc/feed/> to
> <https://jeromegagnonvoyer.wordpress.com/category/olpc/feed/>
> ERROR:planet.runner:Error processing
> http://jeromegagnonvoyer.wordpress.com/category/olpc/feed/
> ERROR:planet.runner:AttributeError: 'module' object has no attribute
> 'XHTMLSerializer'
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 472, in spiderPlanet
> writeCache(uri, feed_info, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/spider.py", line 166, in writeCache
> scrub.scrub(feed_uri, data)
> ERROR:planet.runner: File
> "/usr/lib/pymodules/python2.7/planet/scrub.py", line 137, in scrub
> xhtml = serializer.XHTMLSerializer(inject_meta_charset = False)
> Traceback (most recent call last):
> File "/usr/bin/planet", line 137, in <module>
> doc = splice.splice()
> File "/usr/lib/pymodules/python2.7/planet/splice.py", line 63, in splice
> reconstitute.source(xdoc.documentElement, data.feed, None, None)
> File "/usr/lib/pymodules/python2.7/planet/reconstitute.py", line 231,
> in source
> content(xsource, 'subtitle', source.get('subtitle_detail',None), bozo)
> File "/usr/lib/pymodules/python2.7/planet/reconstitute.py", line 167,
> in content
> parser = html5parser.HTMLParser(tree=dom.TreeBuilder)
> AttributeError: 'module' object has no attribute 'TreeBuilder'
> 1!olpcplanet at sunjammer:~$
>
>
> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
>
--
_ // Bernie Innocenti
\X/ http://codewiz.org
More information about the Systems
mailing list