[Hot News] [SOLVED]: Raspberry Pi - "Unhandled exception in thread started by" Python error message

[Hot News] [SOLVED]: Raspberry Pi - "Unhandled exception in thread started by" Python error message
Di Posting Oleh : Crew Blog
Kategori : ELECTRONICS FAQ Q&A RASPBERRY PI TECHNOLOGY TUTORIALS


When you try to run a python script on your Raspberry Pi, you might encounter an error that reads along the line of:

"Unhandled exception in thread started by xxxxxxx" where xxxx could be any of your system module.


What this error really means is that, in your Raspberry Pi Python script that you are trying to run, you need to add an error handling mechanism.

i.e. you need to introduce "try" and "except" catch mechanisms in your code that is doing some sensitive system related operation that might throw an exception.

The sentence "Unhandled exception in thread started by xxxxxxx" means exactly this in the sense that you have received an exception from your working thread and there was no code present in your script to handle this exception.