pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
548 stars 101 forks source link

pi-timolo won't start on RPi Zero W with Raspbian Stretch #73

Closed DrGlas closed 6 years ago

DrGlas commented 6 years ago

Hi!

First of all: Quite impressive project! It looks like it would fit my needs exactly, with many tweaking options. However, pi-timolo won't start. I have installed it using

curl -L https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo-install.sh | bash

and everything went fine. I then tried to start it using different methods:

  1. the shell script ./pi-timolo.sh start
  2. the python file ./pi-timolo.py
  3. via the menubox.sh

No error messages except for when I try to start via menubox: I then get a message "Failed to start pi-timolo.py. Please investigate problem"

I have made sure I use the standard config.py file.

I have also tested other time-lapse SW and verified my camera module is working.

Could it be incompatible with Stretch?

Best Regards, Nils Sweden

pageauc commented 6 years ago

I am running rpi3 with stretch with no issues. If you run from console ./pi-timolo.py and verbose=True in config.py you should get some status and/or error messages on console if python fails. Are you running stretch lite?

On Oct 26, 2017 4:38 PM, "DrGlas" notifications@github.com wrote:

Hi!

First of all: Quite impressive project! It looks like it would fit my needs exactly, with many tweaking options. However, pi-timolo won't start. I have installed it using

curl -L https://raw.github.com/pageauc/pi-timolo/master/ source/pi-timolo-install.sh | bash

and everything went fine. I then tried to start it using different methods:

  1. the shell script ./pi-timolo.sh start
  2. the python file ./pi-timolo.py
  3. via the menubox.sh

No error messages except for when I try to start via menubox: I then get a message "Failed to start pi-timolo.py. Please investigate problem"

I have made sure I use the standard config.py file.

  • Running a Raspberry Pi Zero W with camera module v2.
  • Raspbian Stretch

I have also tested other time-lapse SW and verified my camera module is working.

Could it be incompatible with Stretch?

Best Regards, Nils Sweden

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/73, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZIo0blvbXoGPNxD41I9m74-5vAKzks5swO2_gaJpZM4QILlF .

DrGlas commented 6 years ago

Interesting. I have Verbose=True, but when I run ./pi-timolo.py absolutely nothing happens. I'm running the full version of Stretch.

[EDIT] Well, I reinstalled and rebooted and it seems to work. At least i get some console output when I run pi-timolo.py. I'll check the media folder...

[EDIT2] Alright, I got it working and am capturing time-lapse images as we speak. No idea what the problem was, but apparently a re-install and reboot did the trick.

Thanks for great work; I will start investigating the possibilities asap!

pageauc commented 6 years ago

Very strange. You should get a pi-timolo version message as a bare minimum before most of the python libraries are loaded. Can you run other python programs. Can you run pi-timolo directly from python

python ./pi-timolo.py

Even if there was a problem with the camera module you will still get a python error message. No message indicates something is wrong. Could be a problem with SD card, permissions or a bad install of some kind. I am having trouble imagining what would cause no message to be displayed.

Let me know if you can run python interpreter or another python program?

eg python print(version) print("hello world") quit()

Claude ...

On Thu, Oct 26, 2017 at 6:22 PM, DrGlas notifications@github.com wrote:

Closed #73 https://github.com/pageauc/pi-timolo/issues/73.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/73#event-1312940916, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZCWfqn4w6YxX5XTJ3kqjhXYHTko5ks5swQY_gaJpZM4QILlF .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 6 years ago

sorry print(version) will not work. Was thinking of opencv version checking after importing cv2

Just see if python is installed OK and you can execute some python programs. Still think it might be SD card or problematic stretch install of some kind.

On Thu, Oct 26, 2017 at 9:53 PM, Claude Pageau pageauc@gmail.com wrote:

Very strange. You should get a pi-timolo version message as a bare minimum before most of the python libraries are loaded. Can you run other python programs. Can you run pi-timolo directly from python

python ./pi-timolo.py

Even if there was a problem with the camera module you will still get a python error message. No message indicates something is wrong. Could be a problem with SD card, permissions or a bad install of some kind. I am having trouble imagining what would cause no message to be displayed.

Let me know if you can run python interpreter or another python program?

eg python print(version) print("hello world") quit()

Claude ...

On Thu, Oct 26, 2017 at 6:22 PM, DrGlas notifications@github.com wrote:

Closed #73 https://github.com/pageauc/pi-timolo/issues/73.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/73#event-1312940916, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZCWfqn4w6YxX5XTJ3kqjhXYHTko5ks5swQY_gaJpZM4QILlF .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp