<< return to Vizycam.com

Web page didn't start after reboot

I just rebooted my vizy and the web server didn’t come up. I noticed in the logs -

Oct 17 17:50:35 vizy systemd[1]: Started Vizy server.
Oct 17 17:50:38 vizy python3[1523]: Running Vizy Power Monitor...
Oct 17 17:50:39 vizy python3[1523]: #033[31m
Oct 17 17:50:39 vizy python3[1523]: Unhandled exception:
Oct 17 17:50:39 vizy python3[1523]: Traceback (most recent call last):
Oct 17 17:50:39 vizy python3[1523]:   File "/home/pi/vizy/scripts/vizy_power_monitor", line 118, in <module>
Oct 17 17:50:39 vizy python3[1523]:     PowerMonitor()
Oct 17 17:50:39 vizy python3[1523]:   File "/home/pi/vizy/scripts/vizy_power_monitor", line 37, in __init__
Oct 17 17:50:39 vizy python3[1523]:     self.v = VizyPowerBoard()
Oct 17 17:50:39 vizy python3[1523]:   File "/usr/local/lib/python3.7/dist-packages/vizy-0.0.81-py3.7.egg/vizy/vizypowerboard.py", line 122, in __init__
Oct 17 17:50:39 vizy python3[1523]:     hwv = self.hw_version()
Oct 17 17:50:39 vizy python3[1523]:   File "/usr/local/lib/python3.7/dist-packages/vizy-0.0.81-py3.7.egg/vizy/vizypowerboard.py", line 199, in hw_version
Oct 17 17:50:39 vizy python3[1523]:     return self.bus.read_i2c_block_data(self.addr, 1, 2)
Oct 17 17:50:39 vizy python3[1523]: TimeoutError: [Errno 110] Connection timed out
Oct 17 17:50:39 vizy python3[1523]: #033[0m
Oct 17 17:50:39 vizy systemd[1]: vizy-power-monitor.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 17:50:39 vizy systemd[1]: vizy-power-monitor.service: Failed with result 'exit-code'.
Oct 17 17:50:39 vizy systemd[1]: vizy-power-monitor.service: Service RestartSec=100ms expired, scheduling restart.
Oct 17 17:50:39 vizy systemd[1]: vizy-power-monitor.service: Scheduled restart job, restart counter is at 47.
Oct 17 17:50:39 vizy systemd[1]: Stopped Vizy power monitor.

Another reboot and it came up okay.

Hmm, it’s as if the power board didn’t feel like talking. When this happened, were you able to safe power-down by holding down the button?

Edward