question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

archive.auto doesn't work with JupyterLab

See original GitHub issue

It seems that hv.archive.auto() doesn’t work with JupyterLab because it doesn’t allow Javascript execution:

    >>> hv.archive.auto()
    
    Javascript Error: IPython is not defined
    Automatic capture is now enabled. [2019-03-21 11:03:54]
    ...
    >>> hv.archive.export()
    
    Export name: '2019_03_21-11_03_54'
    Directory    '<snip>'

    If no output appears, please check holoviews.archive.last_export_status()
    Javascript Error: IPython is not defined
    
    >>> hv.archive.last_export_status()
    
    Status of the last call to holoviews.archive.export is unknown.
    (Re-execute this method once kernel status is idle.)

Is there a way to work around this limitation for JupyterLab notebooks?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gioarmacommented, Jun 21, 2020

@jbednar Yes, for a person like me who deals with writing reports and academic papers this functionality would be a game changer. I understand you have a lot of stuff to maintain and it’s not easy, but I hope you will be able to do it because this is key for making reproducible science easy.

1reaction
jlstevenscommented, Mar 25, 2019

Thinking about this more, it is likely that the only part that is tricky in jupyterlab is grabbing the notebook JSON state - not the export of the images etc. As a result, I can probably issue a warning when things fail which means it can work properly in classic notebook and it can mostly work in Jupyterlab.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IPython and Jupyter autocomplete not working
I use JupyterLab 3.0.6. I have ipython 7.19.0 and jedi 0.18 installed. As @DaveHalter indicated, better than <% config Completer.use_jedi = False> is...
Read more >
What to do when things go wrong - The Jupyter Notebook
First, have a look at the common problems listed below. If you can figure it out from these notes, it will be quicker...
Read more >
Troubleshooting in Python
If you are encountering problems using plotly with Dash please first ensure that you have upgraded dash to the latest version, which will...
Read more >
Run Jupyter notebooks in your workspace - Azure Machine ...
You can also launch Jupyter or JupyterLab from the notebook toolbar. Azure Machine Learning does not provide updates and fix bugs from Jupyter ......
Read more >
jupyter-archive
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found