You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the improved error reporting. Running xml2rfc 2.10.2 on learninggo.xml now gives line numbers.
However I got a double exception with it:
~/g/src/github.com/mmarkdown/mmark/mmark learninggo.md > learninggo.xml
xml2rfc --v3 learninggo.xml
Parsing file learninggo.xml
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/xml2rfc/writers/preptool.py", line 207, in validate
v3_rng.assertValid(self.tree)
File "src/lxml/lxml.etree.pyx", line 3491, in lxml.etree._Validator.assertValid (src/lxml/lxml.etree.c:184578)
lxml.etree.DocumentInvalid: Did not expect element blockquote there, line 28
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/xml2rfc", line 11, in <module>
load_entry_point('xml2rfc==2.10.2', 'console_scripts', 'xml2rfc')()
File "/usr/lib/python3/dist-packages/xml2rfc/run.py", line 387, in main
xmlrfc.tree = prep.prep()
File "/usr/lib/python3/dist-packages/xml2rfc/writers/preptool.py", line 365, in prep
func(e, e.getparent())
File "/usr/lib/python3/dist-packages/xml2rfc/writers/preptool.py", line 412, in validate_before
if not self.validate('before'):
File "/usr/lib/python3/dist-packages/xml2rfc/writers/preptool.py", line 214, in validate
msg = "%s(%s): %s: %s, at %s" % (self.xmlrfc.source, error.line, error.level_name.title(), error.message, error.path)
AttributeError: 'lxml.etree._LogEntry' object has no attribute 'path'
Makefile:15: recipe for target 'learninggo.txt' failed
make: *** [learninggo.txt] Error 1
Issue migrated from trac:376 at 2022-02-05 12:46:28 +0000
The text was updated successfully, but these errors were encountered:
Thanks for the continued testing. I ran my current copy of learninggo.xml through the release without having the experience above, so I probably need a new copy of the source, and would also appreciate knowing the switches you used when you got the result above.
resolution_fixed
type_defect
| by miek@miek.nlThanks for the improved error reporting. Running xml2rfc 2.10.2 on learninggo.xml now gives line numbers.
However I got a double exception with it:
Issue migrated from trac:376 at 2022-02-05 12:46:28 +0000
The text was updated successfully, but these errors were encountered: