Skip to content

bug: building docs locally fails with nix in WSL #11799

@iwhalen

Description

@iwhalen

What happened?

Running into an issue with trino when building docs locally.

Process:

git clone --depth 1 --branch 11.0.0 https://github.com/ibis-project/ibis.git
cd ibis/
nix-shell -p cachix --run 'cachix use ibis'
nix develop '.#ibis312' --ignore-environment --keep HOME -c just docs-preview

Fails with the error:

Executing 'trino.quarto_ipynb'
  Cell 1/3: ''...

An error occurred while executing the following cell:
------------------
from _utils import render_do_connect

render_do_connect("trino")
------------------

Same thing occurs on different flavors of commands that build the docs.

Removing the offending file causes the next .quarto_ipynb to fail (happens to be snowflake).

Perhaps nix doesn't play nice with WSL? Or I set something up wrong?

What version of ibis are you using?

Specifically on tag 11.0.0

Other system info below.

Distribution info:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble

WSL info:

> wsl -v
WSL version: 2.6.2.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.71
MSRDC version: 1.2.6353
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.19045.6691

What backend(s) are you using, if any?

N/A

Relevant log output

$ nix develop '.#ibis312' --ignore-environment --keep HOME -c just docs-preview
Preparing to preview
[  1/163] contribute/01_environment.qmd
[  2/163] contribute/03_style.qmd
[  3/163] contribute/04_maintainers_guide.qmd
[  4/163] contribute/02_workflow.qmd
[  5/163] contribute/05_reference.qmd
[  6/163] contribute/index.md
[  7/163] 404.qmd
[  8/163] backends/trino.qmd

Starting kedro_modeling kernel...Done

Executing 'trino.quarto_ipynb'
  Cell 1/3: ''...

An error occurred while executing the following cell:
------------------
from _utils import render_do_connect

render_do_connect("trino")
------------------




WARN: Should not have arrived here:
ERROR: [non-error-thrown] undefined

Stack trace:
    at _Command.handleError (file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:10025:117)
    at _Command.parseCommand (file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:9712:12)
    at eventLoopTick (ext:core/01_core.js:178:7)
    at async quarto (file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:175731:5)
    at async file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:175759:5
    at async file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:175614:14
    at async mainRunner (file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:175616:5)
    at async file:///nix/store/4qbhzmpf1246jgfcp6gmfzq5kj16k70q-quarto-1.8.17/bin/quarto.js:175752:3
error: Recipe `docs-preview` failed with exit code 1

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior inside of ibis

    Type

    No type

    Projects

    Status

    backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions