|16 y = (selbar * (y2-y1)) // (len(items)-1)|07 |16ZeroDivisionError: integer division or modulo by zero |07
This means that the "items" list has one item, thus 1-1=0, so it produces the division by zero exception.
The question is, why the items list has only one object... this maybe caused by numerous cause, with the most possible one, that the file containing the data, wasn't read and the items list is empty.
I can't do more debugging, without more data/info... and i presume it's something happening in that particular system? I checked mine and it works. Did others have the same problem?
.
:: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 ::
xqtr@gmx.com
--- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
* Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)