hoopsurfer / pidesktop

Collected files, drivers and documentation for the pidesktop case
MIT License
27 stars 19 forks source link

Error executing pd-clonessd #21

Closed MattiasC closed 5 years ago

MattiasC commented 5 years ago

When executing pd-clonessd I get the following errors:

sudo: /usr/share/pidesktop/python/pd_clonessd.py: command not found
sudo: /usr/share/pidesktop/python/pd_bootssd.py: command not found

listing the contents shows these files with '-' instead of '_'

user@host:~ $ cd /usr/share/pidesktop/python/
user@host:/usr/share/pidesktop/python $ ls
pd-bootssd.py  pd-clonessd.py  pd-fixrtc.py  pd-powerkey.py  pd-reboot.py  pd-shutdown.py

output of pd-check:

user@host:~ $ pd-check

 OS & Firmware versions:

raspberrypi-firmware soc:firmware: Attached to firmware from 2018-09-10 17:26
rpi_firmware_get_throttled: 1 callbacks suppressed
rpi_firmware_get_throttled: 1 callbacks suppressed
Linux 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 GNU/Linux
pidesktop

 Script files:

/usr/share/pidesktop/python:
total 36
drwxr-xr-x 2 1000 1000 4096 Sep 13 08:14 .
drwxr-xr-x 4 1000 1000 4096 Sep 13 08:14 ..
-rwxr-xr-x 1 1000 1000 1700 Apr 11 06:43 pd-bootssd.py
-rwxr-xr-x 1 1000 1000 1125 Apr 11 06:43 pd-clonessd.py
-rwxr-xr-x 1 1000 1000 4393 Apr 11 07:01 pd-fixrtc.py
-rwxr-xr-x 1 1000 1000  970 Apr 11 06:43 pd-powerkey.py
-rwxr-xr-x 1 1000 1000  866 Apr 11 06:43 pd-reboot.py
-rwxr-xr-x 1 1000 1000 1690 Apr 11 06:43 pd-shutdown.py

/usr/share/pidesktop/script:
total 20
drwxr-xr-x 2 1000 1000 4096 Sep 13 08:14 .
drwxr-xr-x 4 1000 1000 4096 Sep 13 08:14 ..
-rwxr-xr-x 1 1000 1000  621 Apr 11 08:38 pd-check
-rwxr-xr-x 1 1000 1000  175 Apr 11 06:43 pd-clonessd
-rwxr-xr-x 1 1000 1000   70 Apr 11 06:43 pd-rtcsync

 Links to commands:

lrwxrwxrwx 1 root root 41 Sep 13 08:14 /usr/bin/pd-bootssd -> /usr/share/pidesktop/python/pd-bootssd.py
lrwxrwxrwx 1 root root 36 Sep 13 08:14 /usr/bin/pd-check -> /usr/share/pidesktop/script/pd-check
lrwxrwxrwx 1 root root 39 Sep 13 08:14 /usr/bin/pd-clonessd -> /usr/share/pidesktop/script/pd-clonessd
lrwxrwxrwx 1 root root 40 Sep 13 08:14 /usr/bin/pd-fixrtc -> /usr/share/pidesktop/python/pd-fixrtc.py

 Systemd services:

pidesktop-powerkey.service enabled
pidesktop-reboot.service   enabled
pidesktop-shutdown.service enabled

 System and hardware clocks:

      Local time: Thu 2018-09-13 08:21:01 CEST
  Universal time: Thu 2018-09-13 06:21:01 UTC
        RTC time: n/a
       Time zone: Europe/Stockholm (CEST, +0200)
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no
      DST active: yes
 Last DST change: DST began at
                  Sun 2018-03-25 01:59:59 CET
                  Sun 2018-03-25 03:00:00 CEST
 Next DST change: DST ends (the clock jumps one hour backwards) at
                  Sun 2018-10-28 02:59:59 CEST
                  Sun 2018-10-28 02:00:00 CET

 Package status:

Package: pidesktop-base
Status: install ok installed
Priority: optional
Section: free
Maintainer: hoopsurfer
Architecture: all
Version: 0.1.6
Description: Pi DeskTop Case Power+RTC+mSATA Support