When attempting to setup pi-hole-visualizer on a new install, I learned that the dns_stats.py script errors out if there's not sufficient historical data available:
pi@raspberrypi:~/pi-hole-visualizer $ sudo ./dns_stats.py
Initiating connection with server.
Successful connection with server.
Traceback (most recent call last):
File "./dns_stats.py", line 182, in <module>
main()
File "./dns_stats.py", line 178, in main
generate_chart(domain_info_hourly, color, args.ripple, args.orientation, args.lowlight)
File "./dns_stats.py", line 133, in generate_chart
if info_chart[row][0] > 0:
IndexError: list index out of range
When attempting to setup pi-hole-visualizer on a new install, I learned that the dns_stats.py script errors out if there's not sufficient historical data available:
pi@raspberrypi:~/pi-hole-visualizer $ sudo ./dns_stats.py Initiating connection with server. Successful connection with server. Traceback (most recent call last): File "./dns_stats.py", line 182, in <module> main() File "./dns_stats.py", line 178, in main generate_chart(domain_info_hourly, color, args.ripple, args.orientation, args.lowlight) File "./dns_stats.py", line 133, in generate_chart if info_chart[row][0] > 0: IndexError: list index out of range