• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
piScheduler -- A pilight extension for the daily switch plan
Hey there!

Today I tried to install pySchedule onto my up and running but freshly installed pilight 7 on Raspberry Pi B running Jessie.

When i typed the AUTO installation command
cd ~ && wget https://dl.dropboxusercontent.com/u/3544...hedule7.sh -O install_piSchedule7.sh && bash install_piSchedule7.sh
in root mode the script failed at unzipping "piSchedule.zip, piSchedule.zip.zip or piSchedule.zip.ZIP.".

The installation went on like this:

Code:
pi@nanoLicht ~ $ sudo su
root@nanoLicht:/home/pi# cd ~  &&  wget https://dl.dropboxusercontent.com/u/35444930/piSchedule7/install_piSchedule7.sh -O install_piSchedule7.sh && bash install_piSchedule7.sh
--2015-12-15 10:31:20--  https://dl.dropboxusercontent.com/u/35444930/piSchedule7/install_piSchedule7.sh
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 108.160.173.165
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|108.160.173.165|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3701 (3.6K) [text/x-sh]
Saving to: ‘install_piSchedule7.sh’

install_piSchedule7.sh               100%[=====================================================================>]   3.61K  --.-KB/s   in 0s    

2015-12-15 10:31:21 (7.42 MB/s) - ‘install_piSchedule7.sh’ saved [3701/3701]


   *** Installation of piSchedule    (7.1)  ***     rev.15-12-07

   INFO - Download piSchedule etc .. to the directory

  
   INFO - /home/pi/piSchedule7/ does NOT EXISTS!
   INFO - /home/pi/piSchedule7/ will be created.
   INFO - Make dir for piSchedule logging  /home/pi/piSchedule7/logs
   INFO - get  piScheduler python supporting software
Reading package lists... Done
Building dependency tree      
Reading state information... Done
python-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree      
Reading state information... Done
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
... piScheduler -- install python-dateutil
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python2.7/dist-packages
Cleaning up...
... piScheduler -- install APScheduler
Requirement already satisfied (use --upgrade to upgrade): apscheduler in /usr/local/lib/python2.7/dist-packages
Cleaning up...
... piScheduler -- install bottle
Requirement already satisfied (use --upgrade to upgrade): bottle in /usr/local/lib/python2.7/dist-packages
Cleaning up...
   INFO - System Updating
   INFO - get piSchedule7 code
unzip:  cannot find or open piSchedule.zip, piSchedule.zip.zip or piSchedule.zip.ZIP.
   INFO - reset prefs file 'piSchedule.prefs.json'
chmod: cannot access ‘/home/pi/piSchedule7/piSchedule.py’: No such file or directory
chmod: cannot access ‘/home/pi/piSchedule7/piSchedule.sh’: No such file or directory
chmod: cannot access ‘/home/pi/piSchedule7/piPrefs.py’: No such file or directory
chmod: cannot access ‘/home/pi/piSchedule7/sunrise_sunset.py’: No such file or directory
cp: cannot stat ‘/home/pi/piSchedule7/piSchedule.sh’: No such file or directory
update-rc.d: error: initscript does not exist: /etc/init.d/piSchedule

     *** piSchedule is ready to be used ***

     *** Test piSchedule.py in piSchedule7 with
           cd ~/piSchedule7
           ./piSchedule.py

     ... See the Bottle prompt for the server:port to be used with piSchedule
         like this

                Bottle v0.12.8 server starting up (using WSGIRefServer())...
                Listening on http://192.168.178.50:5005/
                Hit Ctrl-C to quit.

     ... Terminate with Cntrl C   .. may need typing twice


     *** Start 'piSchedule' using
            sudo service piSchedule start
         Check with
            sudo service piSchedule status

         Usage of 'service', see also ~/piSchedule7/piSchedule.sh


     *** Move over to your browser and start the piSchedule home page
         using the server:port as prompted with the piSchedule start.

     *** For more detailed information see also
         DE:   https://dl.dropboxusercontent.com/u/35444930/piSchedule7/DE/piScheduleOverview.html
         EN:   https://dl.dropboxusercontent.com/u/35444930/piSchedule7/EN/piScheduleOverview.html

How I fixed it:
So i went to /piSchedule/ and unzipped piSchedule7.1.zip by typing:

sudo unzip ./piSchedule7.1.zip

Afterwards I ran
sudo bash install_piSchedule7.sh
to run the installation script again.
Successful Smile

I think there might be a Typo or something inside the script, that's why I'm sharing this, hoping this is somehow helpful Smile

Have a good day!

Edit: Actually I found the Problem inside the script. It is trying to unzip piSchedule7.zip instead of piSchedule7.1.zip.

This should be fairly easy to fix Smile
 
Reply
  


Messages In This Thread
piScheduler -- A pilight extension for the daily switch plan - by Sico93 - 12-15-2015, 05:14 PM
piSchedule error - by donbucknall - 01-02-2016, 05:30 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Connect pilight to your hue bridge hannemann 4 3,449 10-26-2020, 02:08 PM
Last Post: Michelebup
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 2,139 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 1,967 11-21-2017, 11:15 PM
Last Post: curlymo
Wink PHP class using pilight socket connection Dan 0 1,860 11-03-2016, 11:41 AM
Last Post: Dan
  Controlling a RGB Led Strip over pilight mightyuhu 2 2,940 08-06-2016, 09:10 PM
Last Post: JohannK
  HomeBridge with pilight on raspbian Jurre 10 14,197 04-06-2016, 07:45 AM
Last Post: tomtom
  pilight voice commands kniazio 11 7,449 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 2,547 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  pilight config editor ktams 16 9,990 01-06-2016, 02:42 PM
Last Post: ktams
  command processing between pilight and openhab royhofman1989 3 3,341 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:


Browsing: 2 Guest(s)