Giter VIP home page Giter VIP logo

Comments (4)

ian-r-rose avatar ian-r-rose commented on May 31, 2024

Does this happen for all notebooks, or a select few? Some (very) old notebooks that are hosted on GitHub use an older version of the notebook format that is not supported in JupyterLab. That appears to be the case with the one in your screenshot. You can verify this by opening it with the text editor: it has a "worksheets" field instead of a "cells" field.

from jupyterlab-github.

beenje avatar beenje commented on May 31, 2024

You are correct, the issue is only with notebooks that have a "worksheets" field.
I was surprised because if I download the same notebook and open it from the local filesystem in JupyterLab, I have no issue. If I then save it, it's converted to the new format.

Do you know why the file can be opened locally but not using this extension?

from jupyterlab-github.

ian-r-rose avatar ian-r-rose commented on May 31, 2024

I believe that internally the jupyter notebook server is converting from the old format on the fly. Since this extension pulls directly from GitHub (not routing through the server), it does not get the benefit of that conversion. Unfortunate, but I don't see a way around it at the moment.

from jupyterlab-github.

beenje avatar beenje commented on May 31, 2024

OK, thanks. I don't think that not being able to open old format is a big issue. It was more by curiosity.
I don't see the need to keep that open.

from jupyterlab-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.