Description
openedon Aug 11, 2023
Description
A clean install of notebook into a new virtual environment launches without populating any information in the Home page in FireFox 116.0.2, but works in recent Google Chrome. Jupyter lab
command works in both.
This may be a FireFox issue, but I am not sure what to report. Help with diagnosis would be appreciated.
The page source does contain some javascript:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home</title>
<link rel="icon" type="image/x-icon" href="[/static/favicons/favicon.ico](view-source:http://localhost:8888/static/favicons/favicon.ico)" class="favicon">
<link rel="stylesheet" type="text/css" href="[/custom/custom.css](view-source:http://localhost:8888/custom/custom.css)">
</head>
<body>
<script id="jupyter-config-data" type="application/json">
{"allow_hidden_files": false, "appName": "Jupyter Notebook", "appNamespace": "notebook", "appSettingsDir": "/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/share/jupyter/lab/settings", "appUrl": "/lab", "appVersion": "7.0.2", "baseUrl": "/", "buildAvailable": true, "buildCheck": true, "cacheFiles": true, "devMode": false, "disabledExtensions": [], "exposeAppInBrowser": false, "extensionManager": {"can_install": true, "install_path": "/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW", "name": "PyPI"}, "extraLabextensionsPath": [], "federated_extensions": [{"extension": "./extension", "load": "static/remoteEntry.aa1060b2d1221f8e5688.js", "name": "jupyterlab_pygments", "style": "./style"}, {"extension": "./extension", "load": "static/remoteEntry.f294278414d0a929e4ae.js", "mimeExtension": "./mimeExtension", "name": "jupyterlab-plotly"}, {"extension": "./extension", "load": "static/remoteEntry.e98843e95662ee3208a9.js", "name": "@jupyter-notebook/lab-extension", "style": "./style"}, {"extension": "./extension", "load": "static/remoteEntry.98b8a827bfc5f86e95d2.js", "name": "@jupyter-widgets/jupyterlab-manager"}], "frontendUrl": "/", "fullAppUrl": "/lab", "fullLabextensionsUrl": "/lab/extensions", "fullLicensesUrl": "/lab/api/licenses", "fullListingsUrl": "/lab/api/listings", "fullMathjaxUrl": "/static/nbclassic/components/MathJax/MathJax.js", "fullSettingsUrl": "/lab/api/settings", "fullStaticUrl": "/static/notebook", "fullThemesUrl": "/lab/api/themes", "fullTranslationsApiUrl": "/lab/api/translations", "fullTreeUrl": "/lab/tree", "fullWorkspacesApiUrl": "/lab/api/workspaces", "jupyterConfigDir": "/Users/gutow/.jupyter", "labextensionsPath": ["/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/share/jupyter/labextensions", "/Users/gutow/Library/Jupyter/labextensions", "/usr/local/share/jupyter/labextensions", "/usr/share/jupyter/labextensions"], "labextensionsUrl": "/lab/extensions", "licensesUrl": "/lab/api/licenses", "listingsUrl": "/lab/api/listings", "mathjaxConfig": "TeX-AMS-MML_HTMLorMML-full,Safe", "nbclassic_enabled": true, "news": {"disabled": false}, "notebookPage": "tree", "notebookStartsKernel": true, "notebookVersion": "[2, 7, 0]", "preferredPath": "/", "quitButton": true, "rootUri": "file:///Users/gutow/Documents/Programming/JupyterTesting", "schemasDir": "/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/share/jupyter/lab/schemas", "settingsUrl": "/lab/api/settings", "staticDir": "/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/lib/python3.11/site-packages/notebook/static", "templatesDir": "/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/lib/python3.11/site-packages/notebook/templates", "terminalsAvailable": true, "themesDir": "/Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/share/jupyter/lab/themes", "themesUrl": "/lab/api/themes", "token": "b6ce77946202876985a221ff9a6a414cb1efce94ab72ed91", "translationsApiUrl": "/lab/api/translations", "treePath": "", "treeUrl": "/lab/tree", "userSettingsDir": "/Users/gutow/.jupyter/lab/user-settings", "virtualDocumentsUri": "file:///Users/gutow/Documents/Programming/JupyterTesting/.virtual_documents", "workspacesApiUrl": "/lab/api/workspaces", "workspacesDir": "/Users/gutow/.jupyter/lab/workspaces", "wsUrl": ""}
</script>
<script src="[/static/notebook/bundle.js](view-source:http://localhost:8888/static/notebook/bundle.js)" main="index"></script>
<script type="text/javascript">
/* Remove token from URL. */
(function () {
var parsedUrl = new URL(window.location.href);
if (parsedUrl.searchParams.get('token')) {
parsedUrl.searchParams.delete('token');
window.history.replaceState({ }, '', parsedUrl.href);
}
})();
</script>
</body>
</html>
Reproduce
- Create a new pipenv virtual environment using python 3.11.4 on MacOS (
pipenv shell
). - Install notebook
pip install notebook
(does not seem to matter if manually install lab first). - Launch the notebook
jupyter notebook
.
A blank page opens in my browser (latest Firefox).
Expected behavior
I expect the standard list of files and notebooks in the working directory.
Context
- Operating System and version: MacOS 13.5
- Browser and version: FireFox 116.02
- Jupyter Notebook version:
pip list |grep notebook
notebook 7.0.2
notebook_shim 0.2.3
pip list | grep jupyter
jupyter_client 8.3.0
jupyter_core 5.3.1
jupyter-events 0.7.0
jupyter-lsp 2.2.0
jupyter_server 2.7.0
jupyter_server_terminals 0.4.4
jupyterlab 4.0.4
jupyterlab-pygments 0.2.2
jupyterlab_server 2.24.0
jupyter --version
Selected Jupyter core packages...
IPython : 8.14.0
ipykernel : 6.25.1
ipywidgets : not installed
jupyter_client : 8.3.0
jupyter_core : 5.3.1
jupyter_server : 2.7.0
jupyterlab : 4.0.4
nbclient : 0.8.0
nbconvert : 7.7.3
nbformat : 5.9.2
notebook : 7.0.2
qtconsole : not installed
traitlets : 5.9.0
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here. You may want to sanitize the paths in the output.
Command Line Output
jupyter notebook [I 2023-08-11 10:48:41.417 ServerApp] Package notebook took 0.0000s to import [I 2023-08-11 10:48:41.423 ServerApp] Package jupyter_lsp took 0.0061s to import [W 2023-08-11 10:48:41.423 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2023-08-11 10:48:41.427 ServerApp] Package jupyter_server_terminals took 0.0032s to import [I 2023-08-11 10:48:41.427 ServerApp] Package jupyterlab took 0.0000s to import [I 2023-08-11 10:48:41.439 ServerApp] Package notebook_shim took 0.0000s to import [W 2023-08-11 10:48:41.439 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2023-08-11 10:48:41.440 ServerApp] jupyter_lsp | extension was successfully linked. [I 2023-08-11 10:48:41.441 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2023-08-11 10:48:41.442 ServerApp] jupyterlab | extension was successfully linked. [I 2023-08-11 10:48:41.444 ServerApp] notebook | extension was successfully linked. [I 2023-08-11 10:48:41.557 ServerApp] notebook_shim | extension was successfully linked. [I 2023-08-11 10:48:41.573 ServerApp] notebook_shim | extension was successfully loaded. [I 2023-08-11 10:48:41.574 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2023-08-11 10:48:41.574 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2023-08-11 10:48:41.575 LabApp] JupyterLab extension loaded from /Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/lib/python3.11/site-packages/jupyterlab [I 2023-08-11 10:48:41.575 LabApp] JupyterLab application directory is /Users/gutow/.local/share/virtualenvs/JupyterTesting-mtYmOuHW/share/jupyter/lab [I 2023-08-11 10:48:41.575 LabApp] Extension Manager is 'pypi'. [I 2023-08-11 10:48:41.576 ServerApp] jupyterlab | extension was successfully loaded. [I 2023-08-11 10:48:41.577 ServerApp] notebook | extension was successfully loaded. [I 2023-08-11 10:48:41.578 ServerApp] Serving notebooks from local directory: /Users/gutow/Documents/Programming/JupyterTesting [I 2023-08-11 10:48:41.578 ServerApp] Jupyter Server 2.7.0 is running at: [I 2023-08-11 10:48:41.578 ServerApp] http://localhost:8888/tree?token=d068a6c8046a9fe9b5e19c8cc8f12453450709918106a463 [I 2023-08-11 10:48:41.578 ServerApp] http://127.0.0.1:8888/tree?token=d068a6c8046a9fe9b5e19c8cc8f12453450709918106a463 [I 2023-08-11 10:48:41.578 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2023-08-11 10:48:41.580 ServerApp]To access the server, open this file in a browser: file:///Users/gutow/Library/Jupyter/runtime/jpserver-3362-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=d068a6c8046a9fe9b5e19c8cc8f12453450709918106a463 http://127.0.0.1:8888/tree?token=d068a6c8046a9fe9b5e19c8cc8f12453450709918106a463
[I 2023-08-11 10:48:41.588 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
Browser Output
Uncaught (in promise) TypeError: g[e] is undefined v http://localhost:8888/static/notebook/bundle.js:1 53680 http://localhost:8888/static/notebook/3680.bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 I http://localhost:8888/static/notebook/bundle.js:1 e http://localhost:8888/static/notebook/bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 89605 http://localhost:8888/static/notebook/9605.bundle.js:2 v http://localhost:8888/static/notebook/bundle.js:1 I http://localhost:8888/static/notebook/bundle.js:1 e http://localhost:8888/static/notebook/bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 32549 http://localhost:8888/static/notebook/2401.bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 72401 http://localhost:8888/static/notebook/2401.bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 I http://localhost:8888/static/notebook/bundle.js:1 e http://localhost:8888/static/notebook/bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 65733 http://localhost:8888/static/notebook/5733.bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 I http://localhost:8888/static/notebook/bundle.js:1 e http://localhost:8888/static/notebook/bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 60880 http://localhost:8888/static/notebook/880.bundle.js:1 60880 http://localhost:8888/static/notebook/880.bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 promise callback*37559 http://localhost:8888/static/notebook/bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 http://localhost:8888/static/notebook/bundle.js:1 http://localhost:8888/static/notebook/bundle.js:1 [bundle.js:1:511](http://localhost:8888/static/notebook/bundle.js) 60880 http://localhost:8888/static/notebook/880.bundle.js:1 (Async: EventListener.handleEvent) 60880 http://localhost:8888/static/notebook/880.bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 (Async: promise callback) 37559 http://localhost:8888/static/notebook/bundle.js:1 v http://localhost:8888/static/notebook/bundle.js:1 http://localhost:8888/static/notebook/bundle.js:1 http://localhost:8888/static/notebook/bundle.js:1
Activity