takluyver / nbopen

Open a Jupyter notebook in the best available server
BSD 3-Clause "New" or "Revised" License
304 stars 58 forks source link

new release #21

Closed flying-sheep closed 9 years ago

flying-sheep commented 9 years ago

jupyter is out and nbopen 0.2 still uses ipython only

takluyver commented 9 years ago

It's not a priority - we've shimmed the IPython imports for now, so it still works (I'm still using it). I'll update the imports at some point.

flying-sheep commented 9 years ago

for me it doesn’t:

/usr/lib/python3.4/site-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
  "`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
Traceback (most recent call last):
  File "/usr/bin/nbopen", line 3, in <module>
    main()
  File "/usr/lib/python3.4/site-packages/nbopen.py", line 49, in main
    nbopen(args.filename, args.profile)
  File "/usr/lib/python3.4/site-packages/nbopen.py", line 26, in nbopen
    server_inf = find_best_server(filename, profile)
  File "/usr/lib/python3.4/site-packages/nbopen.py", line 14, in find_best_server
    servers = [si for si in notebookapp.list_running_servers(profile=profile) \
TypeError: list_running_servers() got an unexpected keyword argument 'profile'
takluyver commented 9 years ago

oh, right, I see. I'd forgotten I'd actually made a release of it, I just run from git.

takluyver commented 9 years ago

There you are, 0.3

flying-sheep commented 9 years ago

thanks! :smile: