anonymous
  • 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?
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • 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.
anonymous
  • 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.

Looking for something else?

Not the answer you are looking for? Search for more explanations.