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

Hello I am working on the Spring 2011 course working on PS5. I get an error in my interpreter when running the code. "Unhandled exception in thread started by " Did anyone else get this?

OpenStudy (anonymous):

Can you post the code you're using that gives you the exception? Upload the file as a plain text if the formatting get's messed up by the comment system.

OpenStudy (anonymous):

If you run the code as it is you'll get that exception error (at least I got it, too). 1) For the process(url) to run okay, you have to implement the NewsStory class (problem 1) 2) For the rest you need your Triggers implemented For the time being I just implemented NewsStory and commented out the code in the bottom (from "SLEEPTIME...") and accessed process(url) directly like this: news = process(" http://news.google.com/?output=rss ") for element in news: print element It works fine.

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!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!