Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

SimpleSimon Group Title

Am on Probset 5 Have coded title trigger I ran ps_5 test and got full error set! I then ran Ps5 Solutions code (with code below triggers commented out ) and got same errors with test. Text file with errors to follow! Can anyone help Not sure if using test correctly ows

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Error Messages in text file

    • 2 years ago
    1 Attachment
  2. Chris2332 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Isn't that Ps6?

    • 2 years ago
  3. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I Hope it is PS5 Looking at RSS feeds!

    • 2 years ago
  4. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ocw or edx?:P

    • 2 years ago
  5. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    please post a piece of you code so we will be able to help you:)

    • 2 years ago
  6. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    code so far attached although test code reports errors as in first response to post the code attached here runs in idle without error message

    • 2 years ago
    1 Attachment
  7. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I have had 'behaviour probs with Idle since downloading Enthought sweet to get pylab functionality (See my last 'now closed' but unsolved Q) 1) Idle icon in dock oscillates when I run Idle. After some random time and use this stops and icon returns to stable state 1a) I also get Rocket Icon appearing now (I did not before) 2) alt-3 used to insert commenting , #, now not only enters # but also alarmingly deletes code! 3) unable to 'open with' .py files with idle. (Have tried methods to set llways open with Previously Idle worked well on my 2011 iMac with up to date macOS However I could not find detailed instructions on how to load necessary files for pylab functionality and my attempts failed. Despite strange behaviour Enthought has given me pylab functionality My impression is the Enthought sweet does not link files correctly with mac OS Therefore I have copied test sweet and pasted this on end of my ps5.py solution This has at least has worked in part. I have attached my ps5sol and text file of response to test I would appreciate any help

    • 2 years ago
  8. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ok 1st about your idle problems: i have windows and never really used a Mac OS so cant be much of help to you unfortunately. you should maybe send a message to the edx group asking help with correct enthought installation (or directly to the enthought support ).

    • 2 years ago
  9. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    i think 1st step is to resolve this error: testNewsStoryGetLink (__main__.ProblemSet5NewsStory) ... ERROR and here is your problem: def __init__(self, guid, title, subject, summary, link): self.guid = guid self.title = title self.subject = subject self.summary = summary you havent initialized link.

    • 2 years ago
  10. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    correct it and tell me if it helps with the other steps aswell.

    • 2 years ago
  11. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    http://pastebin.com/x1EeDyGN see this also for your next error. after those 2 are fixed we will look to the next errors you get.

    • 2 years ago
  12. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Thankyou MicroBot have initialised Link success with test news Story bits my logic triggers work so need to work on title summary and subject triggers. about to go to paste bin!

    • 2 years ago
  13. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    yes please paste again the corrected code so we can see it together.

    • 2 years ago
  14. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    MicroBot thanks again your solution almost perfect infact needed to change to #convert word to lowercase word = self.word.lower() #Need self.word not just word to call word from IVAR rather than self.word = .... To declare word and give it a value Thanks ++ Simon

    • 2 years ago
  15. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    great to hear:) gl!

    • 2 years ago
  16. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Worked fine with test pasted in same script below my code Interestingly I tried once again to run test code from separate script still did not work! I guess this must relate to my Enthought issues with mac I did contact Enthought a few days ago (I have added post to FAQ question) They suggested prob was specific to Mac OS I am slightly concerned because that post was suggesting that course uses Enthought from this fall. There must be a solution because Prof Guttag is using a mac in lectures. I wish I could access his mac set up instructions!

    • 2 years ago
  17. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    do you have a 64bit OS? if so its says in the instruction not to download and use 64 bit even if u have it...use the 32 one...if im not wrong.

    • 2 years ago
  18. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    On the subsequent page, select the download file Mac. Do NOT use the 64 bit version, even if your operating system is 64-bit.

    • 2 years ago
  19. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Yep I think it is Will go back and review installation

    • 2 years ago
  20. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ok :)

    • 2 years ago
  21. SimpleSimon Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    MAY BE USEFUL FOR ANYONE WITH A MAC I have had problems since installing Enthought In Summary Can only open .py files by using open command from within Idle(cant open directly from .py files) When I open files, finder top bar is not replaced by Idle top bar until click on script Alt-3 not only types # but also mysteriously deletes code Icon in dock oscillates way beyond opening programme Seems as though Idle no longer links files properly so wont respond to other necessary files in .py containing folders I have just deleted Enthought Folder and reinstalled (from Enthought) only version for mac (which is 32 bit) in installation NOW recommended for this course. EPD Free installer downloads for edX "Intro to Computer Science and Programming" students All above problems persist with new installation. I am running OSX 10 8 2 I will post this again on Open Questions And I will once again contact enthought I hope someone from course will see this. thanks MicroBot for your help I will now close this so that I may post specific Mac problem as Open question

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.