xlprotips / xl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This Excel Sheet causes a ParseIntError

Lyamc opened this issue · comments

commented

I just tested this out to see how it works, this particular excel sheet gives it trouble:

UPS Galaxy VS PX.xlsx

xlcat "UPS Galaxy VS PX.xlsx" "Table001 (Page 1-19)"
"UPS status","Bypass","UPS operation mode - Battery test","Reserved","6","Energy Storage 1","Original Name","Ramp in timer for input current limitation during transfer from battery to normal operation","Modbus Function","Register High","Register Low","Unsigned 16 bit Integer","Valid Response","Column6","1=UPS operation mode - Battery","Column8","Column9","Column10"
"Scale",,,0,,,0,1,"Column6",,0,,,,,"Bit",,"Scale"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }', src\ws.rs:340:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Thank you! This has been fixed with b761ab3.