Question Authors' Forum

Pb installing Code runner python 3 exemples

Picture of Richard Lobb
Re: Pb installing Code runner python 3 exemples
by Richard Lobb - Thursday, 8 December 2016, 7:42 AM

Hi Nicolas

Firstly would you mind carrying out the following steps, please, because the use of something other than an adaptive behaviour is the usual and common cause of that error.

Navigate to the category containing your question in the Question Bank, then:

  1. Click the Preview icon for that question (magnifying glass)
  2. Scroll down to the Attempt options section
  3. Select "Adaptive mode" in the How questions behave dropdown.
  4. Click Start again with these options [did you miss this step, perhaps?]
  5. When the page refreshes, enter your answer in the question answer box.
  6. Click Check.
The wording of the error message is from a slightly older version of CodeRunner. I'd suggest you upgrade to the latest version. In fact, if you don't mind living slightly closer to the bleeding edge, you could checkout the Development branch on Github, rather than the Master Branch. The Development branch is now the Version 3.1 Release Candidate, and is pretty stable. We're running it on our production systems. It has a few nice new features including a Preview capability and an option to reload the student's answer box with a skeleton answer or extra instructions. Also, version 3.1 forces use of Adaptive Behaviour no matter what behaviour is chosen for the quiz, so the problem you're having (I think) shouldn't occur in future.