andmarti1424 / sc-im

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

Errors when opening csv #822

Open 0-issue opened 1 year ago

0-issue commented 1 year ago

I get errors when opening following csv file which opens correctly in other softwares. Here's the file: MPI_Directory_by_Establishment_Name.csv, and below are relevant details:

% sc-im --version
sc-im - version 0.8.4
-DNCURSES
-DMAXROWS 1048576
-DUNDO
-DXLS
-DXLSX
-DXLSX_EXPORT
-DXLUA
-DDEFAULT_COPY_TO_CLIPBOARD_CMD="tmux load-buffer"
-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD="tmux show-buffer"
-DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD="scopen"
-DUSELOCALE
-DMOUSE
-DUSECOLORS
-D_XOPEN_SOURCE_EXTENDED
-D_GNU_SOURCE
-DSNAME="sc-im"
-DHELP_PATH="/usr/local/share/sc-im"
-DLIBDIR="/usr/local/share/doc/sc-im"
-DDFLT_PAGER="less"
-DDFLT_EDITOR="vim"
-DCONFIG_DIR=".config/sc-im"
-DCONFIG_FILE="scimrc"
-DHISTORY_DIR=".cache"
-DHISTORY_FILE="sc-iminfo"
-DINS_HISTORY_FILE="sc-iminfo"
-DHAVE_PTHREAD
-DAUTOBACKUP
% otool -L /usr/local/bin/sc-im
/usr/local/bin/sc-im:
        /opt/homebrew/opt/ncurses/lib/libncursesw.6.dylib (compatibility version 6.0.0, current version 6.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.100.3)
        /opt/homebrew/opt/libxls/lib/libxlsreader.8.dylib (compatibility version 9.0.0, current version 9.2.0)
        /opt/homebrew/opt/libxlsxwriter/lib/libxlsxwriter.5.dylib (compatibility version 5.0.0, current version 0.0.0)
        /usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
        /opt/homebrew/opt/libzip/lib/libzip.5.dylib (compatibility version 5.0.0, current version 5.5.0)
        /opt/homebrew/opt/lua/lib/liblua.dylib (compatibility version 5.4.0, current version 5.4.6)
andmarti1424 commented 1 year ago

@amanvm What errors do you get?

andmarti1424 commented 1 year ago

@amanvm ?

0-issue commented 1 year ago

@andmarti1424 Sorry for the delay. Also, I tried redirecting stderr to a file, but that doesn't work. So here's a screencast that shows the errors:

https://github.com/andmarti1424/sc-im/assets/25681815/2ee90869-7c53-469e-b585-a81f912143a2