ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

panic on first login

Open Benaiah opened this issue 3 years ago • 2 comments

When logging in for the first time, I get the following error:

thread 'main' panicked at 'attempt to calculate the remainder with a divisor of zero', /home/benaiah/.cargo/registry/src/github.com-1ecc6299db9ec823/cursive-0.16.3/src/backends/curses/mod.rs:90:43

This is after installing using the cargo deb instructions on an updated Debian Testing system. Running with RUST_BACKTRACE=1 does not display further information - this is likely because the binary was built in release mode, but i'm not sure how to build it in debug mode through cargo deb.

Benaiah avatar Feb 10 '21 01:02 Benaiah

Getting this too, but installing using cargo install --git https://github.com/hrkfdn/ncspot on arch linux. And if i try to start it later, it crashes without any apparent errors.

LordMZTE avatar Aug 21 '21 14:08 LordMZTE

I think I figured out why this happens! I believe this is when the terminal emulator supports truecolor. Try running env TERM=xterm-256color ncspot, that fixes it for me!

LordMZTE avatar Aug 21 '21 15:08 LordMZTE