Questions tagged [jupyter-server]

11 questions
2
votes
0 answers

send command to jupyter-server terminal

I am looking for a way to send command to a terminal that is running on a jupyter-server. This document shows API to create/query/delete a terminal but there is no information on how to execute a command (such as ls, cd)in the terminal. Can someone…
lcb
  • 999
  • 1
  • 6
  • 10
2
votes
0 answers

Is there a way to schedule a python script (the script uses Google API to read google sheets) using crontab?

I am trying to schedule a python script using crontab on a web server, but the file doesn't run at all. The script uses Google API to read google sheets. Other files that don't use Google API run as expected. Why is it so?
1
vote
0 answers

VS Code Jupyter error: "Unable to start Kernel 'Glue PySpark' due to connection timeout."

I have Jupyter running from commandline and can execute the notebook in browser. Now I want to use the same url in VSCode as Existing Jupyter Server. What setup do I need to do inside VSCode to get it to work ? I have started the notebook in…
adbdkb
  • 1,897
  • 6
  • 37
  • 66
1
vote
1 answer

Docker - all-spark-notebook Communications link failure

I'm new using docker and spark. My docker-compose.yml file is volumes: shared-workspace: services: notebook: image: docker.io/jupyter/all-spark-notebook:latest build: context: . dockerfile: Dockerfile-jupyter-jars ports: …
1
vote
1 answer

JupyterLab 3: how to get the list of running servers

Since JupyterLab 3.x jupyter-server is used instead of the classic notebook server, and the following code does not list servers served with jupyter_server: from notebook import notebookapp notebookapp.list_running_servers() None What still works…
InLaw
  • 2,537
  • 2
  • 21
  • 33
0
votes
1 answer

jupyter-server keeps asking for token login

Ι have set up a jupyter server instance on kubernetes. The login prompt screen is the following I exec into the pod, run jupyter notebook list, and in the two boxes at the bottom of the screenshot I enter the token returned by the above command and…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
0
votes
0 answers

403 : Forbidden '_xsrf' argument missing from POST in Jupyterhub

I have a jupyterhub in docker, after installing nativeauthenticator and configuring jupyterhub_config.py with the following: import os, nativeauthenticator, pwd,subprocess c.JupyterHub.authenticator_class =…
0
votes
0 answers

Debuging a Jupyter server that dies/freezes silently when opening a notebook

I'm looking for some help to debug a jupyter server. Whenever opening a notebook the header is displayed afterwards the whole server dies (or freezes?) silently: No browser interaction anymore. Stop command also does not work, neither Ctrl+C nor…
Daraan
  • 1,797
  • 13
  • 24
0
votes
0 answers

How Jupyter extension in VSCODE acess remote Ipynb file when you Jupyter remote server

When you running a Jupyter notebook server on remote, your pc connect remote Jupyter server. You could use remote conda environemnt, remote intepreter. One thing is different with Notebook(website version), you could not access remote ipynb…
0
votes
1 answer

jupyter_server 2.0 seems to break showHiddenFiles in JupyterLab

I am using JupyterLab with: jupyterlab=3.5.1 jupyter_server=1.23.3 and I have the following config: { // File Browser // @jupyterlab/filebrowser-extension:browser // File Browser settings. //…
Dr. Fabien Tarrade
  • 1,556
  • 6
  • 23
  • 49
0
votes
0 answers

Port automation with Jupyter: forward ports to localhost as part of the url address

I came across the documentation of jupyter-server-proxy which has some useful tools but I am not sure how to make use of. Assume I create a jupyter server on the VM on port 8888, normally I will use ssh port-forwarding to interact with it locally…