Closed mkals closed 6 years ago
Me too
Same here.
Me too
same
same
Up, same, me too
same
+1
+1
+1
+1
Bump
+1
+1
+1
+2
Oh, simply remove the '}' at that line can get rid of the exception, but after doing so the layout gets really ugly
How to remove the '}'
Any update?
+1
+1
bumpy bump
wtf?!?
+1
+1
+1
+1
+1
+1
+1
When do they want to address this?
Please try to delete {
in the main.js
file as mentioned #68 You should be able to find this file here: /Users/USERNAME/.atom/packages/jupyter-notebook/lib
This will fix this issue.
Line 34 inside main.js at /home/$USER/.atom/packages/jupyter-notebook/lib
activate(state) {
// console.log('Activated');
fixPath();
this.openerDisposable = atom.workspace.addOpener(openURI);
this.commands = atom.commands.add('.notebook-cell atom-text-editor', 'jupyter-notebook-atom:run', this.run);
atom.views.addViewProvider(NotebookEditor,
model => {
let el = document.createElement('div');
el.classList.add('notebook-wrapper');
let viewComponent = ReactDOM.render(<NotebookEditorView store={model} />, el);
return el;
}
}); // *** delete the right side curly brace at the beginning of line ***
},
Check here: https://github.com/cloutiertyler/atom-notebook/commit/cf2ab0e66a8e7b470b7d88a03191bcaed477bf2a
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
++1 ... that was such an easy fix. someone needs to issue a PR for this and get it merged already.
++
The ugliest thing I saw after removing "}" from main.js. Sorry this is not a solution!
Now the error message is gone and so did the design of the notebook ... rip :cry:
++
+1
+1
Hello,
I get this same error message, both when installing directly through GitHub as described here and when going through the plugin manager.
Is there a trick I could do to make it work? Any help would be greatly appreciated!
Atom: 1.18.0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.6 Thrown From: jupyter-notebook package 0.0.10
Stack Trace
Failed to load the jupyter-notebook package
Commands
Non-Core Packages