project-alice-assistant / HermesLedControl

Provides an easy way to control your leds in an Hermes environment
GNU General Public License v3.0
83 stars 41 forks source link

code=exited, status=1/Failure #113

Closed Nailik closed 3 years ago

Nailik commented 3 years ago

Hi,

i try to run this on a rpi zero with the respeaker mic2 hat.

when starting the service i get this output

 hermesledcontrol.service - Hermes Led Control
   Loaded: loaded (/etc/systemd/system/hermesledcontrol.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-10-22 14:07:42 BST; 5s ago
 Main PID: 913 (python3)
    Tasks: 1 (limit: 877)
   CGroup: /system.slice/hermesledcontrol.service
           └─913 /home/pi/hermesLedControl_v2.0.15/venv/bin/python3 main.py --hermesLedControlConfig=/home/pi/.config/hermesLedControl/configuration.yml

Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,245 [MainThread] - [INFO] - Loading configurations
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,271 [MainThread] - [INFO] - Loaded 14 hardware references
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,276 [MainThread] - [INFO] - - Mqtt server set to 192.168.178.87
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,281 [MainThread] - [INFO] - - Mqtt port set to 12183
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,290 [MainThread] - [INFO] - - Mqtt username set to "hidden"
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,295 [MainThread] - [INFO] - - Mqtt password set to "hidden"
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,310 [MainThread] - [INFO] - - Client id set to wohnzimmer
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,315 [MainThread] - [INFO] - - Hardware set to ReSpeaker 2-Mics
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,320 [MainThread] - [INFO] - - Using google as pattern with 3 leds
Oct 22 14:07:47 raspberrypi python3[913]: 2021-10-22 14:07:47,330 [MainThread] - [INFO] - Initializing leds controller
pi@raspberrypi:~ $ sudo systemctl status hermesledcontrol
● hermesledcontrol.service - Hermes Led Control
   Loaded: loaded (/etc/systemd/system/hermesledcontrol.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Fri 2021-10-22 14:07:49 BST; 2s ago
  Process: 913 ExecStart=/home/pi/hermesLedControl_v2.0.15/venv/bin/python3 main.py --hermesLedControlConfig=/home/pi/.config/hermesLedControl/configuration.yml (code=exited, status=1/FAIL
 Main PID: 913 (code=exited, status=1/FAILURE)

Because of this issue https://github.com/project-alice-assistant/HermesLedControl/issues/14

i tried to install zmq with pip3 install zmq, the installation finished but i still got the issue.

Hope you can somehow help me.

Nailik commented 3 years ago

It was caused by the logging issue https://github.com/project-alice-assistant/HermesLedControl/issues/112 and later i got the mqtt error https://github.com/project-alice-assistant/HermesLedControl/issues/100