https://bugzilla.wikimedia.org/show_bug.cgi?id=31086
Brion Vibber <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Brion Vibber <[email protected]> 2011-10-04 20:32:02 UTC --- 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' # Tue Oct 04 20:14:08 2011 Daniel Zahn - Comments added 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", '',? # Tue Oct 04 20:18:53 2011 Daniel Zahn - Comments added 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) # Tue Oct 04 20:18:53 2011 Daniel Zahn - Status changed from 'open' to 'resolved' Thanks Daniel! -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
