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
File "src\lxml\etree.pyx", line 3257, in lxml.etree.fromstring
File "src\lxml\parser.pxi", line 1916, in lxml.etree._parseMemoryDocument
File "src\lxml\parser.pxi", line 1803, in lxml.etree._parseDoc
File "src\lxml\parser.pxi", line 1144, in lxml.etree._BaseParser._parseDoc
File "src\lxml\parser.pxi", line 618, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 728, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 657, in lxml.etree._raiseParseError
File "", line 28
lxml.etree.XMLSyntaxError: AttValue: " or ' expected, line 28, column 65
Caso eu altere homologacao = True para False, não dá esse erro mas tambem não baixa os XML
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Olá! Primeiramente gostaria de parabenizar pelo excelente trabalho que foi feito nesse projeto. Fiquei muito encantado quando descobri.
Estou tentando baixar os XML de entrada com o código de exemplo do link https://github.com/TadaSoftware/PyNFe/wiki/Fluxo-da-Consulta-de-Distribuicao-por-NSU
Altero as vareáveis especificas. Ao tentar executar obtenho o seguinte erro:
File "src\lxml\etree.pyx", line 3257, in lxml.etree.fromstring
File "src\lxml\parser.pxi", line 1916, in lxml.etree._parseMemoryDocument
File "src\lxml\parser.pxi", line 1803, in lxml.etree._parseDoc
File "src\lxml\parser.pxi", line 1144, in lxml.etree._BaseParser._parseDoc
File "src\lxml\parser.pxi", line 618, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 728, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 657, in lxml.etree._raiseParseError
File "", line 28
lxml.etree.XMLSyntaxError: AttValue: " or ' expected, line 28, column 65
Caso eu altere homologacao = True para False, não dá esse erro mas tambem não baixa os XML
Beta Was this translation helpful? Give feedback.
All reactions