javajon / katacoda-solver

Solver is a command-line interface (CLI) that helps authors create O'Reilly Challenges. The Solver utility helps authors organize the verifications, the myriad of hints, and provides an enhanced solutions mechanism for rapid testing. Solver is not required, but it can shorten your time for producing quality Challenges.

Home Page:https://katacoda.com/scenario-examples/courses/challenges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: In testing a challenge, run decrypt command BEFORE running solver view, next, all, and until

javajon opened this issue · comments

There is a mild bug in solver which will be fixed in the next revision.

However, in the meantime just be sure to run the decrypt command BEFORE running solver view, next, all, and until. Running some commands before the decrypt creates a bogus file. If you happen to run a command before the decrypt command or encounter this problem again just delete the file:

rm /tmp/solutions-sourcer.sh

The command "solver view 1" was also producing the message: "Solutions not found for requested task 1"

You can clear out the bug with:

rm /tmp/solutions-sourcer.sh
solver sol -d K0MS1DPSEK833Q13
solver view 1

And you will see the solution appear as expected. At this point solver next, all, and until will work..

The simple thing to remember is just do the decrypt command first just after the scenario starts.