MRU-COMP1701-dev / fopp-functions-first

Foundations of Python Programming: Functions First
GNU Free Documentation License v1.3
0 stars 3 forks source link

Extraneous error messages in section 2.17 ActiveCode activities. #22

Open NormandaleWells opened 10 months ago

NormandaleWells commented 10 months ago

Describe the bug The activities foppff_1_assess_ps_01_01 and foppff_1_assess_ps_01_02 in section 2.17 (Chapter Assessment) provide extraneous error messages.

To Reproduce Open section 2.17 (Chapter Assessment), enter this code in activity foppff_1_assess_ps_01_02:

num_chars = len(rv)

and click the Run button. The gray area shows no text (should there be some feedback there?), and the pink area below that has the text

An error occurred after the end of your code.
One possible reason is that you have an unclosed parenthesis or string.
Another possibility is that there is an error in the hidden test code.
Yet another is that there is an internal error.  The internal error message is: undefined

Expected behavior I suspect there should be a message in the gray area indicating success or failure of the exercise, and I wouldn't expect error messages in the pink area.

Additional context foppff_1_assess_ps_01_01 has the same issue, but has the additional issue (reported in a different issue) that the code from foppff_1_assess_addl_functions needs to be pasted in before it works.

kurmasz commented 9 months ago

I'm having this issue also.