anonymous
  • anonymous
Why does Python crash when I run PS5 (Spring 2011)? When I run the test everything is ok. I've done everything except part 4 (user-specified triggers) and it says that it should work by now.
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
Anyone?
anonymous
  • anonymous
you didn't post your code. the question you asked probably wasn't what you intended. if it should work it should work so something is wrong and if you want us to de-bug or troubleshoot it for you, you need to post your code and ask more specific questions. i imagine that anyone reading this forum that isn't posting a similar question does not have a problem with their ps5 solutions
anonymous
  • anonymous
@David Can you provide more information by adding some code Just copy your code and paste it here like `YOUR_CODE_HERE` Then we'll be able to help you

Looking for something else?

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

More answers

anonymous
  • anonymous
pls use a code pasting site like: http://dpaste.com http://pastebin.com http://codepad.org select Python for syntax hi-lighting
anonymous
  • anonymous
Sorry for the delay but wasn't able to post it sooner. http://dpaste.com/794541/
anonymous
  • anonymous
what is not happening? I got two news stories as soon as i ran it then it slept and polled and slept and ........... seems to be working
anonymous
  • anonymous
kinda cool
anonymous
  • anonymous
i can change the triggers in the main_thread function and get different stories
anonymous
  • anonymous
I just completed the last part (Part 4 - http://dpaste.com/795168/ ) and I stil have the same problem. When I run it,it says ''Python has stop working".
anonymous
  • anonymous
I already added '()' in line 336 but it still crashes.
anonymous
  • anonymous
Can it crash if it returns too many news? It appears to crash when I use 'Syria' as a trigger.
anonymous
  • anonymous
it is not crashing when i use it with Syria as a trigger - i am using v 2.7.2 I'm not getting any hits on Syria today here are my triggers http://dpaste.com/795200/
anonymous
  • anonymous
try to play with it in the shell/idle use ctrl-c to stop the main loop and try to run the process function (see line 14 of this post) - http://dpaste.com/795203/ then you can see if that is working
anonymous
  • anonymous
It is working now thanks.
anonymous
  • anonymous
what was it??
anonymous
  • anonymous
I am not sure. After I fixed the lack of brackets, I saved, closed and opened again and it was good to go.
anonymous
  • anonymous
:)

Looking for something else?

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