Hello, I installed alexapi but I do not get any sound from alexa
the speaker and microphone are working ok, its a usb headset with microphone,
this is the output of alexpi status
pi@raspberrypi:~ $ sudo systemctl status AlexaPi.service
● AlexaPi.service - Alexa client for all your devices
Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled; vendor pres
Active: failed (Result: exit-code) since Sat 2020-03-07 21:59:17 CET; 5min ag
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Process: 397 ExecStart=/usr/bin/python3 /opt/AlexaPi/src/main.py --daemon (cod
Main PID: 397 (code=exited, status=1/FAILURE)
Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist-
Mar 07 21:59:17 raspberrypi python3[397]: self.current_event = self.state()
Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist-
Mar 07 21:59:17 raspberrypi python3[397]: "expected , but found %
Mar 07 21:59:17 raspberrypi python3[397]: yaml.parser.ParserError: while parsing
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", l
Mar 07 21:59:17 raspberrypi python3[397]: expected , but found '<scal
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", l
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Main process exited, co
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Failed with result 'exi
lines 1-17/17 (END)...skipping...
● 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 Sat 2020-03-07 21:59:17 CET; 5min ago
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Process: 397 ExecStart=/usr/bin/python3 /opt/AlexaPi/src/main.py --daemon (code=exited, status=1/FAILURE)
Main PID: 397 (code=exited, status=1/FAILURE)
Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist-packages/yaml/parser.py", line 98, in check_event
Mar 07 21:59:17 raspberrypi python3[397]: self.current_event = self.state()
Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist-packages/yaml/parser.py", line 439, in parse_block_mapping_key
Mar 07 21:59:17 raspberrypi python3[397]: "expected , but found %r" % token.id, token.start_mark)
Mar 07 21:59:17 raspberrypi python3[397]: yaml.parser.ParserError: while parsing a block mapping
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", line 12, column 3
Mar 07 21:59:17 raspberrypi python3[397]: expected , but found ''
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", line 19, column 21
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Main process exited, code=exited, status=1/FAILURE
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Failed with result 'exit-code'.
~
Thank you for reporting an issue with AlexaPi.
Make sure you are running the latest version of AlexaPi, and look through issues before submitting.
Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.
In order to help troubleshooting, be sure to include the following information:
Hello, I installed alexapi but I do not get any sound from alexa
the speaker and microphone are working ok, its a usb headset with microphone, this is the output of alexpi status
pi@raspberrypi:~ $ sudo systemctl status AlexaPi.service ● AlexaPi.service - Alexa client for all your devices Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled; vendor pres Active: failed (Result: exit-code) since Sat 2020-03-07 21:59:17 CET; 5min ag Docs: https://github.com/alexa-pi/AlexaPi/wiki Process: 397 ExecStart=/usr/bin/python3 /opt/AlexaPi/src/main.py --daemon (cod Main PID: 397 (code=exited, status=1/FAILURE)
Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist- Mar 07 21:59:17 raspberrypi python3[397]: self.current_event = self.state() Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist- Mar 07 21:59:17 raspberrypi python3[397]: "expected, but found %
Mar 07 21:59:17 raspberrypi python3[397]: yaml.parser.ParserError: while parsing
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", l
Mar 07 21:59:17 raspberrypi python3[397]: expected , but found '<scal
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", l
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Main process exited, co
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Failed with result 'exi
lines 1-17/17 (END)...skipping...
● 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 Sat 2020-03-07 21:59:17 CET; 5min ago
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Process: 397 ExecStart=/usr/bin/python3 /opt/AlexaPi/src/main.py --daemon (code=exited, status=1/FAILURE)
Main PID: 397 (code=exited, status=1/FAILURE)
Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist-packages/yaml/parser.py", line 98, in check_event Mar 07 21:59:17 raspberrypi python3[397]: self.current_event = self.state() Mar 07 21:59:17 raspberrypi python3[397]: File "/usr/local/lib/python3.7/dist-packages/yaml/parser.py", line 439, in parse_block_mapping_key Mar 07 21:59:17 raspberrypi python3[397]: "expected, but found %r" % token.id, token.start_mark)
Mar 07 21:59:17 raspberrypi python3[397]: yaml.parser.ParserError: while parsing a block mapping
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", line 12, column 3
Mar 07 21:59:17 raspberrypi python3[397]: expected , but found ''
Mar 07 21:59:17 raspberrypi python3[397]: in "/etc/opt/AlexaPi/config.yaml", line 19, column 21
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Main process exited, code=exited, status=1/FAILURE
Mar 07 21:59:17 raspberrypi systemd[1]: AlexaPi.service: Failed with result 'exit-code'.
~
Thank you for reporting an issue with AlexaPi.
Make sure you are running the latest version of AlexaPi, and look through issues before submitting.
Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.
In order to help troubleshooting, be sure to include the following information:
Output of the audio debugging script.
http://alsa-project.org/db/?f=6b12184e7f8fd68ea7cff216cd4a7fbc0522a3f2
Your OS (including version) where you are running AlexaPi: Note: Raspbian older than Stretch is not supported!
latest version of raspbain
Your hardware platform and model you are running on:
Python release (
python3 --version
):Description of problem:
Expected:
Problem-relevant
config.yaml
entries:Steps to reproduce:
Traceback (if applicable):
Additional info: