Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10589

Exception silently caught by Jupyter ROOT kernel

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Medium
    • Resolution: Unresolved
    • 6.18/04
    • None
    • Notebooks
    • None
    • SWAN

    Description

      When executing the following code in Jupyter, an exception is silently caught by the ROOT kernel and the code ends with a segmentation fault. When running the same code from the ROOT application, the message of the caught exception is displayed, as you can see in the transcript of the code execution below.

       


      root [0] ROOT::RDataFrame rd(10);
      root [1] h = *rd.Histo1D("foo");
      Error in TRint::HandleTermInput(): std::runtime_error caught: Unknown column: foo
      root [2] h.Draw()

      *** Break *** segmentation violation


       

      The message "Error in TRint::HandleTermInput(): std::runtime_error caught: Unknown column: foo" is not displayed when the code is run in a Jupyter notebook.

      The segmentation violation is the topic of a second ticket.

      The issue has been discussed in this ROOT talk thread .

       

      Philippe.

       

      Attachments

        Activity

          People

            etejedor Enric Tejedor Saavedra
            pgras Philippe Gras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: