1 May 2009 01:28
Re: error reporting: physical lines not reported when files included
David Goodger <goodger <at> python.org>
2009-04-30 23:28:18 GMT
2009-04-30 23:28:18 GMT
On Thu, Apr 30, 2009 at 17:47, Alan G Isaac <alan.isaac <at> gmail.com> wrote: > I use lots of ``include`` directives. > Currently this renders the line numbers in error > reports pretty useless. Is it possible to get > the file and physical line number? It's a known bug: http://docutils.sourceforge.net/BUGS.html#known-bugs -- -- David Goodger <http://python.net/~goodger> ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Docutils-users mailing list Docutils-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.
.
Good luck!
OS:
Mac OS X Version 10.5.6
docutils version:
ganymede:tools paul$ ./quicktest.py --version
quicktest.py (Docutils 0.6 [snapshot 2009-05-05, r5933])
test output:
ganymede:test paul$ ./alltests.py
Testing Docutils 0.6 [snapshot 2009-05-05, r5933] with Python 2.5.1 on
2009-05-05 at 08:52:58
Working directory: /Users/paul/Desktop/tmp/docutils/test
Docutils package: /Users/paul/Desktop/tmp/docutils/docutils
.................................................................... [snip]
test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][20];
test_parser (DocutilsTestSupport.ParserTestCase)
input:
.. csv-table:: bad encoding
:file: test_parsers/test_rst/test_directives/utf-16.csv
:encoding: latin-1
RSS Feed