atom-notebook icon indicating copy to clipboard operation
atom-notebook copied to clipboard

ViewRegistry.addViewProvider is deprecated.

Open shafreeck opened this issue 9 years ago • 8 comments

atom.views.addViewProvider now takes 2 arguments: a model constructor and a createView function. See docs for details.

ViewRegistry.addViewProvider (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:52:18)
Object.activate (/Users/shafreeck/.atom/packages/jupyter-notebook/lib/main.js:51:16)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26)

shafreeck avatar Jun 07 '16 12:06 shafreeck

atom.views.addViewProvider now takes 2 arguments: a model constructor and a createView function. See docs for details. Report Issue ViewRegistry.addViewProvider - /Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:50:18 Object.activate - /Users/srinathv/.atom/packages/jupyter-notebook/lib/main.js:51:16 Package.activateNow - /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:191:19 - /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:164:32 Package.measure - /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:94:15 - /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:157:26

srinathv avatar Jan 31 '17 23:01 srinathv

This repo is not being actively maintained 🙁 In the meantime, I suggest that you look at hydrogen to run code inline in Atom's text editor, nteract (a new Jupyter notebook client built using Electron, React, Redux, RxJS), Jupyter Notebook, and JupyterLab.

Having said that, nteract is currently extracting its many components into separate packages which will allow them to be reused and assembled to create new apps. When I have the time, I would like to use them to completely refactor this project.

gnestor avatar Feb 25 '17 18:02 gnestor

This is fixed by pull request #66

JHonaker avatar May 29 '17 14:05 JHonaker

Can we get this pushed to the apm network? I am on jupyter-notebook v0.0.9 with no updates available through atom or apm and still getting this error.

BenjaminHCCarr avatar Jun 09 '17 16:06 BenjaminHCCarr

@JHonaker Thanks!

gnestor avatar Jun 09 '17 17:06 gnestor

@BenjaminHCCarr It's currently listed on apm: https://atom.io/packages/jupyter-notebook

However, this project is not being actively maintained, but we're looking for help!

gnestor avatar Jun 09 '17 17:06 gnestor

I meant the jupyter/atom-notebook#66 fix.

I know it's not active, but to make it work in the atom repo would be great.

BenjaminHCCarr avatar Jun 10 '17 05:06 BenjaminHCCarr

Oh ok, v0.0.10 is published to apm 👍

gnestor avatar Jun 10 '17 19:06 gnestor