piholestatus
piholestatus copied to clipboard
'int' object has no attribute 'replace'
Running this script on Ubuntu 17.04. Followed instructions, and getting this error:
pihole@pihole:/etc$ sudo ./piholestats.sh
Traceback (most recent call last):
File "./piholestats.sh", line 47, in
Any ideas?
I'm having the exact same issue on a Raspberry Pi 3 running Raspbian jessie. I've also tried running the script with Python 3, but that does not work either.
Same issue here as well.
Have tried using this script (as well as the original on reddit) on python2 and python3 on the following hosts.
Ubuntu 16.04. Debian Stretch. ArchLinux
Same error each time.
@aldrouil have a look at the code from the pull request #4 by @icetail. With his changes the script runs without any errors on my Raspberry.