{"action":"created","issue":{"url":"https://api.github.com/repos/alexa-pi/AlexaPi/issues/81","repository_url":"https://api.github.com/repos/alexa-pi/AlexaPi","labels_url":"https://api.github.com/repos/alexa-pi/AlexaPi/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/alexa-pi/AlexaPi/issues/81/comments","events_url":"https://api.github.com/repos/alexa-pi/AlexaPi/issues/81/events","html_url":"https://github.com/alexa-pi/AlexaPi/issues/81","id":188326448,"number":81,"title":"Pi Not starting to Listen","user":{"login":"Karansheth","id":15181757,"avatar_url":"https://avatars.githubusercontent.com/u/15181757?v=3","gravatar_id":"","url":"https://api.github.com/users/Karansheth","html_url":"https://github.com/Karansheth","followers_url":"https://api.github.com/users/Karansheth/followers","following_url":"https://api.github.com/users/Karansheth/following{/other_user}","gists_url":"https://api.github.com/users/Karansheth/gists{/gist_id}","starred_url":"https://api.github.com/users/Karansheth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karansheth/subscriptions","organizations_url":"https://api.github.com/users/Karansheth/orgs","repos_url":"https://api.github.com/users/Karansheth/repos","events_url":"https://api.github.com/users/Karansheth/events{/privacy}","received_events_url":"https://api.github.com/users/Karansheth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-09T19:06:12Z","updated_at":"2016-11-10T22:32:54Z","closed_at":"2016-11-10T22:32:54Z","body":"I did the setup as mentioned and have used usb webcam's microphone , i tested it using \"arecord -D plughw:1 test.wav\" command and the microphone works.\r\n\r\nWhen the Pi boots up it Say's Hello but after that no response to any word so i tried debugging as mentioned in wiki here are the logs:\r\nAfter stopping the service \r\n\r\n\"systemctl status AlexaPi.service\"\r\n\r\n● AlexaPi.service - Alexa client for all your devices\r\n   Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled)\r\n  Drop-In: /etc/systemd/system/AlexaPi.service.d\r\n           └─restart.conf\r\n   Active: inactive (dead) since Wed 2016-11-09 15:13:02 UTC; 2s ago\r\n     Docs: https://github.com/alexa-pi/AlexaPi/wiki\r\n  Process: 576 ExecStart=/usr/bin/python /opt/AlexaPi/src/main.py (code=exited, status=0/SUCCESS)\r\n Main PID: 576 (code=exited, status=0/SUCCESS)\r\n\r\n\r\n\"/opt/AlexaPi/src/main.py -d\"\r\n\r\nChecking Internet Connection...\r\nConnection OK\r\nPlay_Audio Request for: /opt/AlexaPi/src/resources/hello.mp3\r\nPlayer State: State.Opening\r\nPlayer State: State.Playing\r\nPlayer State: State.Ended\r\n\r\n\r\n\"sudo journalctl -u AlexaPi.service\"\r\n\r\n-- Logs begin at Wed 2016-11-09 18:02:26 UTC, end at Wed 2016-11-09 18:23:15 UTC. --\r\nNov 09 18:02:31 raspberrypi systemd[1]: Starting Alexa client for all your devices...\r\nNov 09 18:02:31 raspberrypi systemd[1]: Started Alexa client for all your devices.\r\nNov 09 18:03:05 raspberrypi python[552]: Home directory not accessible: Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/alexapi/.config/pulse//daemon.conf': Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: Home directory not accessible: Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/alexapi/.config/pulse//daemon.conf': Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: Home directory not accessible: Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/alexapi/.config/pulse//daemon.conf': Permission denied\r\nNov 09 18:03:05 raspberrypi python[552]: W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied\r\nNov 09 18:09:47 raspberrypi systemd[1]: Stopping Alexa client for all your devices...\r\nNov 09 18:09:47 raspberrypi python[552]: Checking Internet Connection...\r\nNov 09 18:09:47 raspberrypi python[552]: Connection OK\r\nNov 09 18:09:47 raspberrypi systemd[1]: Stopped Alexa client for all your devices.\r\nNov 09 18:11:22 raspberrypi systemd[1]: Starting Alexa client for all your devices...\r\nNov 09 18:11:23 raspberrypi systemd[1]: Started Alexa client for all your devices.\r\nNov 09 18:11:33 raspberrypi python[1163]: Home directory not accessible: Permission denied\r\nNov 09 18:11:33 raspberrypi python[1163]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/alexapi/.config/pulse//daemon.conf': Permission denied\r\nNov 09 18:11:33 raspberrypi python[1163]: W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied\r\nNov 09 18:11:33 raspberrypi python[1163]: Home directory not accessible: Permission denied\r\nNov 09 18:11:33 raspberrypi python[1163]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/alexapi/.config/pulse//daemon.conf': Permission denied\r\nNov 09 18:11:33 raspberrypi python[1163]: W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied\r\n    \r\nIt would be very nice if anyone can help me\r\n\r\nThanks in Advance\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/alexa-pi/AlexaPi/issues/comments/259827610","html_url":"https://github.com/alexa-pi/AlexaPi/issues/81#issuecomment-259827610","issue_url":"https://api.github.com/repos/alexa-pi/AlexaPi/issues/81","id":259827610,"user":{"login":"renekliment","id":156399,"avatar_url":"https://avatars.githubusercontent.com/u/156399?v=3","gravatar_id":"","url":"https://api.github.com/users/renekliment","html_url":"https://github.com/renekliment","followers_url":"https://api.github.com/users/renekliment/followers","following_url":"https://api.github.com/users/renekliment/following{/other_user}","gists_url":"https://api.github.com/users/renekliment/gists{/gist_id}","starred_url":"https://api.github.com/users/renekliment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renekliment/subscriptions","organizations_url":"https://api.github.com/users/renekliment/orgs","repos_url":"https://api.github.com/users/renekliment/repos","events_url":"https://api.github.com/users/renekliment/events{/privacy}","received_events_url":"https://api.github.com/users/renekliment/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T22:32:54Z","updated_at":"2016-11-10T22:32:54Z","body":"I'm gonna be pretentious and close this as a duplicate of #38. Please post any further comments over there. Thanks!"}}
{"actor":{"display_login":"renekliment"}}