andmarti1424 / sc-im

sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Other
4.77k stars 201 forks source link

Unable to open a CSV file (syntax error) #816

Closed ershov closed 1 year ago

ershov commented 1 year ago

Hi,

I'm trying to open a pretty normal CSV file here: https://gist.github.com/tadast/8827699 and I'm getting a bunch of errors starting from the second line like: syntax error: label B1=" "AF"". I can't even stop it with a ^C or regular kill (only kill -9 helps).

Needless to say that this file can be opened by any other editor.

The sequence of errors is: it complains at a bunch of fields, then Illegal string expression, then error in slet - exprerr.

andmarti1424 commented 1 year ago

@ershov thank you for reporting this. please update to latest commit on dev branch and retry. we will have to use a proper csv library oneday for csv import and export..

andmarti1424 commented 1 year ago

@ershov could you test it? thanks

ershov commented 1 year ago

It works now. Thanks @andmarti1424