Unable to import OFX statement

When I try to import an OFX statement, I receive this error from the parser. The OFX files has been generated by https://github.com/reubano/csv2ofx

Any idea how to debug this?

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 116, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 48, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 83, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 181, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/wizard/wizard.py", line 314, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 340, in _execute
    do_result = do(action)
  File "/trytond/modules/account_statement/statement.py", line 1174, in do_import_
    statements = list(getattr(self, 'parse_%s' % self.start.file_format)())
  File "/trytond/modules/account_statement_ofx/account.py", line 27, in parse_ofx
    ofx = ofxparse.OfxParser.parse(file_)
  File "/ofxparse/ofxparse.py", line 404, in parse
    ofx_obj.trnuid = stmttrnrs_trnuid.contents[0].strip()
IndexError: list index out of range

Fault: list index out of range

Thanks for your help

It looks like the OFX file generated is not valid. I think the best would be to report to csv2ofx (if the generated format is not valid) or ofxparse (if the format is valid but not supported) projects.