alexa-pi / AlexaPiDEPRECATED

DEPRECATED - Use https://github.com/alexa-pi/AlexaPi instead ...Turn a Raspberry Pi into an Alexa Client
https://github.com/alexa-pi/AlexaPi
MIT License
587 stars 439 forks source link

BUG: I've been running version1.1 and it seems to work fine until running a skill breaks it #108

Closed fernando-vera closed 7 years ago

fernando-vera commented 8 years ago

Update: I'm able to replicate the bug consistently everytime. All you have to do is run a skill that requires you to answer back such as the teacher skill. If you run through the set of questions until it finishes, the next time you ask it any question you will get the "I'm sorry I'm having trouble please try in a little while" error. Leaving Alexa alone for a while even without restarting it will eventually clear the error and it will work again. This could be a long time like an hour. This is on version1.1 using raspberry pi 2 or 3. I'm hopping someone else can tell me if they have the same issue.

Hi,

First I want to thank you for porting this over I know its a lot of work. I wanted to give some feedback. It looks like radio is working with this version. As you said in another comment timers and alarms aren't supported on this version of the API. I did get something odd happen. Alexa will work fine for maybe 15 minutes playing around with it then it will say "I'm sorry I'm having trouble please try in a little while"

This is what gets printed to the terminal: Recording... Recording Finished. Sending Speech Request... Processing Request Response... JSON String Returned: {"messageBody": {"directives": [{"namespace": "SpeechSynthesizer", "name": "speak", "payload": {"contentIdentifier": "amzn1.as-ct.v1.#ACRI#ErrorNotifier_cd6f174c-8722-4fa3-a104-92c4f56a68db", "audioContent": "cid:ErrorNotifier_cd6f174c-8722-4fa3-a104-92c4f56a68db_1589464909"}}]}, "messageHeader": {}} Play_Audio Request for: /home/pi/Downloads/AlexaPi/tmpcontent/ErrorNotifier_cd6f174c-8722-4fa3-a104-92c4f56a68db_1589464909.mp3 Player State: State.Opening Player State: State.Playing Player State: State.Ended Ready to Record.

I tried this both on a raspberry pi 2 and 3. On more than one network. It has happened consistently every time I run it. It will give the same error every-time after I begin getting it and I have managed to clear it by reinstalling Alex although this doesn't always fix it. I think it may have to do something with running an app. I tried running two apps a game show app and the daily show app. It will work fine some time after running the app so its not clear if that is the cause. I have tried hard and soft resets but it doesn't seem to get rid of the problem. I'm still new to the raspberry pi ecosystem and new to python so I'll try to see if I figure something out although I'm hoping someone can help me out here.

Thank you!

renekliment commented 8 years ago

Can you see if it works in the new upstream (https://github.com/alexa-pi/AlexaPi)? If we're fixing it, it would most probably be over there. Thanks!

renekliment commented 7 years ago

This has been fixed over at the new repo, closing.