RunestoneInteractive / fopp

Foundations of Python Programming
https://runestone.academy/runestone/static/fopp/index.html
38 stars 120 forks source link

activecode is not working in development #343

Closed mutairibassam closed 2 years ago

mutairibassam commented 3 years ago

Describe the bug activecode is not working in development.

To Reproduce Steps to reproduce the behavior:

  1. Go to 10.10 Reading in data from a CSV File section
  2. Scroll down to 'the first activecode
  3. See error, you are not able to test the activecode.

Expected behavior activecode should allow the developer to test the code snippets.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Javascript Console Failed to load resource: net::ERR_BLOCKED_BY_CLIENT ReadingCSVFiles.html:51 Uncaught SyntaxError: Unexpected token '{' pixel.gif:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT RunestoneBanner%7B%7B=banner_num%7D%7D.png:1 Failed to load resource: the server responded with a status of 404 (File not found) jquery.js:2 jQuery.Deferred exception: eBookConfig is not defined ReferenceError: eBookConfig is not defined at HTMLDocument. (http://localhost:8000/_static/runestone.bundle.js?v=1980ca51def921204b31:2:1871) at e (http://localhost:8000/_static/jquery.js:2:30005) at t (http://localhost:8000/_static/jquery.js:2:30307) undefined S.Deferred.exceptionHook @ jquery.js:2 jquery.js:2 Uncaught ReferenceError: eBookConfig is not defined at HTMLDocument. (bookfuncs.js:229) at e (jquery.js:2) at t (jquery.js:2) sentry.io/api/69811/envelope/?sentry_key=31109f033e4e4e079fb4ac6469656eb5&sentry_version=7:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

bnmnetp commented 3 years ago

Some of runestone's functionality requires the full runestone server to work properly. This is one of them. If you are using runestone serve then it will not work, as that is really just a previewer.