PDA

View Full Version : Tutorials say "you didn't follow the instructions carefully"


dduarte
02-01-2012, 12:57 PM
I think I figured out a bug and a fix today on the Defending Naptime tutorial. At step 17 or 18, many of my students had a message pop up saying "The Alice tutorial thinks maybe you didn't follow the instructions carefully. Please back up to your mistake or restart." They tried backing up, fixing, restarting, but it kept telling them they made a mistake.

I originally had them set the style in the preferences to "Java with color". I had them change that back to "Alice style" and the tutorials seemed to work fine after that.

fourbros
02-01-2012, 01:23 PM
that happend to me to (3 months ago, or more)

jediaction
02-01-2012, 03:58 PM
It is probably one of the hundreds of bugs that Alice has. If changing the color scheme worked, then continue doing that. I have actually never heard about this problem and it never occured when I completed the tutorials, but it is probably just a simple bug. I just attempted the tutorial to see what your problem is. Alright, I tested it. The tutorial says you need to be exact or the step will not work. Make sure all your students are making the bunny move "up" "1 meter" and not left or right or anyother direction.

aikmin
02-05-2012, 09:23 PM
Did you notice that all the methods' selection (UP, DOWN, etc.) are in CAPS? If you change the items in your Java Style.py file, it will fix your tutorial problem.

like so,
edu.cmu.cs.stage3.alice.core.Direction.LEFT : "left",
edu.cmu.cs.stage3.alice.core.Direction.RIGHT : "right",
edu.cmu.cs.stage3.alice.core.Direction.UP : "up",
edu.cmu.cs.stage3.alice.core.Direction.DOWN : "down",

... keep working on the rest...

edu.cmu.cs.stage3.alice.core.Direction.FORWARD : "FORWARD",
edu.cmu.cs.stage3.alice.core.Direction.BACKWARD : "BACKWARD",

jediaction
02-06-2012, 07:48 AM
Did you notice that all the methods' selection (UP, DOWN, etc.) are in CAPS? If you change the items in your Java Style.py file, it will fix your tutorial problem.

like so,
edu.cmu.cs.stage3.alice.core.Direction.LEFT : "left",
edu.cmu.cs.stage3.alice.core.Direction.RIGHT : "right",
edu.cmu.cs.stage3.alice.core.Direction.UP : "up",
edu.cmu.cs.stage3.alice.core.Direction.DOWN : "down",

... keep working on the rest...

edu.cmu.cs.stage3.alice.core.Direction.FORWARD : "FORWARD",
edu.cmu.cs.stage3.alice.core.Direction.BACKWARD : "BACKWARD",


Well that proves that changing that style really does help. Thanks Aikmin

dduarte
02-06-2012, 09:27 AM
Interesting. I'm not going to mess around with my .py files, but hopefully other people will find this to fix their tutorial problems. It's a tough first day in Alice when half the kids can't get past the tutorials. But, once we abandoned them we started having fun. As soon as a kid figured out how to make a wizard summoning ovens from thin air we got a good chuckle and forgot the tutorial incident :).