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.

Running printf "Hello world" or "!#about" magic command succeeds but doesn't have any output

See original GitHub issue

Describe the bug

Running simple commands in a a dotnet interactive notebook succeeds but outputs no results:

https://i.imgur.com/iNjBAwo.mp4 https://i.imgur.com/39niKW4.mp4

Please complete the following:

Which version of .NET Interactive are you using?

% dotnet interactive --version
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.
  - The following frameworks were found:
      5.0.0-rc.1.20451.17 at [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
      5.0.0 at [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
      5.0.1 at [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=osx.11.0-x64

Dotnet interactive notebooks have previously been working.

  • OS

    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Frontend

    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jonsequiturcommented, Feb 17, 2021

@DavidZidar That’s a separate issue: #1070.

1reaction
kurt-mueller-osumccommented, Feb 16, 2021

Success!

Screen Shot 2021-02-16 at 1 25 28 PM

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get no output for very simple Hello World program?
Welcome to programming, and Stack Overflow! gcc hello.c. compiles the file and generates an executable file 'a.out', but does not execute it.
Read more >
Should one check for every little error in C?
In general, code should deal with exceptional conditions wherever it is appropriate. Yes, this is a vague statement.
Read more >
Most complex "Hello world" program you can justify [closed]
Write a "hello world" program which is as complex as possible under the condition that you can give a "justification" for every complexity...
Read more >
Makefile Tutorial By Example
hello: echo "Hello, World". Note: Makefiles must be indented using TABs and not spaces or make will fail. Here is the output of...
Read more >
An introduction to Debugging (in C and lldb), Part
Print statements — You use “print” (or “printf” or “echo” or whatever is the equivalent) to output some values while running the code....
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