https://bugzilla.novell.com/show_bug.cgi?id=679333 https://bugzilla.novell.com/show_bug.cgi?id=679333#c0 Summary: Python ConfigParser failed when read 'None' type which write by itself in d-feet Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: bili@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- I report a d-feet's bug in https://bugzilla.gnome.org/show_bug.cgi?id=644701. It was caused by the Python 2.7, when the value is None, the Configparser write the config file like below. $ cat ~/.d-feet/config [General] windowstate windowheight = 550 windowwidth = 900 bustabs_list = When d-feet restart it prompt below error. File "/usr/lib/python2.7/ConfigParser.py", line 297, in read self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 536, in _read raise e ConfigParser.ParsingError: File contains parsing errors: /home/charles/.d-feet/config [line 2]: 'windowstate\n' /usr/lib/python2.7/ConfigParser.py if key != "__name__": if value is None: fp.write("%s\n" % (key)) else: fp.write("%s = %s\n" % (key, str(value).replace('\n', '\n\t')) But in python2.6, the value will be set 'None' directly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.