11-27-2015, 03:53 PM
Nice!
Did you checked the installation process? I'm not sure about the OS you're using, sorry.
Did you checked the installation process? I'm not sure about the OS you're using, sorry.
Thread Rating:
piScheduler -- A pilight extension for the daily switch plan
|
root@osmc:/home/pi/piSchedule7# ./piDiscover.py
pi@rpi1 ~/piSchedule7 $ sudo ./piSchedule.py
osmc@osmc:~$ cd /home/pi/piSchedule7
osmc@osmc:/home/pi/piSchedule7$ sudo ./piSchedule.py
Traceback (most recent call last):
File "./piSchedule.py", line 12, in <module>
from bottle import Bottle, run, route, static_file, view, template, \
ImportError: No module named bottle
osmc@osmc:/home/pi/piSchedule7$
from bottle import Bottle, run, route, static_file, view, template, \
get, post, request, debug
ImportError: No module named bottle
install_piSchedule7 100%[=====================>] 3.68K --.-KB/s in 0s
2015-11-27 20:15:19 (8.33 MB/s) - 'install_piSchedule7.sh' saved [3764/3764]
*** Installation of piSchedule *** rev.15-08-05
INFO - Download piSchedule etc .. to the directory
INFO - /home/pi/piSchedule7/ exists already.
INFO - get piScheduler python supporting software
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python
E: Package 'python-dev' has no installation candidate
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip
... piScheduler -- install python-dateutil
sudo: pip: command not found
... piScheduler -- install APScheduler
sudo: pip: command not found
... piScheduler -- install ephem
sudo: pip: command not found
... piScheduler -- install bottle
sudo: pip: command not found
INFO - System Updating
INFO - get piSchedule7 code
root@osmc:/home/pi/piSchedule7# ./piDiscover.py piDiscover pilight ['192.168.1.150', 5001, '7.0', '']
root@osmc:/home/pi/piSchedule7#
root@osmc:/home/pi/piSchedule7# ./piSchedule.py
Terminated
root@osmc:/home/pi/piSchedule7# service piSchedule status
* piSchedule.service - LSB: Start|Stop service for piSchedule
Loaded: loaded (/etc/init.d/piSchedule)
Active: active (exited) since Fri 2015-12-04 08:14:57 CET; 4s ago
Process: 3856 ExecStop=/etc/init.d/piSchedule stop (code=exited, status=0/SUCC ESS)
Process: 5259 ExecStart=/etc/init.d/piSchedule start (code=exited, status=0/SU CCESS)
Dec 04 08:14:57 osmc piSchedule[5259]: Starting system piSchedule daemon:.
Dec 04 08:14:57 osmc piSchedule[5259]: /home/pi/piSchedule7/piSchedule.py i...g.
Dec 04 08:14:57 osmc sudo[5265]: root : TTY=unknown ; PWD=/ ; USER=root ; C...py
Dec 04 08:14:57 osmc sudo[5265]: pam_unix(sudo:session): session opened for...0)
Dec 04 08:14:57 osmc piSchedule[5259]: Traceback (most recent call last):
Dec 04 08:14:57 osmc piSchedule[5259]: File "/home/pi/piSchedule7/piPrefs.p...in
Dec 04 08:14:57 osmc piSchedule[5259]: if fprefs['port'] == "":
Dec 04 08:14:57 osmc piSchedule[5259]: TypeError: list indices must be inte...tr
Hint: Some lines were ellipsized, use -l to show in full.
root@osmc:/home/pi/piSchedule7# service piSchedule status
* piSchedule.service - LSB: Start|Stop service for piSchedule
Loaded: loaded (/etc/init.d/piSchedule)
Active: active (exited) since Fri 2015-12-04 08:14:57 CET; 57s ago
Process: 3856 ExecStop=/etc/init.d/piSchedule stop (code=exited, status=0/SUCCESS)
Process: 5259 ExecStart=/etc/init.d/piSchedule start (code=exited, status=0/SUCCESS)
Dec 04 08:14:57 osmc piSchedule[5259]: Starting system piSchedule daemon:.
Dec 04 08:14:57 osmc piSchedule[5259]: /home/pi/piSchedule7/piSchedule.py is running.
Dec 04 08:14:57 osmc sudo[5265]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/home/pi/piSchedule7/piPrefs.py
Dec 04 08:14:57 osmc sudo[5265]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 04 08:14:57 osmc piSchedule[5259]: Traceback (most recent call last):
Dec 04 08:14:57 osmc piSchedule[5259]: File "/home/pi/piSchedule7/piPrefs.py", line 58, in main
Dec 04 08:14:57 osmc piSchedule[5259]: if fprefs['port'] == "":
Dec 04 08:14:57 osmc piSchedule[5259]: TypeError: list indices must be integers, not str
root@osmc:/home/pi/piSchedule7#