Notebook url is unformatted
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I am running Jupyter Notebooks inside docker and I get the following output:
```
To access the notebook, open this file in a browser:
file:///root/.local/share/jupyter/runtime/nbserver-1-open.html
Or copy and paste one of these URLs:
http://(7044e6686b03 or 127.0.0.1):8888/?token=25c62b211cef62f14ce041dea3d22d5d7d09e60bd367fef2
```
I thought I would fix it but it turns out this has been already fixed some 8 months ago yet it does not reflect in the notebook I am using. The desired format is something like this:
```
Or copy and paste one of these URLs:
http://7044e6686b03:8888/?token=25c62b211cef62f14ce041dea3d22d5d7d09e60bd367fef2
or,
http://127.0.0.1:8888/?token=25c62b211cef62f14ce041dea3d22d5d7d09e60bd367fef2
```
The version of packages I am using are:
```
jupyter==1.0.0
jupyter-client==5.2.4
jupyter-console==6.0.0
jupyter-core==4.4.0
notebook==5.7.8
```
Contributor guide
Research direction
Reproduce the notebook server startup output using the listed package versions, then trace where the access URLs are formatted. Compare the installed behavior with the requested hostname:port form and verify that the output no longer includes parentheses around the hostname.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100