Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Interactive cell output is marked as unknown. #6192

Closed
brettfo opened this issue Jun 7, 2021 · 2 comments
Closed

.NET Interactive cell output is marked as unknown. #6192

brettfo opened this issue Jun 7, 2021 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@brettfo
Copy link
Member

brettfo commented Jun 7, 2021

Environment data

  • VS Code version: 1.57.0-insider
  • Jupyter Extension version (available under the Extensions sidebar): latest
  • Python Extension version (available under the Extensions sidebar): N/A
  • OS (Windows | Mac | Linux distro) and version: Win 10 latest
  • Python and/or Anaconda version: N/A
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Jupyter server running: N/A

Steps to reproduce:

  1. Install the .NET Interactive extension.
  2. Run the command: ".NET Interactive : Create new blank notebook".
  3. Select "Create as '.ipynb'"
  4. Select "C#".
  5. Execute the code 1+1 in the cell and wait for the result 2 to be displayed.
  6. Save the notebook to disk.
  7. Open the .ipynb in notepad.

Expected:

The cell's output type is specified as "unknown" where according to the spec the type should be one of stream, display_data, execute_result, or error.

@brettfo brettfo added the bug Issue identified by VS Code Team member as probable bug label Jun 7, 2021
@DonJayamanne
Copy link
Contributor

Thanks @brettfo based on the teams conversation i'll be doing the following:

  • stdout & stderror will go with stream
  • Error output items will go into error
  • Rest will go into display_data

@IanMatthewHuff
Copy link
Member

Validated. Looks like a display_data type.

image.png

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants