close2 / csv

A dart csv to list codec / converter
MIT License
98 stars 24 forks source link

[DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method} #62

Open pen110 opened 1 year ago

pen110 commented 1 year ago

[DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}

I just use this final input = new File('a/csv/file.txt').openRead(); final fields = await input.transform(utf8.decoder).transform(new CsvToListConverter()).toList();

close2 commented 1 year ago

This error doesn't sound like it has anything to do with the conversion.

What happens, if you don't transform, but read the file as string?