Open kpwillis opened 1 year ago
found the same issue installing the downloadable package... I think it's due to python3 vs python2... I'm no developer either but I'll take a pun and try to update the python scripts myself
Same here. Finally found out to use python2.7. My python knowledge is far from good (read: is non-existent) and I cannot repair the code myself... Everything seems to work now; I have to check the rtc though... Thanks! Egbert Jan (NL)
HWclock seems OK. But why is gpio013 not used. The docs say that a bi-directional use is made with gpio06 and gpio013. Can somebody shed some light on that? TIA, Egbert Jan
Hmmm... after a reboot I ran apt-get update / upgrade. That triggered running postinst (pd-fixrtc.py) unexpected which failed on the non-compatible python2.7/3.x versions. Is that a feature of apt-get or aptitude?
First thank you hoopsurfer for updating pidesktop.
I followed the instruction and typed "make install" in terminal. This is the output:
dpkg -b pidesktop-base/ pidesktop-base.deb dpkg-deb: building package 'pidesktop-base' in 'pidesktop-base.deb'. sudo dpkg -i pidesktop-base.deb Selecting previously unselected package pidesktop-base. (Reading database ... 107088 files and directories currently installed.) Preparing to unpack pidesktop-base.deb ... Unpacking pidesktop-base (1.1.7) ... Setting up pidesktop-base (1.1.7) ... '/usr/bin/pd-check' -> '/usr/share/pidesktop/script/pd-check' '/usr/bin/pd-clonessd' -> '/usr/share/pidesktop/script/pd-clonessd' '/usr/bin/pd-bootssd' -> '/usr/share/pidesktop/python/pd-bootssd.py' '/usr/bin/pd-fixrtc' -> '/usr/share/pidesktop/python/pd-fixrtc.py' Created symlink /etc/systemd/system/multi-user.target.wants/pidesktop-powerkey.service → /lib/systemd/system/pidesktop-powerkey.service. Created symlink /etc/systemd/system/reboot.target.wants/pidesktop-reboot.service → /lib/systemd/system/pidesktop-reboot.service. Created symlink /etc/systemd/system/shutdown.target.wants/pidesktop-shutdown.service → /lib/systemd/system/pidesktop-shutdown.service. pidesktop-powerkey.service enabled enabled pidesktop-reboot.service enabled enabled pidesktop-shutdown.service enabled enabled File "/usr/share/pidesktop/python/pd-fixrtc.py", line 10 print command; ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(command)? dpkg: error processing package pidesktop-base (--install): installed pidesktop-base package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: pidesktop-base make: *** [Makefile:10: install] Error 1
I believe the error lies in the "pd-fixrtc.py" file. I am new to python so I am not sure where the problem lies. Any assistance would be appreciated.
The following is system information for my Raspberry Pi: OS: Raspbian GNU/Linux 11 (bullseye) armv7l Host: Raspberry Pi 3 Model B Plus Rev 1.3 Kernel: 6.1.21-v7+ Uptime: 45 mins Packages: 1428 (dpkg) Shell: bash 5.1.4 Resolution: 1920x1080 DE: LXDE Theme: PiXflat [GTK3] Icons: PiXflat [GTK3] Terminal: lxterminal Terminal Font: Monospace 16 CPU: BCM2835 (4) @ 1.400GHz Memory: 458MiB / 921MiB