Vira Vitanska created DATALAB-2795:
--------------------------------------

             Summary: Jupyter UI link leads to 502 error
                 Key: DATALAB-2795
                 URL: https://issues.apache.org/jira/browse/DATALAB-2795
             Project: Apache DataLab
          Issue Type: Bug
      Security Level: Public (Regular Issues)
          Components: DataLab Main
            Reporter: Vira Vitanska
             Fix For: v.2.6
         Attachments: image-2022-05-05-10-25-30-606.png

Fix in develop, epm-v2.5.2-tpcp branches

 

*Preconditions:*
 # Jupyter is created

*Steps to reproduce:*
 # Go to Jupyter UI link

*Actual result:*
 # Jupyter UI link is not opened successfully
 # 502 error shows up

{code:java}
datalab-user@localhost:~$ sudo systemctl status jupyter-notebook.service
● jupyter-notebook.service - Jupyter notebook
     Loaded: loaded (/etc/systemd/system/jupyter-notebook.service; enabled; 
vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-05-05 07:46:52 UTC; 
37min ago
   Main PID: 758 (code=exited, status=1/FAILURE)May 05 07:46:52 
localhost.localdomain bash[758]:     from nbformat import sign, validate as 
validate_nb, ValidationError
May 05 07:46:52 localhost.localdomain bash[758]:   File 
"/usr/local/lib/python3.8/dist-packages/nbformat/sign.py", line 26, in <module>
May 05 07:46:52 localhost.localdomain bash[758]:     from traitlets import (
May 05 07:46:52 localhost.localdomain bash[758]: ImportError: cannot import 
name 'Callable' from 'traitlets' 
(/usr/local/lib/python3.8/dist-packages/traitlets/__init__.py)
May 05 07:46:52 localhost.localdomain systemd[1]: jupyter-notebook.service: 
Main process exited, code=exited, status=1/FAILURE
May 05 07:46:52 localhost.localdomain systemd[1]: jupyter-notebook.service: 
Failed with result 'exit-code'.
May 05 07:56:58 localhost.localdomain systemd[1]: 
/etc/systemd/system/jupyter-notebook.service:28: PIDFile= references a path 
below legacy directory /var/run/, updating /var/run/jupyter-no>
May 05 07:56:58 localhost.localdomain systemd[1]: 
/etc/systemd/system/jupyter-notebook.service:28: PIDFile= references a path 
below legacy directory /var/run/, updating /var/run/jupyter-no>
May 05 07:56:59 localhost.localdomain systemd[1]: 
/etc/systemd/system/jupyter-notebook.service:28: PIDFile= references a path 
below legacy directory /var/run/, updating /var/run/jupyter-no>
May 05 07:56:59 localhost.localdomain systemd[1]: 
/etc/systemd/system/jupyter-notebook.service:28: PIDFile= references a path 
below legacy directory /var/run/, updating /var/run/jupyter-no> {code}
*Expected result:*
 # Jupyter UI link is opened successfully



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to