Skip to content

Error messages in from jupyter execution have regressed #8849

@cpcloud

Description

@cpcloud

Bug description

In previous versions of quarto, failed notebook cell execution used to show the entire exception.

In version 1.5.x (not sure where exactly this changed), no exception is being shown, making it cumbersome to debug, since I have to copy and paste each line into a script and run that (or run each line individually).

Steps to reproduce

Run any quarto document with python code that raises an exception.

Expected behavior

I would expect the exception raised from the cell to be shown.

Actual behavior

This is what I see

image

Your environment

  • Linux
  • Quarto 1.5.13

Quarto check output

❯ quarto check
⚠️   The `--unstable` flag is deprecated and will be removed in Deno 2.0. Use granular `--unstable-*` flags instead.
Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags
Quarto 1.5.13
[✓] Checking versions of quarto binary dependencies...
warning: Use of deprecated "Deno.run()" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.
      Pandoc version 3.1.11: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.40.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.13
      Path: /nix/store/24fadk4a702a9dqyaykm169w7rc3li5h-quarto-1.5.13/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

⚠️   The `Deno.dlopen` API was used with `--unstable` flag. The `--unstable` flag is deprecated and will be removed in Deno 2.0. Use granular `--unstable-ffi` instead.
Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags
[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.13
      Path: /nix/store/j2ar9vfm11mclq2alng5ysmh36wgkl43-python3-3.10.13-env/bin/python3.10
      Jupyter: 5.7.1
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.3.2
      Path: /nix/store/jw6pipk7qnn86f7rlpyd171l7zviv2bn-R-4.3.2/lib/R
      LibPaths:
        - /nix/store/181rd1hsi5b111hfg6ck81wkzkzm6p03-r-boot-1.3-28.1/library
        - /nix/store/c8jrbl1yzjmyfyvwna2qjwazx06z4hzv-r-class-7.3-22/library
        - /nix/store/hd8a3ii252nr2mdsf2lnlk4cdsqxqcfd-r-MASS-7.3-60/library
        - /nix/store/bpz8089g012cv72lnzlz3irypk7gj4xv-r-cluster-2.1.6/library
        - /nix/store/3bg0ghpqc2hb67das7x8cp3hjdy7lws4-r-codetools-0.2-19/library
        - /nix/store/j7bff3ya0vpawmnz5dwqzixqgvl9282j-r-foreign-0.8-86/library
        - /nix/store/dhnvcbr5525xsvmp38sy4mwa6p212dkd-r-KernSmooth-2.23-22/library
        - /nix/store/qj8ysk1prs9pig8k4f82hnsscybjsg60-r-lattice-0.22-5/library
        - /nix/store/3pf5skwlalrrrwbkc5jrqbvvi30bhbnd-r-Matrix-1.6-4/library
        - /nix/store/z02fd87b7l9pacsxw1kgcf0hq2v02881-r-mgcv-1.9-1/library
        - /nix/store/ds22w0lxlrnr8p89r2jqqhf25zxjm153-r-nlme-3.1-164/library
        - /nix/store/ym9pqwd4f8hh8rj62r24h7z717cgacsk-r-nnet-7.3-19/library
        - /nix/store/jq9sggiygw4n8b879sh4gygax7qql0gb-r-rpart-4.1.23/library
        - /nix/store/dwwbpvhmdjcxjvmbr4gj0wkpaf16zrii-r-spatial-7.3-17/library
        - /nix/store/qwj0f4glp4h5y2br1pf6wkklw9g78dkq-r-survival-3.5-7/library
        - /nix/store/qgl32by55g8s7vjswb8wlxrxkrgk13j7-r-dplyr-1.1.4/library
        - /nix/store/j0bqr2iiv2n0mpqsqzsvwj57s3g61nl2-r-cli-3.6.2/library
        - /nix/store/v3w31m4knfbmi1jl2m49kj76yhzb3p3k-r-generics-0.1.3/library
        - /nix/store/al2fblhlglsd4w1lp21wax1fib3frznh-r-glue-1.6.2/library
        - /nix/store/ny52xh5w8cpccqxrv0sg2zc7z3drxfz9-r-lifecycle-1.0.4/library
        - /nix/store/78b16gxpwq379qdgxd1d8wbc5qyq90fw-r-rlang-1.1.2/library
        - /nix/store/mwvi4gwd8v6pwgs7cdryibahqg35p0vg-r-magrittr-2.0.3/library
        - /nix/store/bhzgf0bmrxi3bn5cs4z0mwcqycymn3s3-r-pillar-1.9.0/library
        - /nix/store/5zawh9qcc0bgpnswmwiq816gwgbd05g6-r-fansi-1.0.6/library
        - /nix/store/gkisvk7vk5k0l16dglwx6pahrjbyc7nf-r-utf8-1.2.4/library
        - /nix/store/fb33h3adhhmzggw26mi2mcffq1kql312-r-vctrs-0.6.5/library
        - /nix/store/biagj9b7fp937w98h95a37x9sbxz2w0q-r-R6-2.5.1/library
        - /nix/store/vx5iiv1a86hwn49z0pcdl0km83fbxq9m-r-tibble-3.2.1/library
        - /nix/store/qs6d3l8hq5m69ygaq5l2mmx5y30jvs7g-r-pkgconfig-2.0.3/library
        - /nix/store/c4yrnfmhcs5zphnn7bxvm47r5lagbg3d-r-tidyselect-1.2.0/library
        - /nix/store/vp1jik7pl2z4zm7rbd6yjsaxcgikrjxm-r-withr-2.5.2/library
        - /nix/store/rfvw6fs4bcxkpc56ym3yldgh6vjyh7fr-r-reticulate-1.34.0/library
        - /nix/store/zrv5s66nshx1zik56ppaqjgdmnwdb063-r-here-1.0.1/library
        - /nix/store/xksl2m7pvizm5p0z2pks61zrmkn94py7-r-rprojroot-2.0.4/library
        - /nix/store/40b778fardkpbhmnsgci0k70jq007891-r-jsonlite-1.8.8/library
        - /nix/store/7rg0qdb6070ys83f58psb1j067s9fxj4-r-png-0.1-8/library
        - /nix/store/b1j4kxh0dlvldmdhn5sa8m4i5534pxmx-r-rappdirs-0.3.3/library
        - /nix/store/msiibqggsxl2nz1dfaw2wiy3v4aqb7k9-r-Rcpp-1.0.12/library
        - /nix/store/c2gxyh8yqwrv793a44gs68js59cy4m02-r-RcppTOML-0.2.2/library
        - /nix/store/6p6n5pqzjckp73vqgv8wcri6gygqm7x7-r-rmarkdown-2.25/library
        - /nix/store/a7klpdkqhk0a8k4k7j08l964rkpmhzwj-r-bslib-0.6.1/library
        - /nix/store/151r76f11b0dsmc04l1vy8mrj7s51rqg-r-base64enc-0.1-3/library
        - /nix/store/xyp0y3wx7xhkjx6qcm30ggs5z3rhysln-r-cachem-1.0.8/library
        - /nix/store/mzk2akbwb2ym6bmzc716zc8jgb1xssz8-r-fastmap-1.1.1/library
        - /nix/store/45yn670gkl7fqx3f15cvfnm0b6v343mq-r-htmltools-0.5.7/library
        - /nix/store/dxkzcads2naxr3i9g0ff4pc3ih5wphf7-r-digest-0.6.33/library
        - /nix/store/189v8bd5gc0xdrbr8yh0ac6shddlnq1p-r-ellipsis-0.3.2/library
        - /nix/store/7nhh7r5xh68kyy2xsyh3pykxvmdk0ay1-r-jquerylib-0.1.4/library
        - /nix/store/888wl7dxqpby9r1aw1agr8ji0svbk4f3-r-memoise-2.0.1/library
        - /nix/store/j25fprg17ric5ylgi0vgnf68adf850v8-r-mime-0.12/library
        - /nix/store/iml3f3r268s77021myfda6qw4pfgjs1h-r-sass-0.4.8/library
        - /nix/store/vrkbb7czpglzck3p4lgj40vxgrhxf6wv-r-fs-1.6.3/library
        - /nix/store/fdj7k4zdvkjvzkz8vggjs7ym6g0xmcn3-r-evaluate-0.23/library
        - /nix/store/wrcpj9xj9iwbdmfbqbsc48lyqbij3wk3-r-fontawesome-0.5.2/library
        - /nix/store/2ycc6rrd79wb4wgswwxf5pxqgp7a6rpd-r-knitr-1.45/library
        - /nix/store/82lvdhdyl72amzzmd9g9j0n4glrq4hrm-r-highr-0.10/library
        - /nix/store/ivqxxjq8gx9v0f3hbw5skk5mf58z8k01-r-xfun-0.41/library
        - /nix/store/izlrpgnzj6n946iara984f0v5xdhqh6g-r-yaml-2.3.8/library
        - /nix/store/dh4pwcvfb3rjgzs2911gx3nk88rckiz4-r-stringr-1.5.1/library
        - /nix/store/zkhmiqzwhm8h6ad031zfjn6j02rsc15j-r-stringi-1.8.3/library
        - /nix/store/mwxqly90w8s64mybbmkgsr54x8srwn29-r-tinytex-0.49/library
        - /nix/store/33jprafdyfi3sr6n1saxnkdjbc4hvdvi-r-tidyr-1.3.0/library
        - /nix/store/vdcgjc0za0cmrfzn0i8fq93kgiiflgdd-r-cpp11-0.4.7/library
        - /nix/store/970z2f6z8mrb0p21ncb0y6v9s9w9g150-r-purrr-1.0.2/library
        - /nix/store/jw6pipk7qnn86f7rlpyd171l7zviv2bn-R-4.3.2/lib/R/library
      knitr: 1.45
      rmarkdown: 2.25

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjupyterneeds-reproIssues that are blocked until reporter provides an adequate reproduction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions