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

Trivial default.nix setup times out on Binder #1143

Open
l0b0 opened this issue Feb 27, 2022 · 4 comments
Open

Trivial default.nix setup times out on Binder #1143

l0b0 opened this issue Feb 27, 2022 · 4 comments

Comments

@l0b0
Copy link

l0b0 commented Feb 27, 2022

Bug description

The following default.nix setup times out on Binder:

{ pkgs ? import
    (
      fetchTarball {
        name = "21.11";
        url = "https://github.com/NixOS/nixpkgs/archive/a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31.tar.gz";
        sha256 = "162dywda2dvfj1248afxc45kcrg83appjd0nmdb541hl7rnncf02";
      }
    )
    { }
}:
(
  pkgs.python3.withPackages (
    ps: [
      ps.bash_kernel
      ps.jupyterlab
    ]
  )
)

Expected behaviour

Should work as well as nix-shell --pure --run 'jupyter lab intro.ipynb' works locally.

Actual behaviour

Times out after a few minutes; see logs.

How to reproduce

  1. Go to https://mybinder.org/v2/gl/victor-engmark%2Fbash-scripting-intro/HEAD?labpath=intro.ipynb
  2. Wait for it to time out

Your personal set up

Not applicable, and I don't know what the values are on Binder.

@welcome
Copy link

welcome bot commented Feb 27, 2022

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@meeseeksmachine
Copy link

This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:

https://discourse.jupyter.org/t/trivial-nix-based-notebook-fails-to-load/13172/5

@robertodr
Copy link
Contributor

This is still an issue. Not even the examples repository works.

@jezcope
Copy link

jezcope commented Jul 21, 2023

Yup, I've run into this when trying some things out thinking how #1300 might be implemented.

The weird thing is that running repo2docker locally for a nix-based repository works fine so I guess it's something to do with how JupyterHub detects that the container is ready?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants