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

Not displaying in JupyterLab 4.0.2 #196

Open
AlexGriffiths526 opened this issue Jun 9, 2023 · 13 comments
Open

Not displaying in JupyterLab 4.0.2 #196

AlexGriffiths526 opened this issue Jun 9, 2023 · 13 comments

Comments

@AlexGriffiths526
Copy link

I can't get anything to display in JupyterLab. I have taken a straightforward example from the API reference. See the screenshot below. The code runs and there is an output box like there should be something visible but is not.

image

@martinRenou
Copy link
Collaborator

Thank you for opening an issue!

Would you be able to provide the logs from the JavaScript console?
On Chrome:

Windows/Linux: Press Control + Shift + J.
Mac: Press Command + Option + J.

@AlexGriffiths526
Copy link
Author

Below are the logs - filtered to just include the errors/warnings. Please let me know if you need the full output.

jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Plugin 'jupytercad:fcplugin' failed to activate.
(anonymous) @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 TypeError: No provider for: @jupyter/collaboration-extension:ICollaborativeDrive.
at H.resolveRequiredService (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1600442)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1599410
at Array.map ()
at H.activatePlugin (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1599397)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1600967
at Array.map ()
at H.start (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1600954)
at K (812.8b0e8939a4ace07ad5c8.js?v=8b0e8939a4ace07ad5c8:1:8402)
(anonymous) @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Plugin 'jupytercad:jcadplugin' failed to activate.
(anonymous) @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 TypeError: No provider for: @jupyter/collaboration-extension:ICollaborativeDrive.
at H.resolveRequiredService (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1600442)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1599410
at Array.map ()
at H.activatePlugin (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1599397)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1600967
at Array.map ()
at H.start (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1600954)
at K (812.8b0e8939a4ace07ad5c8.js?v=8b0e8939a4ace07ad5c8:1:8402)
(anonymous) @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Language pack 'English_United Kingdom' not valid!
fetch @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
2jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Uncaught TypeError: Cannot read properties of null (reading 'type')
at u._cellToolbarOverlapsContents (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:212598)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:212488
jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Connection lost, reconnecting in 0 seconds.
_reconnect @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 TypeError: Cannot read properties of undefined (reading 'widget')
at isReady (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1054584)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:873010
at b (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:873104)
at P.onKernelChanged (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1053741)
at m (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1646609)
at Object.l [as emit] (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1646285)
at a.emit (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:1644122)
at b.restartKernel (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:127006)
at async y.restart (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:134704)
at async execute (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:65676)
onKernelChanged @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1
3jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Uncaught (in promise) Error: CodeMirrorEditor already set.
at ie.setEditor (jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:344082)
at jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1:228104

@AlexGriffiths526
Copy link
Author

And the image in case this is easier to read.
image

@trungleduc
Copy link
Member

Hi, could you check your jupytercad version?

@martinRenou
Copy link
Collaborator

Also I'm curious about the output of jupyter labextension list, if you can provide it :)

@AlexGriffiths526
Copy link
Author

I am using Jupytercad 0.2.3

JupyterLab v4.0.2
C:\Users\AG\AppData\Local\anaconda3\envs\Jupyter4\share\jupyter\labextensions
jupyterlab_pygments v0.2.2 enabled X (python, jupyterlab_pygments)
@jupyter/collaboration-extension v1.0.0 enabled ok (python, jupyter_collaboration)
@jupytercad/jupytercad-extension v0.2.3 enabled ok (python, jupytercad)

The following extensions are outdated:
jupyterlab_pygments
Consider running "jupyter labextension update --all" to check for updates.

Disabled extensions:
@jupyterlab/filebrowser-extension:defaultFileBrowser

@martinRenou
Copy link
Collaborator

martinRenou commented Jun 12, 2023

I'm clueless here.

TypeError: No provider for: @jupyter/collaboration-extension:ICollaborativeDrive. would indicate that jupyter_collaboration is not properly installed, but it seems to be found by your jupyterlab installation.

Is this error jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Plugin 'jupytercad:fcplugin' failed to activate. (anonymous) @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 the first one you see in the JavaScript console? If there are other error messages higher up in the logs that may help debug.

@nthiery
Copy link

nthiery commented Jun 13, 2023

Just as a data point: I get the same symptoms here: firefox, ubuntu, fresh mamba environment containing jupyterlab, with pip installed jupytercad.

@martinRenou
Copy link
Collaborator

Could you tell us which jupyter_collaboration version you have installed?

Also can you try installing jupytercad from conda-forge?

@nthiery
Copy link

nthiery commented Jun 13, 2023

installed packages
# packages in environment at /opt/mambaforge/envs/jupytercad:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
aiofiles                  22.1.0             pyhd8ed1ab_0    conda-forge
aiosqlite                 0.19.0             pyhd8ed1ab_0    conda-forge
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
anyio                     3.7.0              pyhd8ed1ab_1    conda-forge
aom                       3.5.0                h27087fc_0    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py310h5764c6d_3    conda-forge
asttokens                 2.2.1              pyhd8ed1ab_0    conda-forge
async-lru                 2.0.2              pyhd8ed1ab_0    conda-forge
atk-1.0                   2.38.0               hd4edc92_1    conda-forge
attr                      2.5.1                h166bdaf_1    conda-forge
attrs                     23.1.0             pyh71513ae_1    conda-forge
babel                     2.12.1             pyhd8ed1ab_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                pyhd8ed1ab_3    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.12.2             pyha770c72_0    conda-forge
bleach                    6.0.0              pyhd8ed1ab_0    conda-forge
boost-cpp                 1.74.0               h75c5d50_8    conda-forge
brotli                    1.0.9                h166bdaf_8    conda-forge
brotli-bin                1.0.9                h166bdaf_8    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.19.1               hd590300_0    conda-forge
ca-certificates           2023.5.7             hbcca054_0    conda-forge
cairo                     1.16.0            ha61ee94_1014    conda-forge
certifi                   2023.5.7           pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310h255011f_3    conda-forge
charset-normalizer        3.1.0              pyhd8ed1ab_0    conda-forge
coin3d                    4.0.0             hc543bf6_1011    conda-forge
comm                      0.1.3              pyhd8ed1ab_0    conda-forge
curl                      8.1.2                h409715c_0    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
debugpy                   1.6.7           py310heca2aa9_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
double-conversion         3.2.0                h27087fc_1    conda-forge
eigen                     3.4.0                h4bd325d_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
exceptiongroup            1.1.1              pyhd8ed1ab_0    conda-forge
executing                 1.2.0              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                hcb278e6_1    conda-forge
ffmpeg                    4.4.2           gpl_h8dda1f0_112    conda-forge
fftw                      3.3.10          nompi_hc118613_108    conda-forge
flann                     1.9.1             he05ef13_1011    conda-forge
flit-core                 3.9.0              pyhd8ed1ab_0    conda-forge
fltk                      1.3.8                h83e168f_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freecad                   0.20.2          py310h8dc7af3_0    conda-forge
freeimage                 3.18.0              h530e30e_10    conda-forge
freetype                  2.12.1               hca18f0e_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gdk-pixbuf                2.42.10              h5eee18b_0  
gettext                   0.21.1               h27087fc_0    conda-forge
giflib                    5.2.1                h0b41bf4_3    conda-forge
gl2ps                     1.4.2                h0708190_0    conda-forge
glew                      2.1.0                h9c3ff4c_2    conda-forge
glib                      2.76.3               hfc55251_0    conda-forge
glib-tools                2.76.3               hfc55251_0    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gmsh                      4.11.0               hc719622_0    conda-forge
gnutls                    3.7.8                hf3e180e_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphviz                  7.1.0                h2e5815a_0    conda-forge
gst-plugins-base          1.22.0               h4243ec0_2    conda-forge
gstreamer                 1.22.0               h25f0c4b_2    conda-forge
gstreamer-orc             0.4.34               hd590300_0    conda-forge
gtk2                      2.24.33              h90689f9_2    conda-forge
gts                       0.7.6                h977cf35_4    conda-forge
harfbuzz                  6.0.0                h8e241bc_0    conda-forge
hdf4                      4.2.15               h9772cbc_5    conda-forge
hdf5                      1.12.2          nompi_h4df4325_101    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
imath                     3.1.6                h6239696_1    conda-forge
importlib-metadata        6.6.0              pyha770c72_0    conda-forge
importlib_metadata        6.6.0                hd8ed1ab_0    conda-forge
importlib_resources       5.12.0             pyhd8ed1ab_0    conda-forge
ipykernel                 6.23.1             pyh210e3f2_0    conda-forge
ipython                   8.14.0             pyh41d4057_0    conda-forge
jack                      1.9.22               h11f4161_0    conda-forge
jedi                      0.18.2             pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   h0b41bf4_3    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsoncpp                   1.9.5                h4bd325d_1    conda-forge
jsonschema                4.17.3             pyhd8ed1ab_0    conda-forge
jupyter-collaboration     1.0.0              pyhd8ed1ab_0    conda-forge
jupyter-lsp               2.2.0              pyhd8ed1ab_0    conda-forge
jupyter_client            8.2.0              pyhd8ed1ab_0    conda-forge
jupyter_core              5.3.0           py310hff52083_0    conda-forge
jupyter_events            0.6.3              pyhd8ed1ab_0    conda-forge
jupyter_server            2.6.0              pyhd8ed1ab_0    conda-forge
jupyter_server_fileid     0.9.0              pyhd8ed1ab_0    conda-forge
jupyter_server_terminals  0.4.4              pyhd8ed1ab_1    conda-forge
jupyter_ydoc              1.0.2              pyhd8ed1ab_0    conda-forge
jupytercad                0.3.1              pyhd8ed1ab_0    conda-forge
jupyterlab                4.0.2              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.22.1             pyhd8ed1ab_0    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lame                      3.100             h166bdaf_1003    conda-forge
lcms2                     2.14                 h6ed2654_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libaec                    1.0.6                hcb278e6_1    conda-forge
libblas                   3.9.0           17_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_8    conda-forge
libbrotlidec              1.0.9                h166bdaf_8    conda-forge
libbrotlienc              1.0.9                h166bdaf_8    conda-forge
libcap                    2.67                 he9d0100_0    conda-forge
libcblas                  3.9.0           17_linux64_openblas    conda-forge
libclang                  15.0.7          default_h7634d5b_2    conda-forge
libclang13                15.0.7          default_h9986a30_2    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   8.1.2                h409715c_0    conda-forge
libdb                     6.2.32               h9c3ff4c_0    conda-forge
libdeflate                1.14                 h166bdaf_0    conda-forge
libdrm                    2.4.114              h166bdaf_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               h28343ad_4    conda-forge
libexpat                  2.5.0                hcb278e6_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libflac                   1.4.2                h27087fc_0    conda-forge
libgcc-ng                 13.1.0               he5830b7_0    conda-forge
libgcrypt                 1.10.1               h166bdaf_0    conda-forge
libgd                     2.3.3                h18fbbfe_3    conda-forge
libgfortran-ng            13.1.0               h69a702a_0    conda-forge
libgfortran5              13.1.0               h15d22d2_0    conda-forge
libglib                   2.76.3               hebfc3b9_0    conda-forge
libglu                    9.0.0             he1b5a44_1001    conda-forge
libgomp                   13.1.0               he5830b7_0    conda-forge
libgpg-error              1.46                 h620e276_0    conda-forge
libhwloc                  2.9.1                hd6dc26d_0    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
libidn2                   2.3.4                h166bdaf_0    conda-forge
liblapack                 3.9.0           17_linux64_openblas    conda-forge
libllvm15                 15.0.7               hadd5161_1    conda-forge
libnetcdf                 4.8.1           nompi_h261ec11_106    conda-forge
libnghttp2                1.52.0               h61bc06f_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.23          pthreads_h80387f5_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.17                 h166bdaf_0    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libpq                     15.3                 hbcd7760_1    conda-forge
libraw                    0.20.2               h9772cbc_2    conda-forge
librsvg                   2.54.4               h7abd40a_0    conda-forge
libsndfile                1.2.0                hb75c966_0    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libspnav                  0.2.3                h7f98852_2    conda-forge
libsqlite                 3.42.0               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              13.1.0               hfd8a6a1_0    conda-forge
libsystemd0               253                  h8c4010b_1    conda-forge
libtasn1                  4.19.0               h166bdaf_0    conda-forge
libtheora                 1.1.1             h7f98852_1005    conda-forge
libtiff                   4.4.0                h82bc61c_5    conda-forge
libtool                   2.4.7                h27087fc_0    conda-forge
libudev1                  253                  h0b41bf4_1    conda-forge
libunistring              0.9.10               h7f98852_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libva                     2.18.0               h0b41bf4_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libvpx                    1.11.0               h9c3ff4c_3    conda-forge
libwebp                   1.2.4                h522a892_0    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxkbcommon              1.5.0                h79f4944_1    conda-forge
libxml2                   2.10.3               hca2bb57_4    conda-forge
libxslt                   1.1.37               h873f0b0_0    conda-forge
libzip                    1.9.2                hc929e4a_1    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
loguru                    0.7.0           py310hff52083_0    conda-forge
lz4-c                     1.9.4                hcb278e6_0    conda-forge
markupsafe                2.1.3           py310h2372a71_0    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mistune                   2.0.5              pyhd8ed1ab_0    conda-forge
mpg123                    1.31.3               hcb278e6_0    conda-forge
mysql-common              8.0.32               hf1915f5_2    conda-forge
mysql-libs                8.0.32               hca2cd23_2    conda-forge
nbclient                  0.8.0              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.4.0              pyhd8ed1ab_0    conda-forge
nbformat                  5.9.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.4                  hcb278e6_0    conda-forge
nest-asyncio              1.5.6              pyhd8ed1ab_0    conda-forge
nettle                    3.8.1                hc379101_1    conda-forge
notebook-shim             0.2.3              pyhd8ed1ab_0    conda-forge
nspr                      4.35                 h27087fc_0    conda-forge
nss                       3.89                 he45b914_0    conda-forge
numpy                     1.24.3          py310ha4c1d20_0    conda-forge
occt                      7.6.3                h665cfa0_0    conda-forge
openexr                   3.1.5                h0cdce71_2    conda-forge
openh264                  2.3.1                hcb278e6_2    conda-forge
openjpeg                  2.5.0                h7d73246_1    conda-forge
openssl                   3.1.1                hd590300_1    conda-forge
overrides                 7.3.1              pyhd8ed1ab_0    conda-forge
p11-kit                   0.24.1               hc5aa10d_0    conda-forge
packaging                 23.1               pyhd8ed1ab_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
pango                     1.50.14              hd33c08f_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcl                       1.12.1               ha9d7cb3_2    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
pexpect                   4.8.0              pyh1a96a4e_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pip                       23.1.2             pyhd8ed1ab_0    conda-forge
pivy                      0.6.8           py310hbf28c38_2    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
platformdirs              3.5.3              pyhd8ed1ab_0    conda-forge
ply                       3.11                       py_1    conda-forge
proj                      9.0.1                h93bde94_1    conda-forge
prometheus_client         0.17.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.38             pyha770c72_0    conda-forge
prompt_toolkit            3.0.38               hd8ed1ab_0    conda-forge
psutil                    5.9.5           py310h1fa729e_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pugixml                   1.11.4               h59595ed_1    conda-forge
pulseaudio                16.1                 hcb278e6_3    conda-forge
pulseaudio-client         16.1                 h5195f5e_3    conda-forge
pulseaudio-daemon         16.1                 ha8d29e2_3    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydantic                  1.10.9          py310h2372a71_0    conda-forge
pygments                  2.15.1             pyhd8ed1ab_0    conda-forge
pyrsistent                0.19.3          py310h1fa729e_0    conda-forge
pyside2                   5.15.8          py310h3ae713e_2    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.10.11         he550d4f_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.17.1             pyhd8ed1ab_0    conda-forge
python-json-logger        2.0.7              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    3_cp310    conda-forge
pytz                      2023.3             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310h5764c6d_5    conda-forge
pyzmq                     25.1.0          py310h5bbb5d0_0    conda-forge
qhull                     2020.2               h4bd325d_2    conda-forge
qt                        5.15.8               hf11cfaa_0    conda-forge
qt-main                   5.15.8               h5d23da1_6    conda-forge
qt-webengine              5.15.8               h77d6d84_0    conda-forge
rapidjson                 1.1.0             he1b5a44_1002    conda-forge
reacttrs                  0.1.4              pyhd8ed1ab_0    conda-forge
readline                  8.2                  h8228510_1    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
rfc3339-validator         0.1.4              pyhd8ed1ab_0    conda-forge
rfc3986-validator         0.1.1              pyh9f0ad1d_0    conda-forge
send2trash                1.8.2              pyh41d4057_0    conda-forge
setuptools                67.7.2             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smesh                     9.9.0.0              hf3572f8_0    conda-forge
sniffio                   1.3.0              pyhd8ed1ab_0    conda-forge
soqt                      1.6.0                h924138e_3    conda-forge
soupsieve                 2.3.2.post1        pyhd8ed1ab_0    conda-forge
sqlite                    3.42.0               h2c6b66d_0    conda-forge
stack_data                0.6.2              pyhd8ed1ab_0    conda-forge
svt-av1                   1.4.1                hcb278e6_0    conda-forge
tbb                       2021.9.0             hf52228f_0    conda-forge
tbb-devel                 2021.9.0             hf52228f_0    conda-forge
terminado                 0.17.1             pyh41d4057_0    conda-forge
tinycss2                  1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tornado                   6.3.2           py310h2372a71_0    conda-forge
traitlets                 5.9.0              pyhd8ed1ab_0    conda-forge
typing-extensions         4.6.3                hd8ed1ab_0    conda-forge
typing_extensions         4.6.3              pyha770c72_0    conda-forge
typing_utils              0.1.0              pyhd8ed1ab_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
urllib3                   2.0.3              pyhd8ed1ab_0    conda-forge
utfcpp                    3.2.3                ha770c72_0    conda-forge
vtk                       9.1.0           qt_py310h343fe84_215    conda-forge
wcwidth                   0.2.6              pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.5.3              pyhd8ed1ab_0    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h166bdaf_2    conda-forge
x265                      3.5                  h924138e_3    conda-forge
xcb-util                  0.4.0                h516909a_0    conda-forge
xcb-util-image            0.4.0                h166bdaf_0    conda-forge
xcb-util-keysyms          0.4.0                h516909a_0    conda-forge
xcb-util-renderutil       0.3.9                h166bdaf_0    conda-forge
xcb-util-wm               0.4.1                h516909a_0    conda-forge
xerces-c                  3.2.4                h55805fa_1    conda-forge
xkeyboard-config          2.38                 h0b41bf4_0    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.8.4                h0b41bf4_0    conda-forge
xorg-libxau               1.0.11               hd590300_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxmu               1.1.3                h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.3.0                hd590300_0    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
y-py                      0.6.0           py310h4426083_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
yjs-widgets               0.3.4              pyhd8ed1ab_0    conda-forge
ypy-websocket             0.8.4              pyhd8ed1ab_0    conda-forge
ypywidgets                0.4.1              pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zipp                      3.15.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               hd590300_5    conda-forge
zstd                      1.5.2                h3eb15da_6    conda-forge

Environment now created with:

mamba create -n jupytercad -f -c conda-forge jupyterlab jupytercad

Same symptoms as above.

@martinRenou
Copy link
Collaborator

@nthiery would you be able to show us the very first errors you see in the JavaScript console?

@nthiery
Copy link

nthiery commented Jun 13, 2023

js log
Language pack 'fr_FR' not installed! [jlab_core.f68a597bc4700114bad4.js:1:1441377](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Connection lost, reconnecting in 0 seconds. [jlab_core.f68a597bc4700114bad4.js:1:1235833](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
Starting WebSocket: ws://localhost:8888/api/kernels/5a25553c-c3f4-4823-ba7e-b9210e0eac5d [jlab_core.f68a597bc4700114bad4.js:1:1221389](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/kernels/5a25553c-c3f4-4823-ba7e-b9210e0eac5d/channels?session_id=70b1f27e-ff3d-465d-95a2-af162c9f4987. [jlab_core.f68a597bc4700114bad4.js:1:1221630](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/events/subscribe?token=61ca34470e59b97914fecb0812187e3a7d421c8b7dfaac76. [jlab_core.f68a597bc4700114bad4.js:1:1216678](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/events/subscribe?token=61ca34470e59b97914fecb0812187e3a7d421c8b7dfaac76. [jlab_core.f68a597bc4700114bad4.js:1:1216678](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/JupyterLab:globalAwareness. [413.cf154c48ecaa08648e56.js:1:1985](http://localhost:8888/lab/extensions/@jupyter/collaboration-extension/static/413.cf154c48ecaa08648e56.js?v=cf154c48ecaa08648e56)
Firefox ne peut établir de connexion avec le serveur à l’adresse ws://localhost:8888/api/collaboration/room/json:notebook:8bf6375d-aaec-49de-900a-0a06a8cdab3d?sessionId=c65a19e4-76f1-4c58-935f-f52040a4b029. [285.350afcc32935a0cbf29f.js:1:9744](http://localhost:8888/lab/extensions/@jupytercad/jupytercad-extension/static/285.350afcc32935a0cbf29f.js?v=350afcc32935a0cbf29f)
XHRGET
http://localhost:8888/api/sessions?1686660038478

Showing error: 
Object { message: "A connection to the Jupyter server could not be established.\nJupyterLab will continue trying to reconnect.\nCheck your network connection or Jupyter server configuration.\n" }
[jlab_core.f68a597bc4700114bad4.js:1:112026](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)
XHRGET
http://localhost:8888/api/terminals?1686660041488

Showing error: 
Object { message: "A connection to the Jupyter server could not be established.\nJupyterLab will continue trying to reconnect.\nCheck your network connection or Jupyter server configuration.\n" }
[jlab_core.f68a597bc4700114bad4.js:1:112026](http://localhost:8888/static/lab/jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4)

@AlexGriffiths526
Copy link
Author

I'm clueless here.

TypeError: No provider for: @jupyter/collaboration-extension:ICollaborativeDrive. would indicate that jupyter_collaboration is not properly installed, but it seems to be found by your jupyterlab installation.

Is this error jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 Plugin 'jupytercad:fcplugin' failed to activate. (anonymous) @ jlab_core.f68a597bc4700114bad4.js?v=f68a597bc4700114bad4:1 the first one you see in the JavaScript console? If there are other error messages higher up in the logs that may help debug.

Hiya,
It was the first error yes. But I have it filtered to only show warnings and errors.

I have opened up the JS console again today but strangely I have slightly different errors but still have the same issue. See log below.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants