Chinese planet wikimedia ( http://zh.planet.wikimedia.org/ ) can't add new feed.
I'm add 2 blog feed on rev 97598, but zh.planet.wikimedia.org not update.
Why?
Version: unspecified
Severity: normal
URL: http://zh.planet.wikimedia.org/
Chinese planet wikimedia ( http://zh.planet.wikimedia.org/ ) can't add new feed.
I'm add 2 blog feed on rev 97598, but zh.planet.wikimedia.org not update.
Why?
Version: unspecified
Severity: normal
URL: http://zh.planet.wikimedia.org/
Failing to update usually means either bad format in the config file (looks ok offhand) or one of the feeds is bogus and planet is erroring out before it finishes running.
Need someone to check it manually and see if errors are being output.
I've filed an internal RT ticket for ops to take a peek: http://rt.wikimedia.org/Ticket/Display.html?id=1557
Two bad feeds were commented out from the config file in r97885 ... per the zh.planet.wikimedia.org output though it hasn't been run since 2011-9-20 06:17 AM ...
(In reply to comment #4)
Two bad feeds were commented out from the config file in r97885 ... per the
zh.planet.wikimedia.org output though it hasn't been run since 2011-9-20 06:17
AM ...
r97885 not accepted....2 bad feeds not removed.
(In reply to comment #5)
(In reply to comment #4)
Two bad feeds were commented out from the config file in r97885 ... per the
zh.planet.wikimedia.org output though it hasn't been run since 2011-9-20 06:17
AM ...r97885 not accepted....2 bad feeds not removed.
2 bad feeds have remoced in .ini, but still can't update....
Updates from the RT ticket:
Tue Oct 04 19:58:03 2011 Daniel Zahn - Comments added
/usr/local/planet/planet.py /usr/local/planet/wikimedia/zh/config.ini
Traceback (most recent call last):
File "/usr/local/planet/planet.py", line 167, in <module> main() File "/usr/local/planet/planet.py", line 78, in main config.read(config_file) File "/usr/lib/python2.5/ConfigParser.py", line 267, in read self._read(fp, filename) File "/usr/lib/python2.5/ConfigParser.py", line 462, in _read raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /usr/local/planet/wikimedia/zh/config.ini, line: 1
'\xef\xbb\xbf# Planet configuration file - zh.planet.wikimedia.org\n'
UTF-8 byte order mark (BOM) in the config.ini of zh makes planet think there is no section header?!
'\xef\xbb\xbf# Planet configuration file - zh.planet.wikimedia.org\n'
str_replace("\xef\xbb\xbf", '',?
Yep, removed the BOM with
sed '1 s/\xEF\xBB\xBF//' < config.ini > config.new
and it updated again.
Well, now at 09-25: http://zh.planet.wikimedia.org/
(a couple feed sources still fail with : "AttributeError: object has no attribute 'type'" though)
Thanks Daniel!