PiSupply / PiJuice

Resources for PiJuice HAT for Raspberry Pi - use your Pi Anywhere
https://uk.pi-supply.com/collections/pijuice/products/pijuice-portable-power-raspberry-pi
GNU General Public License v3.0
440 stars 104 forks source link

Pijuice has ONLY menu and nothing else in pi 5... #1101

Open Omnipresent77 opened 5 days ago

Omnipresent77 commented 5 days ago

Pijuice has ONLY menu saying 'pijuice settings.'

No tray icon, no GUI, nothing after installing the GUI.

Running latest and updated rasbian on a pi 5 with 8 GB of ram.

Thought to start a new issue as i have seen a few things ( like ffmeg? ) not run on pi 5 now....

trying that deletion of the linked files and relinking them to the 32 version OR the 6 version either did not work.

no error that I can see when trying to run it from terminal happens. noting happens.

Omnipresent77 commented 5 days ago

So the Pijuice has a old school d type micro usb connector. The pi 5 has a USB c. I just got a message on screen on boot up that the power supply can not supply the 5A the pi 5 needs.

Omnipresent77 commented 3 days ago

So I uninstalled and reinstalled the PiJuice gui today. I got the following error (twice one right after the other) while installing. chown: warning ' . ' should be ' :' 'pijuice.pijuice'

Omnipresent77 commented 2 days ago

running at terminal: systemctl status pijuice.service I get:

Omnipresent77 commented 2 days ago

So I uninstalled and reinstalled the PiJuice gui today. I got the following error (twice one right after the other) while installing. chown: warning ' . ' should be ' :' 'pijuice.pijuice'

2022-02-24

So is the script now outdated and needs to be updated to this standard or what??

Omnipresent77 commented 2 days ago

I was able to get the cli to work, and confirm firmware version 1.6 on the pi supply

Omnipresent77 commented 2 days ago

It appears ALL of the following 14 pijuice files are root owner and group. Do they need to be pijuice pijuice as that error looks to be above?

pijuiceboot pijuiceboot32 pijuiceboot64 pijuice_cli pijuice_cli32 pijuice_cli64 pijuice_cli.py pijuice_gui pijuice_gui32 pijuice_gui64 pijuice_gui.py pijuice_log.py pijuice_sys.py pijuice_tray.py

Changed them to user user except even after deletion of the linked 3 and recreating them. they staid as root root.

changed the epprom address to 52 (as i did have a media center hat software but no longer hardware)

the Setting window does now appear, but will not close and the system tray power icon is NOT there still

Omnipresent77 commented 2 days ago

running from the terminal: pijuice_tray.py results in: Traceback (most recent call last): File "/usr/bin/pijuice_tray.py", line 182, in with open(TRAY_PID_FILE, 'w') as f: ^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/tmp/pijuice_tray.pid'

also running from the terminal pijuice_sys.py results in: Traceback (most recent call last): File "/usr/bin/pijuice_sys.py", line 425, in main() File "/usr/bin/pijuice_sys.py", line 319, in main with open(configPath, 'w+') as conf_f: ^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/var/lib/pijuice/pijuice_config.JSON'

or ANY file in /var/lib/pijuice/. with owner of said pijuicesys.py file set to pijuie pijuice or user user

so yes settings are now openable, but non closable window. While as the system tray battery indicator is not there now as indicated in the https://github.com/PiSupply/PiJuice/blob/master/Software/README.md

system tray section

Omnipresent77 commented 2 days ago

rest of the issue of no tray icon continued in...

https://github.com/PiSupply/PiJuice/issues/1094