Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1 #29

Open
MinaGabriel opened this issue Oct 15, 2021 · 0 comments
Open

lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1 #29

MinaGabriel opened this issue Oct 15, 2021 · 0 comments

Comments

@MinaGabriel
Copy link

I am getting this error any idea how to fix it, using Python 3.8.12

Traceback (most recent call last): File "en/candc2transccg.py", line 249, in <module> main() File "en/candc2transccg.py", line 224, in main xml_tree = etree.parse(args.xml_fname, parser) File "src/lxml/etree.pyx", line 3521, in lxml.etree.parse File "src/lxml/parser.pxi", line 1859, in lxml.etree._parseDocument File "src/lxml/parser.pxi", line 1885, in lxml.etree._parseDocumentFromURL File "src/lxml/parser.pxi", line 1789, in lxml.etree._parseDocFromFile File "src/lxml/parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError File "sentences.candc.xml", line 1 lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant