Crashes when asking for weather
See original GitHub issueIn order to help troubleshooting, be sure to include the following information:
Your OS (including version) where you are running AlexaPi:
Rasbian stretch
Your hardware platform and model you are running on:
Raspberry Pi 3B
Python release (python2 --version
):
Python 2.7.13
Description of problem:
There is a Traceback when asking for the weather or the temperature. Other queries seem to work fine. Location has been set via alexa.amazon.com. That site also shows that Amazon is receiving the query for the weather.
Expected:
Not a crash
Problem-relevant config.yaml
entries:
Steps to reproduce:
- “Alexa, what is the weather”
- “Alexa, what is the temperature”
Traceback (if applicable):
Aug 29 08:36:31 alexa1 python[1017]: Traceback (most recent call last):
Aug 29 08:36:31 alexa1 python[1017]: File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
Aug 29 08:36:31 alexa1 python[1017]: self.run()
Aug 29 08:36:31 alexa1 python[1017]: File "/usr/lib/python2.7/threading.py", line 754, in run
Aug 29 08:36:31 alexa1 python[1017]: self.__target(*self.__args, **self.__kwargs)
Aug 29 08:36:31 alexa1 python[1017]: File "/opt/AlexaPi/src/main.py", line 542, in trigger_process
Aug 29 08:36:31 alexa1 python[1017]: alexa_speech_recognizer(audio_stream)
Aug 29 08:36:31 alexa1 python[1017]: File "/opt/AlexaPi/src/main.py", line 351, in alexa_speech_recognizer
Aug 29 08:36:31 alexa1 python[1017]: process_response(resp)
Aug 29 08:36:31 alexa1 python[1017]: File "/opt/AlexaPi/src/main.py", line 442, in process_response
Aug 29 08:36:31 alexa1 python[1017]: with open(filename, 'wb') as f:
Aug 29 08:36:31 alexa1 python[1017]: IOError: [Errno 2] No such file or directory: '/tmp/AlexaPi-runtime-wQt9e2/4855a0d9-51b0-4879-a
Additional info:
Issue Analytics
- State:
- Created 6 years ago
- Comments:29 (4 by maintainers)
Top Results From Across the Web
Apple Watch crashes when asked about the weather
Now here comes the problem: the latest Apple Watch has a bug that causes it to crash when you do this. If you...
Read more >Series 3 Crashes When Asked About Weather : r/AppleWatch
Okay, I think I've figured it out. It's a bug related to the end of Daylight Saving Time. If I ask for the...
Read more >Weather app on iOS16 crashes. - Apple Support Communities
Weather app on iOS 16 crashing when trying to delete locations on iPhone SE3. Reinstalled weather app and rebooted phone, still crashing when ......
Read more >Weather app crashes - Microsoft Community
1. In the search box, type troubleshooting. 2. Click on view all and select Windows store app. 3. Click next and follow the...
Read more >Kansas City drivers asked to slow down as crashes increase
MoDOT says it has about 2,400 plow drivers out working to clear roads across the state Thursday morning. FOX4 Weather: View the latest...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Backup your /opt/AlexaPi/src/main.py and try the attached one after unzipping it Let us know if it worked. Maybe you’ve hit another strange case.
main.zip
Im having the same issue as @mariuszkobak. Every once in a while ill get this:
[6e60e7d8] filesystem access error: cannot open file /tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3 (No such file or directory) [6e60e7d8] core access error: File reading failed [6e60e7d8] core access error: VLC could not open the file “/tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3” (No such file or directory). [63b00d58] core input error: open of `file:///tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3’ failed [63b00d58] core input error: Your input can’t be opened [63b00d58] core input error: VLC is unable to open the MRL ‘file:///tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3’. Check the log for details.
Any idea’s?