googlesamples / assistant-sdk-python

Samples and bindings for the Google Assistant API
http://developer.google.com/assistant/sdk
Apache License 2.0
916 stars 320 forks source link

Failed to start gassistpi.service: Unit gassistpi.service has a bad unit file setting. #394

Open Kiranj95 opened 4 years ago

Kiranj95 commented 4 years ago

Why do I get this error??

I am pretty new to pi, linux and coding in general. So please ignore my ignorance.

Thanks in advance, Kiran_j

pi@kiranpi:~ $ sudo systemctl enable gassistpi.service pi@kiranpi:~ $ sudo systemctl start gassistpi.service Failed to start gassistpi.service: Unit gassistpi.service has a bad unit file setting. See system logs and 'systemctl status gassistpi.service' for details.

Inside the gassistpi.service

[Unit] Description=Google Assistant-Voice Wants=network-online.target After=network-online.target

[Service] Environment=VIRTUAL_ENV=/home/USER/env Environment=PATH=/home/USER/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ExecStart=/home/USER/env/bin/python -u /home/USER/GassistPi/src/main.py --project_id kiranpi01 --device_model_id kiranpi01-kiranpi-r43g0j ExecStart=/home/USER/env/bin/python -u /home/USER/GassistPi/src/pushbutton.py --project-id kiranpi01 --device-model-id kiranpi01-kiranpi-r43g0j

WorkingDirectory=/home/USER/ StandardOutput=inherit StandardError=inherit Restart=always User=USER

[Install] WantedBy=multi-user.target

Fleker commented 4 years ago

You should look for the gassist project for assistance. This repo is not directly related.