使用python3.8和Nikola导入wordpress xml文件。我不断得到:
Traceback (most recent call last):
File "/home/sam/.local/lib/python3.8/site-packages/doit/doit_cmd.py", line 190, in run return command.parse_execute(args)
File "/home/sam/.local/lib/python3.8/site-packages/doit/cmd_base.py", line 150, in parse_execute return self.execute(params, args)
File "/home/sam/.local/lib/python3.8/site-packages/nikola/plugin_categories.py", line 148, in execute
return self._execute(options, args)
File "/home/sam/.local/lib/python3.8/site-packages/nikola/plugins/command/import_wordpress.py", line 383, in _execute
channel = self.get_channel_from_file(self.wordpress_export_file, export_file_preprocessor)
File "/home/sam/.local/lib/python3.8/site-packages/nikola/plugins/command/import_wordpress.py", line 451, in get_channel_from_file
tree = etree.fromstring(xml_string)
File "src/lxml/etree.pyx", line 3237, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1896, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1784, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1141, in lxml.etree._BaseParser._parseDoc
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`enter code here`
File "<string>", line 324515
lxml.etree.XMLSyntaxError: internal error: Huge input lookup, line 324515, column 348