-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
PADD 3.8.0 display error with 3.5" PiTFT #251
Comments
Is there some real error message shown? Or only the misalignment? Could you add a screenshot or photo? |
Thanks I think I know where this is coming from. It's probably due to the two new lines adding model and inteface. |
Maybe you can correct something there so that it fits again. |
What do you want me to remove instead? |
Please run |
Everything above 79x25 is considered Line 926 in 380636a
|
|
root@pihole:~# stty size |
And |
root@pihole: |
But then it should easily fit... Lines 1108 to 1109 in 380636a
So we get Lines 926 to 934 in 380636a
And we should get size |
I compared it, the code is identical, but what can I say, 1 line is missing at the top. |
Is there a solution? Thanks a lot for your efforts! |
I haven't figured out one yet. I don't know why it does not fit, although there are enough lines. The trivial solution would be to remove newly added lines. In the next few days I won't have time to work on this. In the meantime you could just use the previous version. |
OK, we will wait, thanks! |
I have a PiTFT 3.5" and have the exact same issue with the line being cut off. Went back to previous (also because of other bug). For reference, since the values are different than previous user. pi@pihole:~ $ tput cols |
The logical things to remove would be the two new items. For now I'm sticking with 3.7.1, so same difference, for me. |
Possibly split some information out a tab or two instead of having separate lines, if possible. |
fix coming soon? |
I spend some thoughts on this today and I think I know why the numbers are so high: did you run those commands in a terminal connected via |
Great point! Just plugged a keyboard in and ran it on the pi (again, PiTFT 3.5") pi@pihole:~ $ tput cols |
Thanks, this looks reasonable. |
I would confirm the information from @nineteenletterslong. |
I fixed the issue. In "mini", IP is now shown next to hostname. In "tiny" I had to sacrifice the IPv6 address. In "regular" and "slim" I removed the device model and IPv6 address but added an IPv6 checkbox. In "mega" I combined DNS with the DHCP section. Testing and feedback welcome. You can find this version at https://raw.githubusercontent.com/pi-hole/PADD/0b4351c3adf2069d63a7b2c0cba890ab165802d1/padd.sh P.S. The red "DNSSEC" on "mega" is fixed already |
It works! A very, very good job! Thank you, it was worth the wait. |
Works great, still have red DNSSEC though but thanks for your efforts also you probably should probably put a space after the DHCP title line to keep it in accordance with how the other lines are. Maybe put a few spaces before it to make it look a little more separate from DNS, or whatever you feel like |
In small screens you can combine a shorter To get a shorter system_uptime=$(awk '{print int($1/86400)"d:"int(($1%86400)/3600)"h:"int(($1%3600)/60)"min"}' '/proc/uptime') It will return something like this: You can use an even shorter string using: system_uptime=$(awk '{print int($1/86400)"d:"int(($1%86400)/3600)"h"}' '/proc/uptime')
|
When will this be pushed to the main release link so I can update normally? |
It'll take a bit. The PR that changes that is still in draft mode as I'm still working on it. |
As we all do this in our free time - yes. You can already use the version I linked above. |
Thanks for the testing. I was involved a bit more in the latest changes of "core" Pi-hole but will focus now again on PADD. It's probably only a few hours to finish this change. With all this testing it should convince the reviewers easily. |
Thanks @yubiuser for your help fixing this. Just applied to my screen, missed having it fit all the correct data. Much appreciated |
Thanks so much for all you do @yubiuser ! Fixed 3.8.0 version posted above works great on my PiTFT as well. Good to see that everything fits again. 🥇 |
It's been 3 months, can the fixes be pushed to the main release yet? |
I was going to finish this but in the meantime Pi-hoel/ |
The testing version in the link above works fine until 3.8.1 is release. |
I've been using the version of 3.8.0 that was linked, and it's been fine until yesterdays PiHole update ([Pi-hole FTL v5.18.2, Web v5.16 and Core v5.13). Padd starts, shows a red X for Core, and beside that states 'Pihole's DNS server is off!'. However, the web interface shows pihole is working as normal. I've tried Pihole -r, but no change. Any ideas? |
Thanks for the reply. Knowing it's expected behaviour - and not something hamfisted I did - is a plus. |
Finally fixed with https://github.com/pi-hole/PADD/releases/tag/v3.8.1 |
After the update to padd 3.8.0 at least the first line above with the details of the versions of pihole, web and padd is missing.
The text was updated successfully, but these errors were encountered: