RunestoneInteractive / rs

A New Monorepo structure for Runestone
Other
40 stars 66 forks source link

Java CodeLens not running in some unit 8 active codes #88

Open bhoffman0 opened 4 years ago

bhoffman0 commented 4 years ago

Some of the active codes in CSAwesome Unit 8 on 2D arrays do not run with CodeLens. See ActiveCodes in https://runestone.academy/runestone/books/published/csawesome/Unit8-2DArray/topic-8-1-2D-arrays-Day2.html. The console errors are:

livecode.js:476 Uncaught TypeError: Cannot create property 'innerHTML' on string 'challenge-8-1-ascii-art_codelens' at Object. (livecode.js:476) at c (jquery.js:2) at Object.fireWith [as rejectWith] (jquery.js:2) at l (jquery.js:2) at XMLHttpRequest. (jquery.js:2)

I thought maybe it didn't like div_ids that started with numbers or had hyphens, but other div_ids with hyphens work. Any thoughts?

bnmnetp commented 4 years ago

No, thats not it.

This error message is coming when the call to the trace server is failing for some reason. But the code is wrong, so instead of an error message its crashing.

The bug is that I'm not constructing the message correctly. There may be a deeper bug as to why the trace cannot be created, but I'll fix this bug first. -- by next Saturday.