Subj : voteliners
To : xqtr
From : paulie420
Date : Sat Jan 06 2024 07:48 pm
Hey buddy... I just found an issue within voteliners; when I tab over to the USERES tab, I get:
-----
PYTHON ERROR (/home/x/mystic/themes/default/scripts/voteliner.mpy)�������������
File "/home/x/mystic/themes/default/scripts/voteliner.mpy", line 1011, in <mo dule>lie420����������������������������2024.01.06�������������������32�������
File "/home/x/mystic/themes/default/scripts/voteliner.mpy", line 961, in show liners
done = showusers(window[0],window[1],window[2],window[3])
File "/home/x/mystic/themes/default/scripts/voteliner.mpy", line 763, in show users
updatebar()
File "/home/x/mystic/themes/default/scripts/voteliner.mpy", line 729, in upda tebar
y = (selbar * (y2-y1)) // (len(items)-1)
ZeroDivisionError: integer division or modulo by zero
-----
First I thought this was the other thing where if you mess with the xqtr ANSI (last tab) it can crash if not XX amount of lines... but its doing so on the users tab. Any thoughts?? I have 1000+ users - what ya think??