From: SourceForge.net <no...@so...> - 2011-01-02 18:22:05
|
Bugs item #3149845, was opened at 2011-01-02 13:22 Message generated for change (Tracker Item Submitted) made by abadger1999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: docutils broken on python-3.2 due to configparser changes Initial Comment: Python-3.2 replaces ConfigParser with SafeConfigParser. One of the ramifications of this is that the code now checks that any value set() on ConfigParser is a string. This leads to tracebacks like this from running the unittests: ====================================================================== ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 156, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 104, in process_test settings_overrides=settings_overrides) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 393, in publish_string enable_exit_status=enable_exit_status) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 638, in publish_programmatically settings_spec, settings_overrides, config_section) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 139, in process_programmatic_settings **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 126, in get_settings usage, description, settings_spec, config_section, **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 113, in setup_option_parser usage=usage, description=description) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 534, in __init__ config_settings = self.get_standard_config_settings() File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 593, in get_standard_config_settings settings.update(self.get_config_file_settings(filename), self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 599, in get_config_file_settings parser.read(config_file, self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 714, in read self.validate_settings(filename, option_parser) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 757, in validate_settings self.set(section, setting, new_value) File "/usr/lib64/python3.2/configparser.py", line 1157, in set self._validate_value_types(option=option, value=value) File "/usr/lib64/python3.2/configparser.py", line 1146, in _validate_value_types raise TypeError("option values must be strings") TypeError: option values must be strings I'll attach the complete build log with all the tracebacks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 |
From: SourceForge.net <no...@so...> - 2011-01-02 22:45:38
|
Bugs item #3149845, was opened at 2011-01-02 18:22 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: docutils broken on python-3.2 due to configparser changes Initial Comment: Python-3.2 replaces ConfigParser with SafeConfigParser. One of the ramifications of this is that the code now checks that any value set() on ConfigParser is a string. This leads to tracebacks like this from running the unittests: ====================================================================== ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 156, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 104, in process_test settings_overrides=settings_overrides) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 393, in publish_string enable_exit_status=enable_exit_status) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 638, in publish_programmatically settings_spec, settings_overrides, config_section) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 139, in process_programmatic_settings **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 126, in get_settings usage, description, settings_spec, config_section, **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 113, in setup_option_parser usage=usage, description=description) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 534, in __init__ config_settings = self.get_standard_config_settings() File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 593, in get_standard_config_settings settings.update(self.get_config_file_settings(filename), self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 599, in get_config_file_settings parser.read(config_file, self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 714, in read self.validate_settings(filename, option_parser) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 757, in validate_settings self.set(section, setting, new_value) File "/usr/lib64/python3.2/configparser.py", line 1157, in set self._validate_value_types(option=option, value=value) File "/usr/lib64/python3.2/configparser.py", line 1146, in _validate_value_types raise TypeError("option values must be strings") TypeError: option values must be strings I'll attach the complete build log with all the tracebacks. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-01-02 22:45 Message: I'll forward this to the configparser maintainer, to clarify if this incompatibility is acceptable for 3.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 |
From: SourceForge.net <no...@so...> - 2011-02-11 18:50:54
|
Bugs item #3149845, was opened at 2011-01-02 13:22 Message generated for change (Comment added) made by abadger1999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: docutils broken on python-3.2 due to configparser changes Initial Comment: Python-3.2 replaces ConfigParser with SafeConfigParser. One of the ramifications of this is that the code now checks that any value set() on ConfigParser is a string. This leads to tracebacks like this from running the unittests: ====================================================================== ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 156, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 104, in process_test settings_overrides=settings_overrides) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 393, in publish_string enable_exit_status=enable_exit_status) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 638, in publish_programmatically settings_spec, settings_overrides, config_section) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 139, in process_programmatic_settings **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 126, in get_settings usage, description, settings_spec, config_section, **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 113, in setup_option_parser usage=usage, description=description) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 534, in __init__ config_settings = self.get_standard_config_settings() File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 593, in get_standard_config_settings settings.update(self.get_config_file_settings(filename), self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 599, in get_config_file_settings parser.read(config_file, self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 714, in read self.validate_settings(filename, option_parser) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 757, in validate_settings self.set(section, setting, new_value) File "/usr/lib64/python3.2/configparser.py", line 1157, in set self._validate_value_types(option=option, value=value) File "/usr/lib64/python3.2/configparser.py", line 1146, in _validate_value_types raise TypeError("option values must be strings") TypeError: option values must be strings I'll attach the complete build log with all the tracebacks. ---------------------------------------------------------------------- >Comment By: Toshio Kuratomi (abadger1999) Date: 2011-02-11 13:50 Message: Any word from the configparser maintainer? Seems like we've gotten late enough in the py-3.2 cycle that we might have a de facto answer.... ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-01-02 17:45 Message: I'll forward this to the configparser maintainer, to clarify if this incompatibility is acceptable for 3.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 |
From: SourceForge.net <no...@so...> - 2011-02-12 07:24:33
|
Bugs item #3149845, was opened at 2011-01-02 18:22 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: docutils broken on python-3.2 due to configparser changes Initial Comment: Python-3.2 replaces ConfigParser with SafeConfigParser. One of the ramifications of this is that the code now checks that any value set() on ConfigParser is a string. This leads to tracebacks like this from running the unittests: ====================================================================== ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 156, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 104, in process_test settings_overrides=settings_overrides) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 393, in publish_string enable_exit_status=enable_exit_status) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 638, in publish_programmatically settings_spec, settings_overrides, config_section) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 139, in process_programmatic_settings **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 126, in get_settings usage, description, settings_spec, config_section, **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 113, in setup_option_parser usage=usage, description=description) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 534, in __init__ config_settings = self.get_standard_config_settings() File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 593, in get_standard_config_settings settings.update(self.get_config_file_settings(filename), self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 599, in get_config_file_settings parser.read(config_file, self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 714, in read self.validate_settings(filename, option_parser) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 757, in validate_settings self.set(section, setting, new_value) File "/usr/lib64/python3.2/configparser.py", line 1157, in set self._validate_value_types(option=option, value=value) File "/usr/lib64/python3.2/configparser.py", line 1146, in _validate_value_types raise TypeError("option values must be strings") TypeError: option values must be strings I'll attach the complete build log with all the tracebacks. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-02-12 07:24 Message: I had spoken with him and he wanted to add his feedback himself; the gist of it was that he considers storing non-strings an abuse of the configparser. ---------------------------------------------------------------------- Comment By: Toshio Kuratomi (abadger1999) Date: 2011-02-11 18:50 Message: Any word from the configparser maintainer? Seems like we've gotten late enough in the py-3.2 cycle that we might have a de facto answer.... ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-01-02 22:45 Message: I'll forward this to the configparser maintainer, to clarify if this incompatibility is acceptable for 3.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 |
From: SourceForge.net <no...@so...> - 2011-04-04 16:11:40
|
Bugs item #3149845, was opened at 2011-01-02 13:22 Message generated for change (Comment added) made by abadger1999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: docutils broken on python-3.2 due to configparser changes Initial Comment: Python-3.2 replaces ConfigParser with SafeConfigParser. One of the ramifications of this is that the code now checks that any value set() on ConfigParser is a string. This leads to tracebacks like this from running the unittests: ====================================================================== ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 156, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 104, in process_test settings_overrides=settings_overrides) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 393, in publish_string enable_exit_status=enable_exit_status) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 638, in publish_programmatically settings_spec, settings_overrides, config_section) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 139, in process_programmatic_settings **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 126, in get_settings usage, description, settings_spec, config_section, **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 113, in setup_option_parser usage=usage, description=description) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 534, in __init__ config_settings = self.get_standard_config_settings() File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 593, in get_standard_config_settings settings.update(self.get_config_file_settings(filename), self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 599, in get_config_file_settings parser.read(config_file, self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 714, in read self.validate_settings(filename, option_parser) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 757, in validate_settings self.set(section, setting, new_value) File "/usr/lib64/python3.2/configparser.py", line 1157, in set self._validate_value_types(option=option, value=value) File "/usr/lib64/python3.2/configparser.py", line 1146, in _validate_value_types raise TypeError("option values must be strings") TypeError: option values must be strings I'll attach the complete build log with all the tracebacks. ---------------------------------------------------------------------- >Comment By: Toshio Kuratomi (abadger1999) Date: 2011-04-04 12:11 Message: I've tried this patch to workaround the configparser changes. It's... not ideal because it simply ports to using RawConfigParser (which accepts non-strings) rather than changing docutils to use string values everywhere. This gets me to a new error in Elementtree which I'm trying to diagnose -- will open a new bug on that after we get something. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-02-12 02:24 Message: I had spoken with him and he wanted to add his feedback himself; the gist of it was that he considers storing non-strings an abuse of the configparser. ---------------------------------------------------------------------- Comment By: Toshio Kuratomi (abadger1999) Date: 2011-02-11 13:50 Message: Any word from the configparser maintainer? Seems like we've gotten late enough in the py-3.2 cycle that we might have a de facto answer.... ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-01-02 17:45 Message: I'll forward this to the configparser maintainer, to clarify if this incompatibility is acceptable for 3.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 |
From: SourceForge.net <no...@so...> - 2011-05-06 16:02:26
|
Bugs item #3149845, was opened at 2011-01-02 18:22 Message generated for change (Comment added) made by milde You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: docutils broken on python-3.2 due to configparser changes Initial Comment: Python-3.2 replaces ConfigParser with SafeConfigParser. One of the ramifications of this is that the code now checks that any value set() on ConfigParser is a string. This leads to tracebacks like this from running the unittests: ====================================================================== ERROR: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 156, in test_odt_tables1 self.process_test('odt_tables1.txt', 'odt_tables1.odt', File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/test/test_writers/test_odt.py", line 104, in process_test settings_overrides=settings_overrides) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 393, in publish_string enable_exit_status=enable_exit_status) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 638, in publish_programmatically settings_spec, settings_overrides, config_section) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 139, in process_programmatic_settings **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 126, in get_settings usage, description, settings_spec, config_section, **defaults) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/core.py", line 113, in setup_option_parser usage=usage, description=description) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 534, in __init__ config_settings = self.get_standard_config_settings() File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 593, in get_standard_config_settings settings.update(self.get_config_file_settings(filename), self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 599, in get_config_file_settings parser.read(config_file, self) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 714, in read self.validate_settings(filename, option_parser) File "/builddir/build/BUILD/python3-python-docutils-0.7-3.fc15/docutils/frontend.py", line 757, in validate_settings self.set(section, setting, new_value) File "/usr/lib64/python3.2/configparser.py", line 1157, in set self._validate_value_types(option=option, value=value) File "/usr/lib64/python3.2/configparser.py", line 1146, in _validate_value_types raise TypeError("option values must be strings") TypeError: option values must be strings I'll attach the complete build log with all the tracebacks. ---------------------------------------------------------------------- Comment By: Günter Milde (milde) Date: 2011-05-06 16:02 Message: Fixed; thanks for the bug report. You can download a current snapshot from: http://docutils.sf.net/docutils-snapshot.tgz ---------------------------------------------------------------------- Comment By: Toshio Kuratomi (abadger1999) Date: 2011-04-04 16:11 Message: I've tried this patch to workaround the configparser changes. It's... not ideal because it simply ports to using RawConfigParser (which accepts non-strings) rather than changing docutils to use string values everywhere. This gets me to a new error in Elementtree which I'm trying to diagnose -- will open a new bug on that after we get something. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-02-12 07:24 Message: I had spoken with him and he wanted to add his feedback himself; the gist of it was that he considers storing non-strings an abuse of the configparser. ---------------------------------------------------------------------- Comment By: Toshio Kuratomi (abadger1999) Date: 2011-02-11 18:50 Message: Any word from the configparser maintainer? Seems like we've gotten late enough in the py-3.2 cycle that we might have a de facto answer.... ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2011-01-02 22:45 Message: I'll forward this to the configparser maintainer, to clarify if this incompatibility is acceptable for 3.2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3149845&group_id=38414 |