Why things break

2004 December 12
by Cesar Cardoso

Alguém tem uma boa explicação porque, toda vez que eu seto o WordPress para exportar todo o conteúdo via RSS, o Planet quebra com o seguinte erro?

ERROR:root:Update from failed
Traceback (most recent call last):
File "planet.py", line 134, in ?
channel.update()
File "/home/cesar/planeta/planetlib.py", line 184, in update
self._update(baseuri, data)
File "/home/cesar/planeta/planetlib.py", line 288, in _update
feed.feed(data)
File "/usr/src/build/475206-i386/install/usr/lib/python2.3/sgmllib.py", line 95, in feed
self.goahead(0)
File "/usr/src/build/475206-i386/install/usr/lib/python2.3/sgmllib.py", line 134, in goahead
k = self.parse_endtag(i)
File "/usr/src/build/475206-i386/install/usr/lib/python2.3/sgmllib.py", line 293, in parse_endtag
self.finish_endtag(tag)
File "/usr/src/build/475206-i386/install/usr/lib/python2.3/sgmllib.py", line 333, in finish_endtag
self.unknown_endtag(tag)
File "/home/cesar/planeta/feedparser.py", line 358, in unknown_endtag
method()
File "/home/cesar/planeta/feedparser.py", line 778, in _end_content
value = self.pop('content')
File "/home/cesar/planeta/feedparser.py", line 480, in pop
output = resolveRelativeURIs(output, self.baseuri)
File "/home/cesar/planeta/feedparser.py", line 897, in resolveRelativeURIs
data = p.output()
File "/home/cesar/planeta/feedparser.py", line 853, in output
return "".join(self.pieces)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Ah saco…

Related posts

Comments are closed for this entry.