Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 28 Online
OpenStudy (anonymous):

Problem Set 5. The news_gui.py module keeps raising an unhandled exception error. Anybody have a solution for this?

OpenStudy (anonymous):

what is the exception? please post the traceback using dpaste.com or pastie.org .....

OpenStudy (anonymous):

I am running the code exactly as provided on the course website. The error is: Unhandled exception in thread started by <function main_thread at 0x0240CCF0> It seems to be a problem with the news_gui module and threading. You can still complete the problem set and produce a viable program, but you will continue to see this error at the bottom of your output.

OpenStudy (anonymous):

This guy had the same problem: http://stackoverflow.com/questions/10017593/python-tkinter-unhandled-exception-in-thread-started-by-function-main-thread-at But the solutions on there aren't working for me.

OpenStudy (anonymous):

i did the EDX verdion of this pset which is structured a bit differently. i would start by sprinkling some try/excepts around main_thread and probably in Popup() have the except clauses print something maybe have the main_thread try/excepts raise a custom exception that is caught in Popup() and have the Popup() except clause print something to the window that pops up. make sure the except clauses print or pass on enuff information to let you know where it is happening. have you completed all the ToDo's in the code?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!