$ ofxstatement convert -t transferwise dir_csv/transaction-history.csv 2023-07-06.wise.ofx
Traceback (most recent call last):
File "/home/compta/.venv/bin/ofxstatement", line 8, in <module>
sys.exit(run())
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/tool.py", line 205, in run
return args.func(args)
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/tool.py", line 176, in convert
statement = parser.parse()
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/plugins/transferwise.py", line 42, in parse
stmt = super().parse()
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/parser.py", line 46, in parse
stmt_line = self.parse_record(line)
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/plugins/transferwise.py", line 54, in parse_record
sl = super().parse_record(line)
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/parser.py", line 107, in parse_record
value = self.parse_value(rawvalue, field)
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/parser.py", line 68, in parse_value
return self.parse_decimal(value)
File "/home/compta/.venv/lib/python3.9/site-packages/ofxstatement/parser.py", line 81, in parse_decimal
return D(value.replace(",", ".").replace(" ", ""))
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]
reproduce bug
download csv file from wise in dir_csv/transaction-history.csv
related issue https://github.com/kedder/ofxstatement-transferwise/issues/3
description
ofxstatement-transferwise doesn't run:
reproduce bug
dir_csv/transaction-history.csv