You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(27) |
Jun
(22) |
Jul
(72) |
Aug
(82) |
Sep
(86) |
Oct
(138) |
Nov
(100) |
Dec
(62) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(122) |
Feb
(147) |
Mar
(92) |
Apr
(82) |
May
(101) |
Jun
(153) |
Jul
(37) |
Aug
(34) |
Sep
(46) |
Oct
(46) |
Nov
(6) |
Dec
(38) |
2004 |
Jan
(64) |
Feb
(81) |
Mar
(36) |
Apr
(194) |
May
(329) |
Jun
(272) |
Jul
(68) |
Aug
(74) |
Sep
(150) |
Oct
(57) |
Nov
(62) |
Dec
(63) |
2005 |
Jan
(78) |
Feb
(30) |
Mar
(137) |
Apr
(78) |
May
(54) |
Jun
(122) |
Jul
(72) |
Aug
(110) |
Sep
(80) |
Oct
(75) |
Nov
(125) |
Dec
(79) |
2006 |
Jan
(100) |
Feb
(15) |
Mar
(41) |
Apr
(67) |
May
(30) |
Jun
(11) |
Jul
(14) |
Aug
(22) |
Sep
(20) |
Oct
(14) |
Nov
(11) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(16) |
Mar
(35) |
Apr
(21) |
May
(33) |
Jun
(50) |
Jul
(12) |
Aug
(7) |
Sep
(2) |
Oct
(6) |
Nov
(5) |
Dec
(2) |
2008 |
Jan
(14) |
Feb
(20) |
Mar
(35) |
Apr
(9) |
May
(57) |
Jun
(21) |
Jul
(42) |
Aug
(4) |
Sep
(13) |
Oct
(76) |
Nov
(40) |
Dec
(55) |
2009 |
Jan
(26) |
Feb
(15) |
Mar
(3) |
Apr
(67) |
May
(32) |
Jun
(39) |
Jul
(59) |
Aug
(31) |
Sep
(59) |
Oct
(64) |
Nov
(21) |
Dec
(10) |
2010 |
Jan
(21) |
Feb
(3) |
Mar
(116) |
Apr
(33) |
May
(9) |
Jun
(28) |
Jul
(21) |
Aug
(23) |
Sep
(146) |
Oct
(70) |
Nov
(31) |
Dec
(57) |
2011 |
Jan
(33) |
Feb
(22) |
Mar
(11) |
Apr
(21) |
May
(51) |
Jun
(47) |
Jul
(35) |
Aug
(26) |
Sep
(25) |
Oct
(34) |
Nov
(61) |
Dec
(51) |
2012 |
Jan
(75) |
Feb
(31) |
Mar
(26) |
Apr
(16) |
May
(24) |
Jun
(24) |
Jul
(31) |
Aug
(46) |
Sep
(36) |
Oct
(28) |
Nov
(37) |
Dec
(21) |
2013 |
Jan
(16) |
Feb
(56) |
Mar
(31) |
Apr
(44) |
May
(45) |
Jun
(29) |
Jul
(38) |
Aug
(18) |
Sep
(12) |
Oct
(16) |
Nov
(21) |
Dec
(11) |
2014 |
Jan
(13) |
Feb
(14) |
Mar
(28) |
Apr
(7) |
May
(72) |
Jun
(33) |
Jul
(21) |
Aug
(1) |
Sep
(6) |
Oct
(14) |
Nov
(18) |
Dec
(22) |
2015 |
Jan
(23) |
Feb
(108) |
Mar
(76) |
Apr
(114) |
May
(60) |
Jun
(9) |
Jul
(8) |
Aug
(9) |
Sep
(42) |
Oct
(9) |
Nov
|
Dec
(7) |
2016 |
Jan
(6) |
Feb
(15) |
Mar
(7) |
Apr
|
May
(33) |
Jun
(3) |
Jul
(19) |
Aug
(12) |
Sep
(6) |
Oct
(16) |
Nov
(17) |
Dec
(125) |
2017 |
Jan
(66) |
Feb
(98) |
Mar
(29) |
Apr
(32) |
May
(63) |
Jun
(98) |
Jul
(26) |
Aug
(33) |
Sep
(19) |
Oct
(77) |
Nov
(31) |
Dec
(27) |
2018 |
Jan
(32) |
Feb
(11) |
Mar
(5) |
Apr
(12) |
May
(4) |
Jun
(9) |
Jul
(9) |
Aug
(13) |
Sep
(11) |
Oct
(6) |
Nov
(23) |
Dec
(2) |
2019 |
Jan
(26) |
Feb
(12) |
Mar
(20) |
Apr
(18) |
May
(7) |
Jun
(22) |
Jul
(81) |
Aug
(129) |
Sep
(32) |
Oct
(18) |
Nov
(11) |
Dec
(44) |
2020 |
Jan
(19) |
Feb
(10) |
Mar
(38) |
Apr
(4) |
May
(9) |
Jun
(15) |
Jul
(29) |
Aug
(79) |
Sep
(12) |
Oct
(22) |
Nov
(10) |
Dec
(37) |
2021 |
Jan
(16) |
Feb
(14) |
Mar
(20) |
Apr
(100) |
May
(21) |
Jun
(19) |
Jul
(13) |
Aug
(13) |
Sep
(37) |
Oct
(112) |
Nov
(64) |
Dec
(22) |
2022 |
Jan
(209) |
Feb
(38) |
Mar
(11) |
Apr
(10) |
May
(55) |
Jun
(104) |
Jul
(35) |
Aug
(10) |
Sep
(21) |
Oct
(21) |
Nov
(50) |
Dec
(12) |
2023 |
Jan
(6) |
Feb
|
Mar
(3) |
Apr
(41) |
May
(48) |
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(3) |
Oct
(22) |
Nov
(56) |
Dec
(12) |
2024 |
Jan
(5) |
Feb
(5) |
Mar
(38) |
Apr
(62) |
May
(12) |
Jun
(10) |
Jul
(3) |
Aug
(59) |
Sep
(2) |
Oct
(36) |
Nov
(14) |
Dec
(3) |
2025 |
Jan
(5) |
Feb
(19) |
Mar
(7) |
Apr
(65) |
May
(11) |
Jun
(13) |
Jul
(46) |
Aug
(17) |
Sep
|
Oct
|
Nov
|
Dec
|
From: PotentialUser-54 <pot...@us...> - 2021-11-21 22:12:47
|
You should specify that the user need to replace -3.9 with their Python version, too. --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Sun Nov 21, 2021 10:11 PM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: PotentialUser-54 <pot...@us...> - 2021-11-21 22:11:47
|
Yes, this helps. ```pwsh PS D:\<redacted>\docutils-code-r8892-trunk> py -3.10 -u docutils/test/alltests.py Testing Docutils 0.18.1b.dev with Python 3.10.0 on 2021-11-21 at 17:09:05 OS: Windows 10 10.0.19043 (win32, Windows-10-10.0.19043-SP0) Working directory: D:\<redacted>\docutils-code-r8892-trunk\docutils\test Docutils package: D:\<redacted>\docutils-code-r8892-trunk\docutils\docutils ............................................................................................................................................................................ ............................................................................................................................................................................ ............................................................................................................................................................................ ........................................................................................................................................ss.................................. ............................................................................................................................................................................ ............................................................................................................................................................................ ...........................................................................................................................................................................s s........................................................................................................................................................................... ............................................................................................. ---------------------------------------------------------------------- Ran 1469 tests in 9.835s OK (skipped=4) Elapsed time: 12.129 seconds ``` --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Sun Nov 21, 2021 11:26 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-21 11:26:02
|
Thank you for the confirmation. According to the `py` launcher documentation, [shebang line parsing](https://www.python.org/dev/peps/pep-0397/#shebang-line-parsing) is skipped when the first command-line argument starts with a dash ('-'). Could you check, whether the following note would help Windows users, please? > ¹The Python launcher for Windows can be only used when a Python version is specified, e.g., ``py -3.9 -u alltests.py``. --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Sun Nov 21, 2021 06:49 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: PotentialUser-54 <pot...@us...> - 2021-11-21 06:49:35
|
Hi Günter, Yes, I can confirm that it works with Python 3 when using the full path (including extension), and all tests pass. Please update the documentation for running the tests with Python 3 on Windows. Just a heads up: `[example](https://example.com)` should be Markdown link syntax. --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Fri Nov 19, 2021 02:39 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Ristin M. (rist) <ri...@zh...> - 2021-11-19 14:56:11
|
Hi docutils developer, I noticed that the documentation for quite a few elements is missing at: https://docutils.sourceforge.io/docs/ref/doctree.html In particular, I need some insight on "reference" element. Could you give me some more information and then I'll try to form it in the docs and contribute back? Cheers, Marko |
From: Günter M. <mi...@us...> - 2021-11-19 14:25:29
|
> I ran the tests again, and it works perfectly now. (On Python 2) Good news. > However, on Python 3, it fails with > ```pwsh > PS D:\<redacted>\docutils-code-r8892-trunk> py docutils/test/alltests.py > Unable to create process using '/bin/sh docutils/test/alltests.py' > ``` It seems the [Python laucher for Windows](https://docs.python.org/3/using/windows.html#python-launcher-for-windows) tries to get the required python version from the (shebang line)[https://stackoverflow.com/questions/7061449/what-is-a-shebang-line]. Unfortunately, alltest.py uses a workaround to pass the -u option to python:: #!/bin/sh ''''exec python -u "$0" "$@" #''' which could explain why `py` wants to launch `/bin/sh`. You may need to specify the names of the python3.x executable(s) (possibly also the full path). On my system, this is .../docutils/test> python3 docutils/test/alltests.py .../docutils/test> python3.5 docutils/test/alltests.py .../docutils/test> python3.9 docutils/test/alltests.py --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Fri Nov 19, 2021 02:39 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: PotentialUser-54 <pot...@us...> - 2021-11-19 02:39:44
|
Hi Günter, I ran the tests again, and it works perfectly now. (On Python 2) Thanks for the quick fix! ```pwsh PS D:\<redacted>\docutils-code-r8892-trunk> python docutils/test/alltests.py Testing Docutils 0.18.1b.dev with Python 2.7.18 on 2021-11-18 at 21:04:09 OS: Windows 10 10.0.19041 (win32, Windows-10-10.0.19041) Working directory: D:\<redacted>\docutils-code-r8892-trunk\docutils\test Docutils package: D:\<redacted>\docutils-code-r8892-trunk\docutils\docutils ............................................................................................................................................................................ ............................................................................................................................................................................ ............................................................................................................................................................................ .....................................................................................................................................ss..................................... ............................................................................................................................................................................ ............................................................................................................................................................................ ........................................................................................................................................................................ss.. ............................................................................................................................................................................ .......................................................................................... ---------------------------------------------------------------------- Ran 1466 tests in 7.142s OK (skipped=4) Elapsed time: 8.299 seconds ``` However, on Python 3, it fails with ```pwsh PS D:\<redacted>\docutils-code-r8892-trunk> py docutils/test/alltests.py Unable to create process using '/bin/sh docutils/test/alltests.py' ``` With both Python version 3.9.6 and 3.10.0 (the later is a new install). I also tried using backslashes instead of forwardslashes, adding `./` or `.\` before the path, however everything gives the same error. --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Thu Nov 18, 2021 10:16 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Guenter M. <mi...@us...> - 2021-11-18 20:30:14
|
On 2021-11-18, engelbert gruber wrote: > [-- Type: text/plain, Encoding: --] > * 0.18.1b thursady 18.nov > * 0.18.1 tuesday 23.nov > in progress Thank you Günter |
From: engelbert g. <eng...@gm...> - 2021-11-18 18:55:15
|
* 0.18.1b thursady 18.nov * 0.18.1 tuesday 23.nov in progress |
From: Günter M. <mi...@us...> - 2021-11-18 10:16:09
|
> Unfortunately, I'm getting the same number of failures. I postponed solving the wrong drive letter, sorry for not making this clear. On the up side, there is a change: the functional test for the "--stylesheet" argument "misc_rst_html4css1.py" now works as expected. Instead the added test for utils.get_stylesheet_list() fails: I need to improve on my fix. > I noticed it was expecting the drive letter to be C, instead of D in > the log. However, I am running this test on my D drive. This is a "false positive" (the drive letter was hard-coded to 'C:' in the tests). > File "<redacted>\docutils\docutils\test\test_utils.py", line 287, in test_decode_path > self.assertEqual(strpath, u'späm') > AssertionError: 'sp\xc3\xa4m' != u'sp\xe4m' And this is another false positive (wrong sample when the file system encoding is not utf8). Both should be solved in [r8892]. The new test fails with: > - ['data\\ham.css', 'missing.css'] > ? ^^ > + ['data/ham.css', 'missing.css'] > ? ^ this should be fixed in [r8892], too. Thank your for test and report. --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Thu Nov 18, 2021 01:13 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: PotentialUser-54 <pot...@us...> - 2021-11-18 01:13:57
|
Hi Günter, Unfortunately, I'm getting the same number of failures. To ensure it's not because I applied the previous Git patch or the Git mirror haven't updated or `git pull` didn't update all files correctly, I downloaded the "Snapshot" directly from SourceForge found in [Browse code at this revision](https://sourceforge.net/p/docutils/code/8891/tree/) page. I noticed it was expecting the drive letter to be C, instead of D in the log. However, I am running this test on my D drive. Here is the log: ```pwsh PS <redacted>\docutils-code-r8891-trunk\docutils> python test/alltests.py Testing Docutils 0.18.1b.dev with Python 2.7.18 on 2021-11-17 at 20:04:02 OS: Windows 10 10.0.19041 (win32, Windows-10-10.0.19041) Working directory: <redacted>\docutils-code-r8891-trunk\docutils\test Docutils package: <redacted>\docutils-code-r8891-trunk\docutils\docutils ............................................................................................................................................................................ ......................................................................................................................F......................F.............................. ............................................................................................................................................................................ ........................ test_writers\test_html4css1_template.py: totest['template'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ================ Document Title ================ ---------- Subtitle ---------- :Author: Me .. footer:: footer text Section ======= Some text. -: expected +: output head_prefix = """\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\ - <link rel="stylesheet" href="C:/test.css" type="text/css" />""" ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" />""" ? ^ body_prefix = """\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\ - <link rel="stylesheet" href="C:/test.css" type="text/css" />""" ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" />""" ? ^ body_prefix = """\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\ Document Title""" subtitle = """\ Subtitle""" header = """\ """ footer = """\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\ <h1 class="title">Document Title</h1>""" html_subtitle = """\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>""" F......................................................................................................... test_writers\test_s5.py: totest['basics'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ============ Show Title ============ Title slide First Slide =========== Slide text. -: expected +: output <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> - <link rel="stylesheet" href="C:/test.css" type="text/css" /> ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" /> ? ^ <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html> F test_writers\test_s5.py: totest['settings'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ================== Bogus Slide Show ================== We're just checking the settings -: expected +: output <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> - <link rel="stylesheet" href="C:/test.css" type="text/css" /> ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" /> ? ^ <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We're just checking the settings</p> </div> </div> </body> </html> F.ss........................................................................................................................................................................ ............................................................................................................................................................................ ............................................................................................................................................................................ .....................................ss..................................................................................................................................... ................................................................................................................................... ====================================================================== FAIL: test_decode_path (test_utils.HelperFunctionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\test_utils.py", line 287, in test_decode_pa th self.assertEqual(strpath, u'sp├ñm') AssertionError: 'sp\xc3\xa4m' != u'sp\xe4m' ====================================================================== FAIL: test_get_stylesheet_list_stylesheet_path (test_utils.StylesheetFunctionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\test_utils.py", line 369, in test_get_style sheet_list_stylesheet_path ['data/ham.css', 'missing.css']) AssertionError: Lists differ: ['data\\ham.css', 'missing.css... != ['data/ham.css', 'missing.css'... First differing element 0: 'data\\ham.css' 'data/ham.css' - ['data\\ham.css', 'missing.css'] ? ^^ + ['data/ham.css', 'missing.css'] ? ^ ====================================================================== FAIL: test_writers\test_html4css1_template.py: totest['template'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 686, in test_ publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 230, in compa re_output raise error AssertionError: '''\ head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="D:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="D:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\\ Document Title""" subtitle = """\\ Subtitle""" header = """\\ """ footer = """\\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\\ <h1 class="title">Document Title</h1>""" html_subtitle = """\\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>"""''' != '''\ head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="C:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="C:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\\ Document Title""" subtitle = """\\ Subtitle""" header = """\\ """ footer = """\\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\\ <h1 class="title">Document Title</h1>""" html_subtitle = """\\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>"""''' ====================================================================== FAIL: test_writers\test_s5.py: totest['basics'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 686, in test_ publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 230, in compa re_output raise error AssertionError: '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> <link rel="stylesheet" href="D:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html>''' != '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> <link rel="stylesheet" href="C:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html>''' ====================================================================== FAIL: test_writers\test_s5.py: totest['settings'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 686, in test_ publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils-code-r8891-trunk\docutils\test\DocutilsTestSupport.py", line 230, in compa re_output raise error AssertionError: '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> <link rel="stylesheet" href="D:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We\'re just checking the settings</p> </div> </div> </body> </html>''' != '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> <link rel="stylesheet" href="C:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We\'re just checking the settings</p> </div> </div> </body> </html>''' ---------------------------------------------------------------------- Ran 1466 tests in 8.068s FAILED (failures=5, skipped=4) Elapsed time: 8.542 seconds ``` --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Wed Nov 17, 2021 07:06 PM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-17 19:10:22
|
Thank you for the report. This is a bug. It occurs also with the html4css and latex writers. OTOH, it is not that urgent, as it only happens in documents where there are problems/errors anyway. --- ** [bugs:#435] HTML writer generates invalid references with report_level=4** **Status:** open **Created:** Tue Nov 16, 2021 04:50 PM UTC by Dmitry Shachnev **Last Updated:** Tue Nov 16, 2021 04:52 PM UTC **Owner:** nobody I don’t know if you will consider it a bug, but I decided to report it nevertheless. When input reStructuredText has errors and you silence them with report_level=4, the following HTML will be generated: ```python >>> from docutils.core import publish_parts >>> parts = publish_parts('`', settings_overrides={'report_level': 4}, writer_name='html5') >>> print(parts['html_body']) <main> <p><a href="#system-message-1"><span class="problematic" id="problematic-1">`</span></a></p> </main> ``` The link is pointing to `#system-message-1`, however there is no element with `id="system-message-id"` because the warning itself was not generated. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-17 19:06:49
|
Thanks again for the report. The different drive letter could be a false positive. The backslash as path separator in a URL is a bug. The actual problem was that, against the specification of the "--stylesheet" config setting as "stylesheet to use verbatim", there was a re-write of the stylesheet path if it was found in "--stylesheet-dirs". This is fixed in [r8891]. --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Tue Nov 16, 2021 03:46 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Guenter M. <mi...@us...> - 2021-11-16 23:49:54
|
Dear Mickey, dear docutils developers, On 2021-11-16, Guenter Milde via Docutils-develop wrote: > On 2021-10-24, Mickey Endito via Docutils-develop wrote: ... >> Some thoughts: >> system_messages is annoying. It has 'line' and 'source' "doctree-attributes" >> (e.g. `node['line']`) *and* also a `line` python-instance-attribute >> (e.g. `node.line`). > The "line" attribute in <system_message> doctree elements stores document > content (source/line info regarding the reported problem's origin should > be part of, e.g., the XML rendering of the document tree). > In other doctree elements, the "line" is auxiliary meta-data, used to > generate a system_message if problems arise. I had a closer look to the two "flavours" of element attributes: in https://docutils.sourceforge.io/docs/user/config.html#expose-internals they are called internal/external attributes: "External" attributes correspond to the XML element attributes. "Internal" attributes are Python class instance attributes. >From nodes.Node, all Element instances inherit the "internal" elements `parent`, `source`, `line`, and `document` (implemented as property). All Docutils doctree elements support the external attribute "source" (but only <document>, <system_message> and some instances of <literal_block> actually use the "source" attribute). <system_message> additionally declares the external attribute "line". >> The bad news is they do not correlate at all. This is a bug. When both, internal and external attribute are present and not None, they should always have the same value. In my tests, the "line" number difference was just 1 and both, internal and external "lines" were "source-relative" line numbers. This looks like a 0-based vs. 1-based enumeration issue. Can you provide a minimal example for "no correlation at all"? I wonder, if adding optional "source" and "line" arguments to nodes.Element.__init__() may simplify the code required for bookkeeping. If not None, these would be values for self.source and self.line. The conversion from "absolute" line number to source-relative line number could be triggered by another optional argument "absline", say. nodes.system_message.__init__() could then additionally set self['source'] and self['line']. Günter |
From: Dmitry S. <man...@us...> - 2021-11-16 16:52:22
|
Sorry, I meant “there is no element with `id="system-message-1"`” of course. --- ** [bugs:#435] HTML writer generates invalid references with report_level=4** **Status:** open **Created:** Tue Nov 16, 2021 04:50 PM UTC by Dmitry Shachnev **Last Updated:** Tue Nov 16, 2021 04:50 PM UTC **Owner:** nobody I don’t know if you will consider it a bug, but I decided to report it nevertheless. When input reStructuredText has errors and you silence them with report_level=4, the following HTML will be generated: ```python >>> from docutils.core import publish_parts >>> parts = publish_parts('`', settings_overrides={'report_level': 4}, writer_name='html5') >>> print(parts['html_body']) <main> <p><a href="#system-message-1"><span class="problematic" id="problematic-1">`</span></a></p> </main> ``` The link is pointing to `#system-message-1`, however there is no element with `id="system-message-id"` because the warning itself was not generated. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Dmitry S. <man...@us...> - 2021-11-16 16:50:46
|
--- ** [bugs:#435] HTML writer generates invalid references with report_level=4** **Status:** open **Created:** Tue Nov 16, 2021 04:50 PM UTC by Dmitry Shachnev **Last Updated:** Tue Nov 16, 2021 04:50 PM UTC **Owner:** nobody I don’t know if you will consider it a bug, but I decided to report it nevertheless. When input reStructuredText has errors and you silence them with report_level=4, the following HTML will be generated: ```python >>> from docutils.core import publish_parts >>> parts = publish_parts('`', settings_overrides={'report_level': 4}, writer_name='html5') >>> print(parts['html_body']) <main> <p><a href="#system-message-1"><span class="problematic" id="problematic-1">`</span></a></p> </main> ``` The link is pointing to `#system-message-1`, however there is no element with `id="system-message-id"` because the warning itself was not generated. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-16 16:34:55
|
Unfortunately, any major refactoring has the potential of breaks for downstream users (Sphinx, Sphinx extensions, alternative wrappers) that tend to take the current implementation as granted. The reaction to the 0.18 release showed that we still have insufficient awareness of announced changes and testing of beta versions. This means any backwards-incompatible refactoring will better wait until Docutils 2.0 :-( --- ** [feature-requests:#41] Not all Node instances have the source and line attributes set** **Status:** open **Group:** sandbox **Created:** Sun Jan 12, 2014 07:21 PM UTC by Brecht Machiels **Last Updated:** Tue Nov 16, 2021 04:34 PM UTC **Owner:** nobody The source and line attributes of Node elements are not set for all types of elements. For example, these attributes never get set on bulleted or enumerated list nodes. Other elements (such as literal block) don't have source set depending on the context. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-16 16:34:35
|
On 2021-10-24, Mickey Endito sent a comprehensive patch-set to docutils-develop. --- ** [feature-requests:#41] Not all Node instances have the source and line attributes set** **Status:** open **Group:** sandbox **Created:** Sun Jan 12, 2014 07:21 PM UTC by Brecht Machiels **Last Updated:** Tue Nov 16, 2021 04:29 PM UTC **Owner:** nobody The source and line attributes of Node elements are not set for all types of elements. For example, these attributes never get set on bulleted or enumerated list nodes. Other elements (such as literal block) don't have source set depending on the context. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-16 16:29:54
|
> I think lineno here is indeed the start line of the containing paragraph. In this case, I would rather keep inline nodes as-is. Inline nodes cannot be from a different source to their parent block-level node, as the "include" directive is a block-level syntax construct without inline alternative. Source/line info can be easily retrieved from <inline_node_instance>.parent (or .parent.parent... in case we get nested inline some day). See the definition of the `nodes.Node.document` property for a simple way to do this. --- ** [feature-requests:#41] Not all Node instances have the source and line attributes set** **Status:** open **Group:** sandbox **Created:** Sun Jan 12, 2014 07:21 PM UTC by Brecht Machiels **Last Updated:** Thu Mar 02, 2017 10:20 AM UTC **Owner:** nobody The source and line attributes of Node elements are not set for all types of elements. For example, these attributes never get set on bulleted or enumerated list nodes. Other elements (such as literal block) don't have source set depending on the context. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: engelbert g. <gr...@us...> - 2021-11-16 16:20:34
|
I certainly do not mind you popping in thanks for the hints On Mon, 15 Nov 2021 at 23:50, Dave Brondsema <bro...@us...> wrote: > Hello from SourceForge staff, hope you don't mind us popping in with a few > suggestions. > > SourceForge projects support git including merge requests. So one option > that I don't think has been mentioned yet would be converting from SVN to > Git within SourceForge. We don't have a magical one-click button to do > that, but a Git repo can be added to an existing project. Then standard > svn=>git migration tools can be used, and push the git repo up. > > If you decide to migrate development elsewhere, that's fine too. You can > add an "External Link" item directly into the SourceForge project menu if > you wish to have links to other sites, but still keep a presence on > SourceForge with releases, news, mailing list archives, etc. > > Best regards, > ------------------------------ > > * [feature-requests:#58] > <https://sourceforge.net/p/docutils/feature-requests/58/> Migration > Docutils from SourceForge to Github* > > *Status:* open > *Group:* Default > *Created:* Fri Feb 16, 2018 03:23 PM UTC by Yves Chevallier > *Last Updated:* Mon Nov 15, 2021 03:32 AM UTC > *Owner:* nobody > > Sourceforge is not really user friendly to report issues, propose > pull-request and contribute to the project. I would like to know if it is > possible to migrate Docutils to GitHub. > ------------------------------ > > Sent from sourceforge.net because you indicated interest in > https://sourceforge.net/p/docutils/feature-requests/58/ > > To unsubscribe from further messages, please visit > https://sourceforge.net/auth/subscriptions/ > --- ** [feature-requests:#58] Migration Docutils from SourceForge to Github** **Status:** open **Group:** Default **Created:** Fri Feb 16, 2018 03:23 PM UTC by Yves Chevallier **Last Updated:** Mon Nov 15, 2021 10:50 PM UTC **Owner:** nobody Sourceforge is not really user friendly to report issues, propose pull-request and contribute to the project. I would like to know if it is possible to migrate Docutils to GitHub. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: PotentialUser-54 <pot...@us...> - 2021-11-16 13:58:36
|
Hi Günter, I applied the patch by placing the patch inside my local Git repo copy and running `git apply work-around-UnicodeDecodeError.patch`. Then the test ran without failing prematurely, but the inner tests now have some fails. ```pwsh PS <redacted>\docutils> python .\docutils\test\alltests.py Testing Docutils 0.18.1b.dev with Python 2.7.18 on 2021-11-15 at 22:24:05 OS: Windows 10 10.0.19041 (win32, Windows-10-10.0.19041) Working directory: <redacted>\docutils\docutils\test Docutils package: <redacted>\docutils\docutils\docutils ...................................... test_functional.py: functional/tests/misc_rst_html4css1.py; test (test_functional.FunctionalTestCase): --- functional/expected/misc_rst_html4css1.html +++ functional/output/misc_rst_html4css1.html @@ -6,8 +6,8 @@ <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Additional tests with html4css1</title> <link rel="stylesheet" href="foo&bar.css" type="text/css" /> -<link rel="stylesheet" href="functional/input/data/html4css1.css" type="text/css" /> -<link rel="stylesheet" href="functional/input/data/math.css" type="text/css" /> +<link rel="stylesheet" href="functional/input/data\html4css1.css" type="text/css" /> +<link rel="stylesheet" href="functional/input/data\math.css" type="text/css" /> </head> <body> <div class="document" id="additional-tests-with-html4css1"> F........................................................................................................................................................................... ................................................................................F........................................................................................... ........................................................................................................................................................... test_writers\test_html4css1_template.py: totest['template'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ================ Document Title ================ ---------- Subtitle ---------- :Author: Me .. footer:: footer text Section ======= Some text. -: expected +: output head_prefix = """\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\ - <link rel="stylesheet" href="C:/test.css" type="text/css" />""" ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" />""" ? ^ body_prefix = """\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\ - <link rel="stylesheet" href="C:/test.css" type="text/css" />""" ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" />""" ? ^ body_prefix = """\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\ Document Title""" subtitle = """\ Subtitle""" header = """\ """ footer = """\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\ <h1 class="title">Document Title</h1>""" html_subtitle = """\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>""" F......................................................................................................... test_writers\test_s5.py: totest['basics'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ============ Show Title ============ Title slide First Slide =========== Slide text. -: expected +: output <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> - <link rel="stylesheet" href="C:/test.css" type="text/css" /> ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" /> ? ^ <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html> F test_writers\test_s5.py: totest['settings'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) input: ================== Bogus Slide Show ================== We're just checking the settings -: expected +: output <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> - <link rel="stylesheet" href="C:/test.css" type="text/css" /> ? ^ + <link rel="stylesheet" href="D:/test.css" type="text/css" /> ? ^ <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We're just checking the settings</p> </div> </div> </body> </html> F.ss........................................................................................................................................................................ ............................................................................................................................................................................ ............................................................................................................................................................................ .....................................ss..................................................................................................................................... ................................................................................................................................... ====================================================================== FAIL: test_functional.py: functional/tests/misc_rst_html4css1.py; test (test_functional.FunctionalTestCase) test_functional.py: functional/tests/misc_rst_html4css1.py ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils\docutils\test\test_functional.py", line 175, in test self.assertEqual(output, expected, diff) File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 121, in assertEqual msg or '%s != %s' % _format_str(first, second)) AssertionError: The expected and actual output differs. Please compare the expected and actual output files: diff functional/expected/misc_rst_html4css1.html functional/output/misc_rst_html4css1.html ' If the actual output is correct, please replace the expected output and check it in: mv functional/output/misc_rst_html4css1.html functional/expected/misc_rst_html4css1.html svn add functional/expected/misc_rst_html4css1.html svn commit -m "<comment>" functional/expected/misc_rst_html4css1.html ====================================================================== FAIL: test_decode_path (test_utils.HelperFunctionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils\docutils\test\test_utils.py", line 287, in test_decode_path self.assertEqual(strpath, u'sp├ñm') AssertionError: 'sp\xc3\xa4m' != u'sp\xe4m' ====================================================================== FAIL: test_writers\test_html4css1_template.py: totest['template'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 686, in test_publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 230, in compare_output raise error AssertionError: '''\ head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="D:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="D:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\\ Document Title""" subtitle = """\\ Subtitle""" header = """\\ """ footer = """\\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\\ <h1 class="title">Document Title</h1>""" html_subtitle = """\\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>"""''' != '''\ head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="C:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" head_prefix = """\\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>""" head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" stylesheet = """\\ <link rel="stylesheet" href="C:/test.css" type="text/css" />""" body_prefix = """\\ </head> <body> <div class="document" id="document-title">""" body_pre_docinfo = """\\ <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2>""" docinfo = """\\ <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table>""" body = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" body_suffix = """\\ </div> <div class="footer"> <hr class="footer" /> footer text </div> </body> </html>""" title = """\\ Document Title""" subtitle = """\\ Subtitle""" header = """\\ """ footer = """\\ <div class="footer"> <hr class="footer" /> footer text </div>""" meta = """\\ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="author" content="Me" />""" fragment = """\\ <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div>""" html_prolog = """\\ <?xml version="1.0" encoding="%s" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">""" html_head = """\\ <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <title>Document Title</title> <meta name="author" content="Me" />""" html_title = """\\ <h1 class="title">Document Title</h1>""" html_subtitle = """\\ <h2 class="subtitle" id="subtitle">Subtitle</h2>""" html_body = """\\ <div class="document" id="document-title"> <h1 class="title">Document Title</h1> <h2 class="subtitle" id="subtitle">Subtitle</h2> <table class="docinfo" frame="void" rules="none"> <col class="docinfo-name" /> <col class="docinfo-content" /> <tbody valign="top"> <tr><th class="docinfo-name">Author:</th> <td>Me</td></tr> </tbody> </table> <div class="section" id="section"> <h1>Section</h1> <p>Some text.</p> </div> </div> <div class="footer"> <hr class="footer" /> footer text </div>"""''' ====================================================================== FAIL: test_writers\test_s5.py: totest['basics'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 686, in test_publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 230, in compare_output raise error AssertionError: '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> <link rel="stylesheet" href="D:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html>''' != '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Show Title</title> <link rel="stylesheet" href="C:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Show Title</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Show Title</h1> <p>Title slide</p> </div> <div class="slide" id="first-slide"> <h1>First Slide</h1> <p>Slide text.</p> </div> </div> </body> </html>''' ====================================================================== FAIL: test_writers\test_s5.py: totest['settings'][0]; test_publish (DocutilsTestSupport.WriterPublishTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 686, in test_publish self.compare_output(self.input, output, self.expected) File "<redacted>\docutils\docutils\test\DocutilsTestSupport.py", line 230, in compare_output raise error AssertionError: '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> <link rel="stylesheet" href="D:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We\'re just checking the settings</p> </div> </div> </body> </html>''' != '''\ <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Bogus Slide Show</title> <link rel="stylesheet" href="C:/test.css" type="text/css" /> <!-- configuration parameters --> <meta name="defaultView" content="outline" /> <meta name="controlVis" content="visible" /> <!-- style sheet links --> <script src="ui/default/slides.js" type="text/javascript"></script> <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" /> <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" /> <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" /> <style type="text/css"> #currentSlide {display: none;} </style> </head> <body> <div class="layout"> <div id="controls"></div> <div id="currentSlide"></div> <div id="header"> </div> <div id="footer"> <h1>Bogus Slide Show</h1> </div> </div> <div class="presentation"> <div class="slide" id="slide0"> <h1 class="title">Bogus Slide Show</h1> <p>We\'re just checking the settings</p> </div> </div> </body> </html>''' ---------------------------------------------------------------------- Ran 1463 tests in 5.649s FAILED (failures=5, skipped=4) Elapsed time: 6.100 seconds ``` --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Tue Nov 16, 2021 03:46 AM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Guenter M. <mi...@us...> - 2021-11-16 13:30:27
|
Dear Mickey, thank you for the comprehensive patch set. On 2021-11-12, Mickey Endito via Docutils-develop wrote: > I did not receive any reaction to my mail. I am very sorry for the long delay. > Should I conclude that the outlined approach points in an unfavourable > direction? It is rather that I am overwhelmed by the size and complexity of both the task and your work. I'll give it a try... On 2021-10-24, Mickey Endito via Docutils-develop wrote: > Instead of sending ~60 mails with each patch, I've bundled them into an > zip archive (hope the mail gets not rejected due to this, hence name it > zup) and also include an all in one diff inline for those curious. Unfortunately, the zipped patchs don't show up in the mail archive, nor in the "gmane" mail-to-usenet gateway (which I use to follow the list). I could apply most¹ of the inline diffs to a local development branch with `git apply`. ¹There was an error for :: +++ b/docutils/test/test_parsers/test_rst/test_line_blocks.py the context line :: <document source="test data"> is regarded invalid (as ``<`` means ``-`` in the traditional diff format). Could you attach the zip to the `tracker ticket`__ so it won't get lost? I don't know how you produced the patch files, but patches made with ``git format-patch <origin>`` contain also the meta-information (commit message, ...). This additional info may help the review by explaining the intention and consequences of the changes. I can then recreate the commit with ``git am -3 <patch>`` and store it in local branch or commit via git-svn (unfortunately, git-svn will change the author field to the uploader). __https://sourceforge.net/p/docutils/feature-requests/41/ > So far two decorators are defined: > @add_source_info > Adds source and line Python-instance attributes to all nodes returned by > the function in the first argument. This makes it applicable to a wide > variety of functions which often return a second value, > e.g. `blank_finish`, `messages`, ... > @nodes_and_messages_transition_method > Converts a function returning nodes into a (very specific kind of) state > transition function. This decorator makes it possible to use > @add_source_info (which requires the method to return nodes) for methods > (which are/should be) state transition method (these do not return nodes). > Most of the patches rewrite existing code to use one or both of the above > decorators. I am afraid the refactoring will result in API incompatibilites, breaking third party code (Sphinx, Sphinx extensions, alternative wrappers). The reaction to the 0.18 release showed that we still have insufficient awareness of announced changes and testing of beta versions. As in PEP387, we have to assume that the Docutils API covers * Syntax and behavior of constructs as defined by the reference manual. * Function, class, module, attribute, and method names and types. * Given a set of arguments, the return value, side effects, and raised exceptions of a function. This does not preclude changes from reasonable bug fixes. * The position and expected types of arguments and returned values. * Behavior of classes with regards to subclasses: the conditions under which overridden methods are called. * Documented exceptions and the semantics which lead to their raising. * Exceptions commonly raised in EAFP scenarios. This means any backwards-incompatible refactoring will better wait until Docutils 2.0 :-( Considering the use case of Docutils as a library module, changing the acutal definitions may be cleaner than adding decorators, despite the larger number of changed code lines. > Patches later in the series add source information to nodes and > update or add additional test cases. > Not all reStructuredText syntax is > covered yet (this is work in progress) but I wanted you to give something to > review early. The end goal would be to have a test case for each syntax > construct. > A small number of tests (2?), fix some issues with the test suite. > There are also two patches converting some "random constants" into proper > True/False. How can we proceed? * I hope, all this hassle does not turn you off (but I could understand). * In any case, I would like to push the small fixes into the master (after the 0.18.1 release). If they are already distinct commits in your local repo, separate mails with the result of ``git format-patch`` would help a lot. * For nodes where adding source/line info has a real-world use case, adding them without incompatible API change can be done in the run-up to Docutils 1.0. >=== > Some thoughts: > system_messages is annoying. It has 'line' and 'source' "doctree-attributes" > (e.g. `node['line']`) *and* also a `line` python-instance-attribute > (e.g. `node.line`). The "line" attribute in <system_message> doctree elements stores document content (source/line info regarding the reported problem's origin should be part of, e.g., the XML rendering of the document tree). In other doctree elements, the "line" is auxiliary meta-data, used to generate a system_message if problems arise. > The bad news is they do not correlate at all. This may have to do with the "absolute linenumber" vs. "source linenumber" problem: There are two "source line counters", both of them, unfortunately, stored under the name "line". 1. A consecutive numbering of all lines merged from the various sources (called "absolute line number" in the source-code comments). This is required to get the corresponding line from the list of strings stored in StateMachine.input_lines. 2. line numbers per source file. These are required for sensible information about the source location of a problem. Cf. statemachine.StateMachine.get_source_and_line() and utils.Reporter.system_message() for conversion routines and usage examples. Sorting out the current mess (from hacks² to fix issues with the error reporting) is what I hope to gain from a refactoring. ² e.g. r6307 Maybe we should have node[source] and node[line] as basic attributes for all Doctree elements (and always with source-line) and reserve the Python-instance attribute (`node.line`) for the "absolute line number". ... [snip] Thank you for your work and your patience, Günter |
From: Dave B. <bro...@us...> - 2021-11-15 22:50:11
|
Hello from SourceForge staff, hope you don't mind us popping in with a few suggestions. SourceForge projects support git including merge requests. So one option that I don't think has been mentioned yet would be converting from SVN to Git within SourceForge. We don't have a magical one-click button to do that, but a Git repo can be added to an existing project. Then standard svn=>git migration tools can be used, and push the git repo up. If you decide to migrate development elsewhere, that's fine too. You can add an "External Link" item directly into the SourceForge project menu if you wish to have links to other sites, but still keep a presence on SourceForge with releases, news, mailing list archives, etc. Best regards, --- ** [feature-requests:#58] Migration Docutils from SourceForge to Github** **Status:** open **Group:** Default **Created:** Fri Feb 16, 2018 03:23 PM UTC by Yves Chevallier **Last Updated:** Mon Nov 15, 2021 03:32 AM UTC **Owner:** nobody Sourceforge is not really user friendly to report issues, propose pull-request and contribute to the project. I would like to know if it is possible to migrate Docutils to GitHub. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-15 18:12:19
|
- **status**: open --> open-fixed - **Comment**: Thank you for the report and patch proposal. An updated variant of your proposal is applied in r8888 and should fix the issue. --- ** [bugs:#350] odf_odt Writer prints "The system cannot find the path specified" on Windows** **Status:** open-fixed **Created:** Mon Aug 20, 2018 01:43 PM UTC by Ovidiu Ciule **Last Updated:** Tue Mar 03, 2020 09:41 PM UTC **Owner:** nobody Hi there, The odf_odt Writer currently prints an error message on Windows that cannot be captured with the usual stdout/stderr capture techniques, since it originates in a popen. To reproduce, it's enough to call "rst2odt.py some_valid_source.rst whatever.odt" I found the bug on Python 3.6.5 and Docutils 0.14, but the faulty popen call is present in latest docutils The output odt file is created as expected, but we see "The system cannot find the path specified" printed in the terminal. Worse, any application code using odf_odt Writer will print this error message. The message is not capturable AFAIK with the usual stdout/stderr techniques (contextlib.redirect_stdout or similar) since it originates in a popen call. The faulty popen call is in http://svn.code.sf.net/p/docutils/code/trunk/docutils/docutils/writers/odf_odt/__init__.py class ODFTranslator, method setup_paper: fin = os.popen("paperconf -s 2> /dev/null") On Windows, the "/dev/null" path does not exist (except specific cases such as the Windows 10 WSL Linux subsystem. The shell thus prints the error. I propose this patch which seems compatible with both Python > 2.4 and 3: fin = subprocess.check_output("paperconf -s", stderr=subprocess.DEVNULL) This is tested and works on windows with python 3. It should work fine on Linux and MacOS. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Günter M. <mi...@us...> - 2021-11-15 15:54:50
|
Thank you for reporting this failure. It is a false positive, a problem with the test suite. Could you check, if the the attached patch solves it? Attachments: - [work-around-UnicodeDecodeError.patch](https://sourceforge.net/p/docutils/bugs/_discuss/thread/e0150e893d/b158/attachment/work-around-UnicodeDecodeError.patch) (2.4 kB; text/x-patch) --- ** [bugs:#434] Error when running the test suite for Docutils on Windows 10.** **Status:** open **Labels:** test **Created:** Sun Nov 14, 2021 03:34 PM UTC by PotentialUser-54 **Last Updated:** Sun Nov 14, 2021 03:34 PM UTC **Owner:** nobody Running the test suite for Docutils on Windows 10 using [the instructions](https://docutils.sourceforge.io/README.html#running-the-test-suite) fails. As instructed, I am now opening this bug report after checking that there is not already one. ```pwsh PS <redacted>\docutils\docutils\test> python alltests.py Traceback (most recent call last): File "<redacted>\docutils\docutils\test\alltests.py", line 93, in <module> suite = suite() File "<redacted>\docutils\docutils\test\alltests.py", line 80, in suite suite = package_unittest.loadTestModules(DocutilsTestSupport.testroot, File "<redacted>\docutils\docutils\test\package_unittest.py", line 102, in loadTestModules module = import_module(mod) File "<redacted>\docutils\docutils\test\package_unittest.py", line 133, in import_module mod = __import__(name) File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 212, in <module> class SafeStringTests_locale(unittest.TestCase): File "<redacted>\docutils\docutils\test\test_error_reporting.py", line 225, in SafeStringTests_locale open(b'\xfc') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte ``` ```pwsh PS <redacted>\docutils\docutils\test> python ../tools/quicktest.py --version quicktest.py (Docutils 0.18 [release]) PS <redacted>\docutils\docutils\test> python --version Python 3.9.6 ``` --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |