Closed vinibodruch closed 2 months ago
Hi there @vinibodruch :wave:!
I closed this issue because it was labelled as a support question.
Please help us organize discussion by posting this on the https://discourse.jupyter.org/ forum. If it's your first time posting please read https://discourse.jupyter.org/t/getting-good-answers-to-your-questions/1825. The more information you provide the more likely we can help you.
Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other.
Thanks you for being an active member of our community! :heart:
Bug description
Although I have followed the tutorial on this blog to configure JupyterHub to be accessed from Visual Studio Code, I still can't connect properly. The
print('test')
command remains stuck in execution, and the cell never finishes processing. The 'jupyter' log section shows the message:How to reproduce
print('test')
command.Expected behaviour
I expected the
print('test')
command to execute and return the expected result in the notebook within VSCode.Actual behaviour
The
print('test')
command stays in execution forever without completing or displaying any output.Your personal set up
Full environment
``` # pip list Package Version ---------------------------- ---------------- absl-py 1.4.0 anyio 3.6.2 apturl 0.5.2 argcomplete 3.3.0 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 arrow 1.2.3 asttokens 2.2.1 astunparse 1.6.3 attrs 22.2.0 backcall 0.2.0 bcrypt 3.2.0 beautifulsoup4 4.12.0 bleach 6.0.0 blinker 1.4 Brlapi 0.8.3 cachetools 5.3.1 certifi 2020.6.20 cffi 1.15.1 chardet 4.0.0 chrome-gnome-shell 0.0.0 click 8.0.3 cloudpickle 2.2.1 colorama 0.4.4 comm 0.1.3 command-not-found 0.3 contourpy 1.0.7 cryptography 3.4.8 cupshelpers 1.0 cycler 0.11.0 dbus-python 1.2.18 debugpy 1.6.6 decorator 5.1.1 defer 1.0.6 defusedxml 0.7.1 distlib 0.3.8 distro 1.7.0 distro-info 1.1+ubuntu0.2 duplicity 0.8.21 eli5 0.13.0 evdev 1.4.0 exceptiongroup 1.1.1 executing 1.2.0 fasteners 0.14.1 fastjsonschema 2.16.3 filelock 3.13.1 flatbuffers 23.5.26 fonttools 4.39.3 fqdn 1.5.1 future 0.18.2 gast 0.4.0 gitdb 4.0.11 GitPython 3.1.43 google-auth 2.19.0 google-auth-oauthlib 1.0.0 google-pasta 0.2.0 gpg 1.16.0 graphviz 0.20.1 grpcio 1.54.2 h5py 3.8.0 html5lib 1.1 httplib2 0.20.2 idna 3.3 importlib-metadata 4.6.4 iniconfig 2.0.0 ipykernel 6.29.5 ipython 8.12.0 ipython-genutils 0.2.0 ipywidgets 8.0.6 isodate 0.6.1 isoduration 20.11.0 jax 0.4.10 jedi 0.18.2 jeepney 0.7.1 Jinja2 3.1.2 joblib 1.2.0 jsonpointer 2.3 jsonschema 4.17.3 jupyter 1.0.0 jupyter_client 8.1.0 jupyter-console 6.6.3 jupyter_core 5.3.0 jupyter-events 0.6.3 jupyter_server 2.5.0 jupyter_server_terminals 0.4.4 jupyterlab-pygments 0.2.2 jupyterlab-widgets 3.0.7 keras 2.12.0 keyring 23.5.0 kiwisolver 1.4.4 language-selector 0.1 launchpadlib 1.10.16 lazr.restfulclient 0.14.4 lazr.uri 1.0.6 libclang 16.0.0 llvmlite 0.39.1 lockfile 0.12.2 louis 3.20.0 lxml 4.8.0 macaroonbakery 1.3.1 mahotas 1.4.18 Mako 1.1.3 Markdown 3.4.3 MarkupSafe 2.1.2 matplotlib 3.7.1 matplotlib-inline 0.1.6 mistune 2.0.5 ml-dtypes 0.1.0 monotonic 1.6 more-itertools 8.10.0 nbclassic 0.5.4 nbclient 0.7.2 nbconvert 7.2.10 nbformat 5.8.0 nest-asyncio 1.5.6 netifaces 0.11.0 networkx 3.1 nodeenv 1.8.0 notebook 6.5.3 notebook_shim 0.2.2 numba 0.56.4 numpy 1.23.5 oauthlib 3.2.0 olefile 0.46 opencv-python 4.10.0.84 opt-einsum 3.3.0 packaging 23.0 pandas 1.5.3 pandocfilters 1.5.0 paramiko 2.9.3 parso 0.8.3 patsy 0.5.3 peewee 3.17.0 pendulum 3.0.0 pexpect 4.8.0 phik 0.12.4 pickleshare 0.7.5 Pillow 9.0.1 pip 24.2 pipx 1.5.0 platformdirs 4.2.0 plotly 5.14.1 pluggy 1.0.0 prometheus-client 0.16.0 prompt-toolkit 3.0.38 protobuf 4.23.2 psutil 5.9.4 ptyprocess 0.7.0 pure-eval 0.2.2 pyasn1 0.5.0 pyasn1-modules 0.3.0 pycairo 1.20.1 pycparser 2.21 pycups 2.0.1 Pygments 2.14.0 PyGObject 3.42.1 PyJWT 2.3.0 pymacaroons 0.13.0 PyNaCl 1.5.0 pyparsing 2.4.7 pyRFC3339 1.1 pyrsistent 0.19.3 pytest 7.3.0 python-apt 2.4.0+ubuntu4 python-dateutil 2.8.2 python-debian 0.1.43+ubuntu1.1 python-json-logger 2.0.7 python-magic 0.4.24 pytz 2022.1 pyxdg 0.27 PyYAML 5.4.1 pyzmq 25.0.2 qtconsole 5.4.1 QtPy 2.3.1 reportlab 3.6.8 requests 2.25.1 requests-file 2.0.0 requests-oauthlib 1.3.1 requests-toolbelt 1.0.0 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rsa 4.9 scikit-learn 1.2.2 scipy 1.10.1 screen-resolution-extra 0.0.0 seaborn 0.12.2 SecretStorage 3.3.1 Send2Trash 1.8.0 setproctitle 1.2.2 setuptools 59.6.0 shap 0.41.0 simple-salesforce 1.12.5 six 1.16.0 sklearn 0.0.post1 slicer 0.0.7 smmap 5.0.1 sniffio 1.3.0 soupsieve 2.4 stack-data 0.6.2 statsmodels 0.14.0 systemd-python 234 tabulate 0.9.0 tenacity 8.2.2 tensorboard 2.12.3 tensorboard-data-server 0.7.0 tensorflow 2.12.0 tensorflow-estimator 2.12.0 tensorflow-io-gcs-filesystem 0.32.0 termcolor 2.3.0 terminado 0.17.1 threadpoolctl 3.1.0 time-machine 2.13.0 tinycss2 1.2.1 tomli 2.0.1 tornado 6.2 tqdm 4.65.0 traitlets 5.9.0 typing_extensions 4.6.2 tzdata 2023.4 ubuntu-drivers-common 0.0.0 ubuntu-pro-client 8001 ufw 0.36.1 unattended-upgrades 0.1 uri-template 1.2.0 urllib3 1.26.5 usb-creator 0.3.7 userpath 1.9.2 vboxapi 1.0 virtualenv 20.25.1 wadllib 1.3.6 wcwidth 0.2.6 webcolors 1.13 webencodings 0.5.1 websocket-client 1.5.1 Werkzeug 2.3.4 wheel 0.37.1 widgetsnbextension 4.0.7 wrapt 1.14.1 xdg 5 xkit 0.0.0 zeep 4.2.1 zipp 1.0.0 ```Configuration
I've installed JupyterHub using the `zero-to-jupyterhub` deployment, and used the helm chart to configure it. ![image](https://github.com/user-attachments/assets/8ce13ba6-1d4c-471a-a240-22d6fe8b1c7e) ``` jovyan@jupyter-vinicius-2esantos:~/.jupyter$ ls -lha total 24K drwxrwsr-x 4 jovyan users 4.0K Aug 20 16:20 . drwxrwsr-x 9 root users 4.0K Sep 17 15:54 .. -rw-rw-r-- 1 jovyan users 38 Sep 17 15:52 jupyter_notebook_config.py drwxrwsr-x 4 jovyan users 4.0K Aug 20 15:53 lab drwxrwsr-x 2 jovyan users 4.0K Aug 20 15:41 labconfig -rw-rw-r-- 1 jovyan users 32 Aug 20 15:43 migrated jovyan@jupyter-vinicius-2esantos:~/.jupyter$ cat jupyter_notebook_config.py c.ContentsManager.allow_hidden = True ```Am I missing some thing? Can you help me to solve this issue?