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.

Binder not opening a specific file when directed to (Jupyter Lab)

See original GitHub issue

Bug description

Binder is not opening a specific file (with Jupyter Lab) when directed to it

Example: https://mybinder.org/v2/gh/melaniewalsh/Intro-Cultural-Analytics/master?urlpath=lab/tree/book/Data-Analysis/Pandas-Basics-Part1.ipynb

Expected behaviour

Binder opens a specific file when it is directed to

Actual behaviour

Instead Binder opens in the root directory. It looks like at the last second ?clone is added to the end of the url, which might be the problem?

How to reproduce

  1. Go to this Binder link https://mybinder.org/v2/gh/melaniewalsh/Intro-Cultural-Analytics/master?urlpath=lab/tree/book/Data-Analysis/Pandas-Basics-Part1.ipynb
  2. See that it’s opening in the root directory (but weirdly if you refresh the page, then the Pandas-Basics-Part1.ipynb file opens)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
fm75commented, Oct 16, 2020

We have seen this on our instance and noticed that the expected behavior works in Chrome Incognito mode. I have not figured out how the workspaces/auto-[x]/ gets inserted into the URL.

1reaction
betatimcommented, Oct 6, 2020

Hi there 👋 !

When I click your link I end up at the following:

Screenshot 2020-10-06 at 12 45 39

Which looks like it worked. The URL I end up at is https://hub.gke2.mybinder.org/user/melaniewalsh-in-tural-analytics-btp7mufo/lab. Could you post the one you end up? Maybe one of the clusters behind mybinder.org behaves differently, which we could spot from the different hostnames in the URL. I am using Firefox 82.0b3 (64-bit) on OSX and you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mybinder JupyterLab link to a repo subfolder works, but not to ...
Hi, I am trying to create a JupyterLab link to a specific notebook in a repo subfolder. When I link to a subfolder...
Read more >
"Cannot Open" error on making Jupyter Voila app using ...
As given in the Fastai course, I tried making a notebook app based on image classification. After putting all the relevant files in...
Read more >
Sample Binder Repositories — Binder 0.1b documentation
Sample Binder Repositories#. Below we list several sample Binder repositories thatdemonstrate how to compose build files in order to createBinders with ...
Read more >
Using Jupyter Notebooks and Binder
For each notebook document that a user opens, the application starts a kernel that runs the code for that notebook. This particular Jupyter...
Read more >
Using FI Binder | Public | Flatiron Institute Documentation Center
This provides information on using Flatiron Institute's Binder Jupyter notebook interface. See External BinderHub for how to set up these ...
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