f@extensa:~/media/vcs/ledger-autosync/bin$ ./hledger-autosync ~/download/prova.ofx
Traceback (most recent call last):
File "./hledger-autosync", line 8, in <module>
sys.exit(run())
File "/home/f/media/vcs/ledger-autosync/lib/python3.7/site-packages/ledgerautosync/cli.py", line 474, in run
import_ofx(ledger, args)
File "/home/f/media/vcs/ledger-autosync/lib/python3.7/site-packages/ledgerautosync/cli.py", line 180, in import_ofx
ofx = OfxSynchronizer.parse_file(args.PATH)
File "/home/f/media/vcs/ledger-autosync/lib/python3.7/site-packages/ledgerautosync/sync.py", line 43, in parse_file
return OfxParser.parse(ofx_file)
File "/home/f/media/vcs/ledger-autosync/lib/python3.7/site-packages/ofxparse/ofxparse.py", line 396, in parse
ofx_file = OfxPreprocessedFile(file_handle)
File "/home/f/media/vcs/ledger-autosync/lib/python3.7/site-packages/ofxparse/ofxparse.py", line 160, in __init__
ofx_string = self.fh.read()
File "/usr/lib/python3.7/codecs.py", line 504, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1041: ordinal not in range(128)
<!--
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:UTF-8
CHARSET:NONE
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
-->
I tried to run ledger-autosync today, I got this error
The header of the Ofx file is: