[Systems] sunjammer hourly cron failing to update http://planet.laptop.org ?

James Cameron quozl at laptop.org
Sun Feb 28 18:28:18 EST 2016


@Adam, stop being so nasty.

@Bernie, thanks for fixing it.

On Sun, Feb 28, 2016 at 02:10:57PM -0500, Adam Holt wrote:
> Wow.
> 
> NN should personally pay you $1million to protect his good (domain) name, heh!
> 
> (Whether or not he cares about the children-of-OLPC communities/volunteers
> exchanging notes on these planets, summarizing their evolving methods..)
> 
> On Sun, Feb 28, 2016 at 1:49 PM, Bernie Innocenti <[1]bernie at codewiz.org>
> wrote:
> 
>     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 [2]planet.laptop.org and [3]planet.sugarlabs.org. I
>     also updated all the wordpress feeds to use https instead of http.
> 
>     (1) [4]https://github.com/rubys/venus
>     (2) [5]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
>     > <[6]http://gettys.wordpress.com/feed/> to <[7]https://
>     gettys.wordpress.com/feed/>
>     > ERROR:planet.runner:Error processing [8]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
>     > <[9]http://blog.printf.net/xml/rss20/feed.xml> to
>     > <[10]http://blog.printf.net/feed/>
>     > ERROR:planet.runner:Error processing
>     > [11]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
>     > [12]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
>     > <[13]http://jeromegagnonvoyer.wordpress.com/category/olpc/feed/> to
>     > <[14]https://jeromegagnonvoyer.wordpress.com/category/olpc/feed/>
>     > ERROR:planet.runner:Error processing
>     > [15]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
>     > [16]Systems at lists.sugarlabs.org
>     > [17]http://lists.sugarlabs.org/listinfo/systems
>     >
>    
> 
>     --
>      _ // Bernie Innocenti
>      \X/  [18]http://codewiz.org
> 
>     --
>     [19]
>     [20]Unsung Heroes of OLPC, interviewed live @ [21]http://unleashkids.org !
> 
> References:
> 
> [1] mailto:bernie at codewiz.org
> [2] http://planet.laptop.org/
> [3] http://planet.sugarlabs.org/
> [4] https://github.com/rubys/venus
> [5] https://launchpad.net/ubuntu/+source/planet-venus
> [6] http://gettys.wordpress.com/feed/
> [7] https://gettys.wordpress.com/feed/
> [8] http://gettys.wordpress.com/feed/
> [9] http://blog.printf.net/xml/rss20/feed.xml
> [10] http://blog.printf.net/feed/
> [11] http://blog.printf.net/xml/rss20/feed.xml
> [12] http://www.advogato.org/person/dwmw2/rss.xml
> [13] http://jeromegagnonvoyer.wordpress.com/category/olpc/feed/
> [14] https://jeromegagnonvoyer.wordpress.com/category/olpc/feed/
> [15] http://jeromegagnonvoyer.wordpress.com/category/olpc/feed/
> [16] mailto:Systems at lists.sugarlabs.org
> [17] http://lists.sugarlabs.org/listinfo/systems
> [18] http://codewiz.org/
> [19] http://codewiz.org/
> [20] http://codewiz.org/
> [21] http://unleashkids.org/

> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems


-- 
James Cameron
http://quozl.netrek.org/


More information about the Systems mailing list