Skip to content

Problems with pd-fixrtc.py #34

Description

@kpwillis

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions