There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
I am getting “execution expired” for this exercise (and I was only able to get to it by commenting out the previous one because it was also giving me “execution expired”).
Do you guys think that it is a codecademy website bug ? Because I have the same problem and I can’t understand what is wrong. I just tried your link and have also the same “execution expired” thing too.
I had the same results last night. Seems any statement using .gets causes the execution expired message. I tried commenting the statements out that include .gets, and just assigning values to variables, and it worked fine. I’m guessing there is a problem with the site. I clicked on the help icon at the bottom right of the console, and submitted a bug report. If everyone does the same, hopefully it will attract the attention necessary to fix the bug.
Oddly enough I’m using the default code that comes up on page one but when I try to run it it returns: (I actually keyed in ‘display’ – no quotes – and hit enter but it didn’t display the word on the screen and after a few seconds displayed “execution expired”. This has been the case every time the code uses variable.chomp The chomp seems to be the issue. I woulld really love some input on how to work around this. It seems to have been an issue for some time now, judging by the dates of previous posts.
What would you like to do?
– Type ‘add’ to add a movie.
– Type ‘update’ to update a movie.
– Type ‘display’ to display all movies.
– Type ‘delete’ to delete a movie.
execution expired
Actually its neither ‘gets’ nor ‘chomp’. I was reading thru older Forum entries and saw this little gem “Have you clicked in the terminal window?” it turns out that just because the cursor is blinking, its not in a position to gather any data. I clicked in the terminal window after clicking run, and was able to provide my input and the code ran just fine afterward. This little detail should be put in one of the FAQs (if it isn’t already) or make part of the course itself (if it isn’t already and I just missed it).