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.

Custom cell metadata isn't saved to disk.

See original GitHub issue

Environment data

Version: 1.56.0-insider (user setup) Commit: 845efe5d8e31079cc858131c95c36103d9439e74 Date: 2021-04-09T09:50:06.816Z Electron: 11.4.2 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 10.0.19042

Jupyter extension version: v2021.6.732501275

Expected behaviour

  1. Install the .NET Interactive extension.
  2. Create a new notebook and select the .NET Interactive kernel and ensure the cell’s language is “C# (.NET Interactive)”
  3. Save the notebook.
  4. Open in notepad.

Expected: Cell metadata should look like

"metadata": {
  "dotnet_interactive": {
    "language": "csharp"
  }
}

Actual behaviour

Cell metadata is empty. We’re updating the metadata here that makes the object look like:

"metadata": {
  "custom": {
    "dotnet_interactive": {
      "language": "csharp"
    }
  }
}

But it’s not getting persisted to disk.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
colombodcommented, Apr 15, 2021

This is a big issue as every time a notebook is open the user needs to reselect all languages correctly. It is impacting a lot our user experience, @DonJayamanne do you have any sense of the work plan for this?

1reaction
colombodcommented, Apr 19, 2021

Yes

What should we do in the meanwhile? This is affecting all our users pretty significantly, do we need to point them at alternative file formats?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preventing a cell in a Jupyter notebook from saving to disk
I'm not aware of a way to do this without installing a Jupyter extension. ... in metadata and 'no-save' in metadata['tags']: cell['outputs'] ...
Read more >
Q: custom CD metadata not saved - Apple Discussions
This used to work. For a custom CD, I enter the CD name and the track info. Eject the disk, re-insert it, and...
Read more >
The Jupyter Notebook Format — IPython 3.2.3 documentation
Jupyter (né IPython) notebook files are simple JSON documents, containing text, source code, rich media output, and metadata. each segment of the document...
Read more >
Advanced metadata actions in Lightroom Classic
Learn how to work with metadata in Adobe Photoshop Lightroom Classic, ... Select the Unsaved Metadata option in the Cell Icons area.
Read more >
The Metadata Vanishes | Ball in your Court
Stored within the photos is a type of application metadata called EXIF ... their EXIF data would have remained in the file saved...
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