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
O pynfe 0.4.3 apresenta problemas com encoding ao descompactar certos xmls :
conteudo = DescompactaGzip.descompacta(zip_resp)
File "/usr/local/lib/python3.8/site-packages/pynfe/utils/descompactar.py", line 30, in descompacta
return etree.fromstring(descompactado)
File "src/lxml/etree.pyx", line 3257, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1911, in lxml.etree._parseMemoryDocument
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
O problema pode ser contornado fazendo a seguinte alteração no "descompactar.py":
O pynfe 0.4.3 apresenta problemas com encoding ao descompactar certos xmls :
O problema pode ser contornado fazendo a seguinte alteração no "descompactar.py":
The text was updated successfully, but these errors were encountered: