alexa-pi / AlexaPi

Alexa client for all your devices! # No active development. PRs welcome # consider https://github.com/respeaker/avs instead
MIT License
1.33k stars 396 forks source link

Need help identifying problem #482

Open sneakyswin opened 5 years ago

sneakyswin commented 5 years ago

Your OS (including version) where you are running AlexaPi: Note: Raspbian older than Stretch is not supported!

Raspbian GNU/Linux 10 "Buster"

Your hardware platform and model you are running on:

Raspberry Pi 3

Python release (python3 --version):

2.7.16

Description of problem:

I've been trying to set this up for days but I have no clue what error I am getting here

AlexaPi.service - Alexa client for all your devices
   Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-09-25 21:28:17 EDT; 8min ago
     Docs: https://github.com/alexa-pi/AlexaPi/wiki
  Process: 2506 ExecStart=/usr/bin/python3 /opt/AlexaPi/src/main.py --daemon (code=exited, status=1/FAILURE)
 Main PID: 2506 (code=exited, status=1/FAILURE)

Sep 25 21:28:14 raspberrypi systemd[1]: Started Alexa client for all your devices.
Sep 25 21:28:17 raspberrypi python3[2506]: /opt/AlexaPi/src/main.py:71: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is 
Sep 25 21:28:17 raspberrypi python3[2506]:   config = yaml.load(stream)
Sep 25 21:28:17 raspberrypi python3[2506]: Traceback (most recent call last):
Sep 25 21:28:17 raspberrypi python3[2506]:   File "/opt/AlexaPi/src/main.py", line 199, in <module>
Sep 25 21:28:17 raspberrypi python3[2506]:     im = importlib.import_module('alexapi.playback_handlers.' + config['sound']['playback_handler'] + "handler", package=None
Sep 25 21:28:17 raspberrypi python3[2506]: KeyError: 'playback_handler'
Sep 25 21:28:17 raspberrypi systemd[1]: AlexaPi.service: Main process exited, code=exited, status=1/FAILURE
Sep 25 21:28:17 raspberrypi systemd[1]: AlexaPi.service: Failed with result 'exit-code'.