|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Error in the Planet Gnome scriptsHey, guys,
So, this is the error I got from "update-planet people -v" when it got to Seif's feed (I ran that on www.gnome.org): INFO:planet.runner:Updating feed http://seilo.geekyogre.com/feed/atom ERROR:planet.runner:Error processing http://seilo.geekyogre.com/feed/atom ERROR:planet.runner:NameError: global name 'any' is not defined ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/spider.py", line 472, in spiderPlanet writeCache(uri, feed_info, data) ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/spider.py", line 166, in writeCache scrub.scrub(feed_uri, data) ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/scrub.py", line 136, in scrub doc = p.parseFragment(node.value, encoding='utf-8') ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/vendor/html5lib/html5parser.py", line 213, in parseFragment self._parse(stream, True, container=container, encoding=encoding) ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/vendor/html5lib/html5parser.py", line 94, in _parse self.mainLoop() ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/vendor/html5lib/html5parser.py", line 164, in mainLoop self.phase.processStartTag(token) ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/vendor/html5lib/html5parser.py", line 1712, in processStartTag self.flushCharacters() ERROR:planet.runner: File "/home/users/jdub/bin/venus/planet/vendor/html5lib/html5parser.py", line 1686, in flushCharacters if any([item not in spaceCharacters for item in data]): As far as I can tell, this is just that www.gnome.org has Python 2.4.3, and that doesn't have that any() function from the last line. I saw the same error happen for other feeds as well (jasondclinton, siegel, bani, msevior, etc.), so it's worthwhile to fix this. I have no clue about Python libraries and such... is there an html5lib that works with older Pythons, or can we update the Python version on www.g.o? Federico _______________________________________________ gnome-infrastructure mailing list gnome-infrastructure@... http://mail.gnome.org/mailman/listinfo/gnome-infrastructure |
|
|
Re: Error in the Planet Gnome scripts<quote who="Federico Mena Quintero">
> As far as I can tell, this is just that www.gnome.org has Python 2.4.3, > and that doesn't have that any() function from the last line. > > I saw the same error happen for other feeds as well (jasondclinton, > siegel, bani, msevior, etc.), so it's worthwhile to fix this. > > I have no clue about Python libraries and such... is there an html5lib > that works with older Pythons, or can we update the Python version on > www.g.o? Gah, didn't realise we were stuck on 2.4 -> I'll fix this up now. Thanks, - Jeff -- linux.conf.au 2010: Wellington, NZ http://www.lca2010.org.nz/ "You know, it's not that unusual, even in Hollywood, for brothers to work together. Heard of the Warner brothers?" - Ethan Coen _______________________________________________ gnome-infrastructure mailing list gnome-infrastructure@... http://mail.gnome.org/mailman/listinfo/gnome-infrastructure |
| Free embeddable forum powered by Nabble | Forum Help |