monitor icon indicating copy to clipboard operation
monitor copied to clipboard

'value too great for base' error

Open mozoh opened this issue 4 years ago • 6 comments

Hi. Some time after starting, I get the following error:

/usr/local/bin/monitor: line 1777: 149ab: value too great for base (error token is "149ab")
Exited.

or

/usr/local/bin/monitor: line 955: 1580792NNRSLAL: value too great for base (error token is "1580792NNRSLAL")
Exited.

After that monitor is stopping.

Is it a bug? How can i fix it?

mozoh avatar Apr 05 '20 08:04 mozoh

Likely a parsing error. I'll investigate.

andrewjfreyer avatar Apr 08 '20 20:04 andrewjfreyer

I got this same error as well. Start monitor at 10:28:57 PM error pops up at 10:51:36 PM

poudenes avatar Apr 15 '20 06:04 poudenes

I'm facing the same issue. In my case the error with the values is:

/usr/local/bin/monitor: line 1777: 2411f8cbb69abcbb68cb50000: value too great for base (error token is "2411f8cbb69abcbb68cb50000")

tuxflo avatar Jan 22 '21 21:01 tuxflo

Same issue too !

bennijamm avatar Feb 18 '21 14:02 bennijamm

PR #373 should fix this message.

tuxflo avatar Mar 13 '21 23:03 tuxflo

Hi, i had also this bug. Then i followed this guide https://github.com/andrewjfreyer/monitor/pull/373/commits/f33f9d1b999f228b9ca831b7bb06e5a6d8cddb12 and i altered line 1777 as such : rssi_change=$((10#$rssi - 10#$rssi_latest))

The problem is no gone though. I got the following message:

monitor.sh: line 1777: 10#irs: value too great for base (error token is "10#irs") Terminated

Any ideas? Thanks

liakjim avatar Oct 20 '21 11:10 liakjim