RunestoneComponents icon indicating copy to clipboard operation
RunestoneComponents copied to clipboard

Java CodeLens not running in some unit 8 active codes

Open bhoffman0 opened this issue 5 years ago • 1 comments

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?

bhoffman0 avatar Jul 03 '20 21:07 bhoffman0

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.

bnmnetp avatar Jul 06 '20 01:07 bnmnetp