You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drew Lewis edited this page May 20, 2025
·
4 revisions
error: * PTX:BUG: Exercise component mis-labeled
This usually means that you have placed an <answer> within a <statement>. Unfortunately, this error doesn't tell you where the problem occurs, so it can be hard to find. You can use the following command in the terminal to list all of the places where <answer>s are neither a child of an <activity> or of a <task>:
xpath -e '//answer[not(parent::activity or parent::task)]' source/*/source/*/*.ptx