Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jigsaw in IPython does not generate nor run code (Blockly) #199

Open
noobcode opened this issue Mar 2, 2020 · 0 comments
Open

Jigsaw in IPython does not generate nor run code (Blockly) #199

noobcode opened this issue Mar 2, 2020 · 0 comments

Comments

@noobcode
Copy link

noobcode commented Mar 2, 2020

I am trying to use the notebook Jigsaw in IPython.ipynb. However, these are the problems I am encountering:

  1. executing %jigsaw Python --workspace workspace1, I get the browser console error

VM168:106 GET http://localhost:8888/workspace1.xml 404 (Not Found)).

On the Blockly interface, I get the following browser console errors...

  1. clicking the button Run
VM48:84 Uncaught TypeError: Cannot read property 'notebook' of undefined
  at HTMLDocument.document.jigsaw_generate (eval at evalInContext (index.js:8), <anonymous>:84:39)
  at HTMLButtonElement.onclick (workspace1.html?_xsrf=2|afe048d7|55c8173e907ca90944da77eacd067a53|1582811607&1583148546111:400)
  1. clicking the button Generate Python Code
Uncaught TypeError: Cannot read property 'parentNode' of undefined
    at HTMLDocument.document.jigsaw_get_cell (eval at evalInContext (index.js:8), <anonymous>:113:32)
    at HTMLDocument.document.jigsaw_generate (eval at evalInContext (index.js:8), <anonymous>:80:43)
    at HTMLButtonElement.onclick (workspace1.html?_xsrf=2|afe048d7|55c8173e907ca90944da77eacd067a53|1582811607&1583148546111:401)
  1. clicking the button Clear Cell Output
Uncaught TypeError: Cannot read property 'parentNode' of undefined
    at HTMLDocument.document.jigsaw_get_cell (eval at evalInContext (index.js:8), <anonymous>:113:32)
    at HTMLDocument.document.jigsaw_clear_output (eval at evalInContext (index.js:8), <anonymous>:125:35)
    at HTMLButtonElement.onclick (workspace2.html?_xsrf=2|afe048d7|55c8173e907ca90944da77eacd067a53|1582811607&1583148516824:402)

PS: using Google Chrome with the Ignore X-Frame extension installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant