So... after far to long without Screen and Phad (pihole setup though ;)) I thought I'd give it a go again. Now obviously we've moved on a few years in terms of Python/Pihole and Phad. I have my screen set up and working but sadly no joy out of phad. The installer works fine, but nothing happens on screen.
Been away far too long, but manually running the ./Phad script via SSH I get the following:
DietPi:~/phad# ./phad
Traceback (most recent call last):
File "/root/phad/./phad", line 1129, in
t = template.render(**data)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "templates/main.j2", line 17, in top-level template code
IPv4: {{ setupvars['IPV4_ADDRESS']['value'] }}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 466, in getitem
return obj[argument]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'IPV4_ADDRESS'
Either I have utterly missed a dependency in the install process..... OR.....
anyone still using Phad ??
I have no idea if this is still being monitored BUT:
OS: DietPi Debian bookworm Latest 9.1.1 Pi-hole v5.17.3 FTL v5.25.1 Web Interface v5.21
So... after far to long without Screen and Phad (pihole setup though ;)) I thought I'd give it a go again. Now obviously we've moved on a few years in terms of Python/Pihole and Phad. I have my screen set up and working but sadly no joy out of phad. The installer works fine, but nothing happens on screen.
Been away far too long, but manually running the ./Phad script via SSH I get the following:
DietPi:~/phad# ./phad Traceback (most recent call last): File "/root/phad/./phad", line 1129, in
t = template.render(**data)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "templates/main.j2", line 17, in top-level template code
IPv4: {{ setupvars['IPV4_ADDRESS']['value'] }}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/jinja2/environment.py", line 466, in getitem
return obj[argument]