Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tried to reinstall after .... ages. Not working. #26

Open
Andymc1280 opened this issue Mar 10, 2024 · 0 comments
Open

Tried to reinstall after .... ages. Not working. #26

Andymc1280 opened this issue Mar 10, 2024 · 0 comments

Comments

@Andymc1280
Copy link

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]
~~~^^^^^^^^^^
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 ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant