Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger not working - problem with xeus-python notebook strategy #15535

Open
ManPython opened this issue Dec 14, 2023 · 22 comments
Open

Debugger not working - problem with xeus-python notebook strategy #15535

ManPython opened this issue Dec 14, 2023 · 22 comments

Comments

@ManPython
Copy link

Description


No any version is compatible for me

ERROR: No matching distribution found for xeus-python

Reproduce

pip install xeus-python notebook

Expected behavior

I expected that if installed and integrated is https://github.com/jupyterlab/debugger lib, then working mainly for python.. in other no sense if user need install additional stuff as not compatible.

Context

  • Operating System and version:
  • Browser and version:
  • Jupyter Notebook version:
 jupyter --version
Selected Jupyter core packages...
IPython          : 8.18.1
ipykernel        : 6.27.1
ipywidgets       : 8.1.1
jupyter_client   : 8.6.0
jupyter_core     : 5.5.0
jupyter_server   : 2.12.1
jupyterlab       : 4.0.9
nbclient         : 0.7.2
nbconvert        : 7.12.0
nbformat         : 5.7.1
notebook         : 7.0.6
qtconsole        : 5.5.1
traitlets        : 5.14.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
Paste the output from your command line running `jupyter notebook` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@ManPython ManPython added the bug label Dec 14, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Dec 14, 2023
@krassowski
Copy link
Member

Thank you for opening the issue. xeus-python is NOT needed for the debugger nowadays. A recent version of ipykernel should work (see list of known kernels which support debugger in the JupyterLab documentation: https://jupyterlab.readthedocs.io/en/stable/user/debugger.html#requirements). If you have a problem with xeus-python installation I suggest reporting it over in https://github.com/jupyter-xeus/xeus-python - I would also suggest that you include Python version in any future reports as this is quite critical here.

Note: it seems you were looking at https://github.com/jupyterlab/debugger (which as the yellow header and readme file state) is archived because it was merged into core JupyterLab.

@ManPython
Copy link
Author

Not understanding... how not needed if from links reading this:

Requirements

For the debugger to be enabled and visible, a kernel with support for debugging is required.

Here is a list of kernels that are known to be supporting the Jupyter Debug Protocol:

[xeus-python](https://github.com/jupyter-xeus/xeus-python): Jupyter kernel for the Python programming language

[xeus-robot](https://github.com/jupyter-xeus/xeus-robot): Jupyter kernel for Robot Framework

[ipykernel](https://github.com/ipython/ipykernel): IPython Kernel for Jupyter

[common-lisp-jupyter](https://github.com/yitzchak/common-lisp-jupyter): Common Lisp Kernel for Jupyter

@ManPython
Copy link
Author

With ipykernel ?

In short.. clicking icon "bug" blinking and doing nothing..

@krassowski
Copy link
Member

You may have an old version of ipykernel installed.

@ManPython
Copy link
Author

Look on up for list of libs.. it's old? With is optimal?
This is how looks python coding last time.. searching.. solution for stupid issues
jupyter/notebook#7177

@krassowski
Copy link
Member

Look on up for list of libs.. it's old? With is optimal?

ipykernel : 6.27.1 is good, but the output of jupyter --version may not correspond to the kernel in which you are experiencing the issue. This is especially true if you use custom kernelspecs, or tools like conda kernels, or remote kernels.

While on this, can you check the list of your kernel specifications with jupyter kernelspec list and then confirm that kernel.json file in the location presented contains the following?

"metadata": {
  "debugger": true
 }

In short.. clicking icon "bug" blinking and doing nothing..

Could you provide a screencast, and output from the web developer JavaScript console?

This is how looks python coding last time.. searching.. solution for stupid issues

But you are getting help for free from a volunteer trying to make your life easier ;)

jupyter/notebook#7177

Sorry I do not see a connection with the linked issue, can you elaborate?

@ManPython
Copy link
Author

I think my kernel.json is ok.. and other similar.

{
 "argv": [
  "/usr/home/ManPython/.virtualenvs/venvp311/bin/python",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "display_name": "venvpython311",
 "language": "python",
 "metadata": {
  "debugger": true
 }
}
Uncaught (in promise) Error: Could not start the debugger: undefined
    start http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
jlab_core.a61821d8a2a9c35d7996.js:1:512867
Uncaught (in promise) Error: Could not start the debugger: undefined
    start http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    start http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    restoreState http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    p http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    m http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    s http://ManPythonJupyter.com/static/lab/jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
    Ue http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    Qe http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    je http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    al http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    ul http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    dl http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    Os http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    De http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    dl http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    lt http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    tt http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
jlab_core.a61821d8a2a9c35d7996.js:1:512867

Ps. I'm volunteer too.. as all around OS.. are volunteers.. who reporting, supporting issues.
@ Fernando Pérez you need settle us for your success..in future.. ; ) albo wjazd na chacjabaente..

Elaborate.. well You said about wrong libs maybe, then I'm indicating about case where hard to be compatible with whole libs, and docs are not updated for real requirements as I meet. I believed again that I'm wrong about what is compatible for debugger.

@JasonWeill
Copy link
Contributor

@ManPython Thank you for opening this issue! Can you share the output of jupyter labextension list?

@ManPython
Copy link
Author

@JasonWeill Explain more what is needed and how to acquire this output coz not sure what I should do. You mind whole extensions as I have? It can be big list..

@krassowski
Copy link
Member

Yes, the full list. Also, what Python version do you use? Is it 3.11?

@krassowski
Copy link
Member

(Or you could create a new environment and narrow it down to a few extensions and provide an almost empty list, if you can reproduce it in a clean environment).

@ManPython
Copy link
Author

(Or you could create a new environment and narrow it down to a few extensions and provide an almost empty list, if you can reproduce it in a clean environment).

But on "empty" env as listed upper + xeus-python is this same situation. Not seeing sense to posting other env.

Yes, the full list. Also, what Python version do you use? Is it 3.11?

Yes, P 3.11 other lower version can catch the bug icon.. can't be clickable and have "stop tool-tip icon"

@JasonWeill
Copy link
Contributor

@ManPython Any update about the list of extensions you're using?

@ManPython
Copy link
Author

@JasonWeill For me not working.

@JasonWeill
Copy link
Contributor

@ManPython It would help us to reproduce this issue if you provided the full list of extensions you're using, as requested earlier.

@ManPython
Copy link
Author

ManPython commented Jan 13, 2024

Sorry for long delay but you missed point when I wrote that clean venv with basic version doing problems.
@JasonWeill I have new server and doing everything from zero to install jupyer..

soo:

pip install jupyter
pip install nbextensions
pip install matplotlib

then:

jupyter --version
Selected Jupyter core packages...
IPython          : 8.20.0
ipykernel        : 6.28.0
ipywidgets       : 8.1.1
jupyter_client   : 8.6.0
jupyter_core     : 5.7.1
jupyter_server   : 2.12.4
jupyterlab       : 4.0.10
nbclient         : 0.9.0
nbconvert        : 7.14.1
nbformat         : 5.9.2
notebook         : 7.0.6
qtconsole        : 5.5.1
traitlets        : 5.14.1
( ) [ ]:<~>$ jupyter labextension list
JupyterLab v4.0.10
.... share/jupyter/labextensions
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        @jupyter-notebook/lab-extension v7.0.6 enabled OK
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)

Also this same errors on new server with blinking "bug" icon and:

  1. Notebook:
	Uncaught (in promise) Error: Could not start the debugger: undefined
    start http://ManPythonJupyter.com/static/notebook/6621.bundle.js:1
    start http://ManPythonJupyter.com/static/notebook/6621.bundle.js:1
    restoreState http://ManPythonJupyter.com/static/notebook/6621.bundle.js:1
    p http://ManPythonJupyter.com/static/notebook/6621.bundle.js:1
    g http://ManPythonJupyter.com/static/notebook/6621.bundle.js:1
    onMouseDown http://ManPythonJupyter.com/static/notebook/1018.bundle.js:1
    Oe http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Be http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Ir http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Ir http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Ur http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Qr http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    cs http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Le http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    Qr http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    qn http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
    $n http://ManPythonJupyter.com/static/notebook/1542.bundle.js:2
  1. Lab:
Uncaught (in promise) Error: Could not start the debugger: undefined
    start http://ManPythonJupyter.com/static/lab/jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
    start http://ManPythonJupyter.com/static/lab/jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
    restoreState http://ManPythonJupyter.com/static/lab/jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
    p http://ManPythonJupyter.com/static/lab/jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
    m http://ManPythonJupyter.com/static/lab/jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
    s http://ManPythonJupyter.com/static/lab/jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
    Ue http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    Qe http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    je http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    al http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    ul http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    dl http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    Os http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    De http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    dl http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    lt http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
    tt http://ManPythonJupyter.com/static/lab/3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2

Backing to old server also:

() [ ]:<~>$ jupyter labextension list
JupyterLab v4.0.9
/usr/home/..../share/jupyter/labextensions
        jupyterlab_code_formatter v2.2.1 enabled  X (python, jupyterlab_code_formatter)
        jupyter-matplotlib v0.11.2 enabled OK
        jupyter-leaflet v0.17.3 enabled OK
        jupyterlab-plotly v5.18.0 enabled  X
        jupyterlab-open-url-parameter v0.1.0 enabled  X (python, jupyterlab_open_url_parameter)
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        jupyterlab-execute-time v3.1.0 enabled OK (python, jupyterlab_execute_time)
        ipysheet v0.7.0 enabled  X (python, ipysheet)
        ipyparallel-labextension v8.4.1 enabled  X
        gpt_jupyterlab v0.1.4 enabled  X (python, gpt_jupyterlab)
        nbdime-jupyterlab v3.0.1 enabled OK
        @lckr/jupyterlab_variableinspector v3.1.0 enabled OK (python, lckr_jupyterlab_variableinspector)
        @voila-dashboards/jupyterlab-preview v2.2.0 enabled  X (python, voila)
        @jupyter-notebook/lab-extension v7.0.6 enabled OK
        @jupyterlab/git v0.50.0 enabled OK (python, jupyterlab-git)
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)
        @bokeh/jupyter_bokeh v3.0.7 enabled  X (python, jupyter_bokeh)


   The following extensions are outdated:
        jupyterlab_code_formatter
        jupyterlab-plotly
        jupyterlab-open-url-parameter
        ipysheet
        ipyparallel-labextension
        gpt_jupyterlab
        @voila-dashboards/jupyterlab-preview
        @bokeh/jupyter_bokeh

   Consider checking if an update is available for these packages.

Other labextensions (built into JupyterLab)
   app dir: /usr/home/....../share/jupyter/lab
        @plotly/dash-jupyterlab v0.4.3 enabled  X
        jupyterlab-dash v0.4.2 enabled  X
        jupyterlab-sql v0.3.3 enabled  X

   The following extensions are outdated:
        @plotly/dash-jupyterlab
        jupyterlab-dash
        jupyterlab-sql

   Consider checking if an update is available for these packages.

I did not solved problem and as my friends talking this same issue here. In case we use VSC.. but if this exist as integrated why not working.
Soo.. maybe server version is important? freebsd13 .. with this eg. not working pdf export.
More.. kernel as mainy python and venv this same no reaction around debugger.

@ManPython
Copy link
Author

Hmm.. looks different situation on Chrome than FireFox..

Chrome (Where something working):

336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1 Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early
_loadFromKernel @ 336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1
await in _loadFromKernel (async)
_loadFromKernel @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
restoreWidgets @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
_handleKernelConnectionStatusChange @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
(anonymous) @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
_onConnectionStatusChanged @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
onKernelConnectionStatus @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
_updateConnectionStatus @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
_onWSOpen @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1 Connection lost, reconnecting in 0 seconds.
_reconnect @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in _reconnect (async)
restartKernel @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
restart @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in restart (async)
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
s @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
Ue @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Qe @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
je @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
al @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
ul @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
(anonymous) @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Os @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
De @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
dl @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
lt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
tt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1 TypeError: Cannot read properties of undefined (reading 'widget')
    at isReady (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:1062151)
    at jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:879051
    at b (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:879145)
    at P.onKernelChanged (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:1061308)
    at m (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:1657896)
    at Object.l [as emit] (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:1657572)
    at a.emit (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:1655409)
    at b.restartKernel (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:127191)
    at async y.restart (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:134889)
    at async execute (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:992365)
onKernelChanged @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in onKernelChanged (async)
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
restartKernel @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in restartKernel (async)
restart @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in restart (async)
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
s @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
Ue @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Qe @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
je @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
al @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
ul @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
(anonymous) @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Os @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
De @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
dl @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
lt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
tt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1 Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early
_loadFromKernel @ 336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f:1
await in _loadFromKernel (async)
_loadFromKernel @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
restoreWidgets @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
_handleKernelConnectionStatusChange @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
(anonymous) @ 134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
_onConnectionStatusChanged @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
onKernelConnectionStatus @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
_updateConnectionStatus @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
_onWSOpen @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
4jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'sourcePath')
    at l.updateBreakpoints (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:504264)
updateBreakpoints @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in updateBreakpoints (async)
_sendEditorBreakpoints @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
(anonymous) @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
(anonymous) @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
setTimeout (async)
_onSignalFired @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
l @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
emit @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
S._modelObserver @ 1168.0a95b9c93afe61ceb527.js?v=0a95b9c93afe61ceb527:1
r @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
ji @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
(anonymous) @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
r @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
$o @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
Jo @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
transact @ 383.db345dbeef5ef774e50c.js?v=db345dbeef5ef774e50c:1
transact @ 1168.0a95b9c93afe61ceb527.js?v=0a95b9c93afe61ceb527:1
t @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
h @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
(anonymous) @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
c @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
C @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in execute (async)
execute @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
m @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
s @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
Ue @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Qe @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
je @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
al @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
ul @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
(anonymous) @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Os @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
De @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
dl @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
lt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
tt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1 Uncaught (in promise) Error
    at l.inspectVariable (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:500639)
    at async f (jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1:530003)
inspectVariable @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
await in inspectVariable (async)
onClick @ jlab_core.bca8c55f9011e1fc4717.js?v=bca8c55f9011e1fc4717:1
Ue @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Qe @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
je @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
al @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
ul @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
(anonymous) @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
Os @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
De @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
dl @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
lt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2
tt @ 3935.905285b8e22c337968ed.js?v=905285b8e22c337968ed:2

@ManPython
Copy link
Author

Also I'm thinking that xpython-0 to xpython-10 should be as xpython_0 - xpython_10..

@krassowski
Copy link
Member

Also I'm thinking that xpython-0 to xpython-10 should be as xpython_0 - xpython_10..

Sorry, I do not follow here. What is xpython-0 referring to?

@krassowski
Copy link
Member

It appears that you are hosting from a custom domain using http rather than https protocol. Two questions:

  • Can you reproduce these issues when running on localhost too?
  • Since you are hinting that some of the issues are fixed by switching a browser to Chrome, I would note that Firefox has stricter privacy defaults; could it be that your server is not configured to allow some connections (namely websockets) to be established or the browser rejects them based on lack of secure protocol (which is generally required when serving outside of localhost)?

@ManPython
Copy link
Author

Also I'm thinking that xpython-0 to xpython-10 should be as xpython_0 - xpython_10..

Sorry, I do not follow here. What is xpython-0 referring to?

Here: the vars.
xpython

@ManPython
Copy link
Author

  • Can you reproduce these issues when running on localhost too?

yes, local on windows this same like linux (FreeBSD13)

  • Since you are hinting that some of the issues are fixed by switching a browser to Chrome, I would note that Firefox has stricter privacy defaults; could it be that your server is not configured to allow some connections (namely websockets) to be established or the browser rejects them based on lack of secure protocol (which is generally required when serving outside of localhost)?

About websockets.. no. Only one thing, I'm using on remote icp not tcp, but never meet any issues around. It's proxy porting do domain/subdomain. Anyway this same case on 3 different envs like windows11 this same like linux (FreeBSD13) and other (Mint).
Also probably case should be separated for FF and Chrome. Also anticipating some cases with ads blockers like adsplus, ublock.. I'm turning off for my projects. I know it's pain coz JS.. and app is complicated. Don't know the jupyter code around and can't help more than put a logs, outputs.

@JasonWeill JasonWeill removed the status:Needs Triage Applied to new issues that need triage label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants