deshaw / jupyterlab-execute-time

A JupyterLab extension for displaying cell timings
BSD 3-Clause "New" or "Revised" License
372 stars 48 forks source link

Error with extension #95

Closed pililac closed 1 year ago

pililac commented 1 year ago

Using JupyterLab, the extensions shows a red bar and no execution time is displayed. What could be wrong? Attached is a a screenshot of the extensionlist and a list of all installed packages.

image

Click me for conda list content ``` >conda list # packages in environment at C:\other_software\miniforge3\envs\data_analysis: # # Name Version Build Channel aiofiles 22.1.0 pyhd8ed1ab_0 conda-forge aiosqlite 0.19.0 pyhd8ed1ab_0 conda-forge altair 4.2.0 pypi_0 pypi anyio 4.0.0 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py310h8d17308_3 conda-forge arrow 1.2.3 pyhd8ed1ab_0 conda-forge astroid 2.15.6 py310h5588dad_0 conda-forge asttokens 2.4.0 pyhd8ed1ab_0 conda-forge attrs 23.1.0 pyh71513ae_1 conda-forge autopep8 2.0.4 pyhd8ed1ab_0 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.5 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.2 pyha770c72_0 conda-forge black 23.9.1 py310h5588dad_0 conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge brotli 1.0.9 pypi_0 pypi brotli-bin 1.1.0 hcfcfb64_0 conda-forge brotli-python 1.1.0 py310h00ffb61_0 conda-forge brotlicffi 1.0.9.2 pypi_0 pypi brotlipy 0.7.0 py310h8d17308_1005 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge ca-certificates 2023.7.22 h56e8100_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py310h628cb3f_3 conda-forge charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge click 8.1.7 win_pyh7428d3b_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge comm 0.1.4 pyhd8ed1ab_0 conda-forge conda-package-handling 2.2.0 pyh38be061_0 conda-forge conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge contourpy 1.1.1 py310h232114e_0 conda-forge cryptography 41.0.3 py310h6e82f81_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge debugpy 1.8.0 py310h00ffb61_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge dill 0.3.7 pyhd8ed1ab_0 conda-forge dnspython 2.4.2 pyhd8ed1ab_0 conda-forge docstring-to-markdown 0.12 pyhd8ed1ab_0 conda-forge easyprocess 1.1 pyhd8ed1ab_0 conda-forge entrypoint2 1.1 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge flake8 6.1.0 pyhd8ed1ab_0 conda-forge fonttools 4.42.1 py310h8d17308_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 hdaf720e_2 conda-forge gettext 0.21.1 h5728263_0 conda-forge glib 2.78.0 h12be248_0 conda-forge glib-tools 2.78.0 h12be248_0 conda-forge greenlet 2.0.2 py310h00ffb61_1 conda-forge gst-plugins-base 1.22.5 h001b923_1 conda-forge gstreamer 1.22.5 hb4038d2_1 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge httpcore 0.18.0 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 72.1 h63175ca_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge impedance 1.5.0 pypi_0 pypi importlib-metadata 6.8.0 pyha770c72_0 conda-forge importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge importlib_resources 6.0.1 pyhd8ed1ab_0 conda-forge intel-openmp 2023.2.0 h57928b3_49496 conda-forge ipykernel 6.25.2 pyh60829e3_0 conda-forge ipympl 0.9.3 pyhd8ed1ab_0 conda-forge ipython 8.15.0 pyh5737063_0 conda-forge ipython-autotime 0.3.1 pypi_0 pypi ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge isort 5.12.0 pyhd8ed1ab_1 conda-forge jedi 0.19.0 pyhd8ed1ab_0 conda-forge jeepney 0.8.0 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge json5 0.9.14 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py310h5588dad_2 conda-forge jsonschema 4.19.0 pyhd8ed1ab_1 conda-forge jsonschema-specifications 2023.7.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.19.0 pyhd8ed1ab_1 conda-forge jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge jupyter_client 8.3.1 pyhd8ed1ab_0 conda-forge jupyter_core 5.3.1 py310h5588dad_0 conda-forge jupyter_events 0.7.0 pyhd8ed1ab_2 conda-forge jupyter_server 2.7.3 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_server_ydoc 0.8.0 pyhd8ed1ab_0 conda-forge jupyter_ydoc 0.2.4 pyhd8ed1ab_0 conda-forge jupyterlab 3.6.5 pyhd8ed1ab_0 conda-forge jupyterlab-lsp 4.2.0 pyhd8ed1ab_0 conda-forge jupyterlab_code_formatter 2.2.1 pyhd8ed1ab_0 conda-forge jupyterlab_execute_time 3.0.1 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.25.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge kiwisolver 1.4.5 py310h232114e_0 conda-forge krb5 1.20.1 heb0366b_0 conda-forge lazy-object-proxy 1.9.0 py310h8d17308_0 conda-forge lcms2 2.15 he9d350c_2 conda-forge lerc 4.0.0 h63175ca_0 conda-forge libblas 3.9.0 18_win64_mkl conda-forge libbrotlicommon 1.1.0 hcfcfb64_0 conda-forge libbrotlidec 1.1.0 hcfcfb64_0 conda-forge libbrotlienc 1.1.0 hcfcfb64_0 conda-forge libcblas 3.9.0 18_win64_mkl conda-forge libclang 16.0.6 default_heb8d277_1 conda-forge libclang13 16.0.6 default_hc80b9e7_1 conda-forge libdeflate 1.19 hcfcfb64_0 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libglib 2.78.0 he8f3873_0 conda-forge libhwloc 2.9.2 default_haede6df_1009 conda-forge libiconv 1.17 h8ffe710_0 conda-forge libjpeg-turbo 2.1.5.1 hcfcfb64_1 conda-forge liblapack 3.9.0 18_win64_mkl conda-forge libogg 1.3.4 h8ffe710_1 conda-forge libpng 1.6.39 h19919ed_0 conda-forge libprotobuf 3.20.3 h12be248_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libsqlite 3.43.0 hcfcfb64_0 conda-forge libtiff 4.6.0 h4554b19_1 conda-forge libvorbis 1.3.7 h0e60522_0 conda-forge libwebp-base 1.3.2 hcfcfb64_0 conda-forge libxcb 1.15 hcd874cb_0 conda-forge libxml2 2.11.5 hc3477c8_1 conda-forge libzlib 1.2.13 hcfcfb64_5 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge markupsafe 2.1.3 py310h8d17308_0 conda-forge matplotlib 3.7.2 py310h5588dad_0 conda-forge matplotlib-base 3.7.2 py310h51140c5_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mccabe 0.7.0 pyhd8ed1ab_0 conda-forge menuinst 2.0.0 py310h00ffb61_0 conda-forge miniforge_console_shortcut 2.0 h57928b3_1 conda-forge mistune 3.0.1 pyhd8ed1ab_0 conda-forge mkl 2022.1.0 h6a75c08_874 conda-forge mouseinfo 0.1.3 pyhd8ed1ab_0 conda-forge msys2-conda-epoch 20160418 1 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mypy_extensions 1.0.0 pyha770c72_0 conda-forge mysql-common 8.0.33 hde014ed_4 conda-forge mysql-connector-python 8.0.32 py310h6a47d84_0 conda-forge mysql-libs 8.0.33 h8b0d2c3_4 conda-forge nbclassic 1.0.0 pyhb4ecaf3_1 conda-forge nbclient 0.8.0 pyhd8ed1ab_0 conda-forge nbconvert 7.8.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.8.0 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.8.0 pyhd8ed1ab_0 conda-forge nbformat 5.9.2 pyhd8ed1ab_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge nodejs 20.6.1 h57928b3_0 conda-forge notebook 6.5.4 pyha770c72_0 conda-forge notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge numpy 1.26.0 py310hd02465a_0 conda-forge openjpeg 2.5.0 h3d672ee_3 conda-forge openpyxl 3.1.2 py310h8d17308_0 conda-forge openssl 3.1.2 hcfcfb64_0 conda-forge overrides 7.4.0 pyhd8ed1ab_0 conda-forge packaging 23.1 pyhd8ed1ab_0 conda-forge pandas 2.1.0 py310hecd3228_0 conda-forge pandoc 3.1.3 h57928b3_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pathspec 0.11.2 pyhd8ed1ab_0 conda-forge pcre2 10.40 h17e33f8_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 10.0.1 py310h6abe1ea_0 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 3.10.0 pyhd8ed1ab_0 conda-forge pluggy 1.3.0 pyhd8ed1ab_0 conda-forge ply 3.11 py_1 conda-forge prometheus_client 0.17.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.39 pyha770c72_0 conda-forge prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge protobuf 3.20.3 py310h5588dad_1 conda-forge psutil 5.9.5 py310h8d17308_0 conda-forge pthread-stubs 0.4 hcd874cb_1001 conda-forge pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pyautogui 0.9.54 py310h5588dad_1 conda-forge pycodestyle 2.11.0 pyhd8ed1ab_0 conda-forge pycosat 0.6.4 py310h8d17308_1 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pydocstyle 6.3.0 pyhd8ed1ab_0 conda-forge pyflakes 3.1.0 pyhd8ed1ab_0 conda-forge pygetwindow 0.0.9 py310h5588dad_1 conda-forge pygments 2.16.1 pyhd8ed1ab_0 conda-forge pylint 2.17.5 pyhd8ed1ab_0 conda-forge pymsgbox 1.0.9 pyhd8ed1ab_1 conda-forge pymysql 1.1.0 pyhd8ed1ab_0 conda-forge pyopenssl 23.2.0 pyhd8ed1ab_1 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyperclip 1.8.2 pyhd8ed1ab_2 conda-forge pyqt 5.15.9 py310h1fd54f2_4 conda-forge pyqt5-sip 12.12.2 py310h00ffb61_4 conda-forge pyrect 0.2.0 pyhd8ed1ab_0 conda-forge pyscreenshot 3.1 pyhd8ed1ab_0 conda-forge pyscreeze 0.1.29 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyh0701188_6 conda-forge python 3.10.12 h4de0772_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.18.0 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-lsp-jsonrpc 1.1.1 pyhd8ed1ab_0 conda-forge python-lsp-server 1.8.0 pyhd8ed1ab_0 conda-forge python-lsp-server-base 1.8.0 pyhd8ed1ab_0 conda-forge python-mss 9.0.1 pyhd8ed1ab_0 conda-forge python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge python-xlib 0.33 pyhd8ed1ab_0 conda-forge python_abi 3.10 3_cp310 conda-forge pytoolconfig 1.2.5 pyhd8ed1ab_0 conda-forge pytweening 1.0.7 pyhd8ed1ab_0 conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pywin32 304 py310h00ffb61_2 conda-forge pywinpty 2.0.11 py310h00ffb61_0 conda-forge pyyaml 6.0.1 py310h8d17308_0 conda-forge pyzmq 25.1.1 py310hcd737a0_0 conda-forge qt-main 5.15.8 h2c8576c_12 conda-forge referencing 0.30.2 pyhd8ed1ab_0 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 rope 1.9.0 pyhd8ed1ab_0 conda-forge rpds-py 0.10.3 py310h87d50f1_0 conda-forge ruamel_yaml 0.15.80 py310h8d17308_1008 conda-forge rubicon-objc 0.4.6 pyhd8ed1ab_0 conda-forge scipy 1.9.1 pypi_0 pypi send2trash 1.8.2 pyh08f2357_0 conda-forge setuptools 68.2.2 pyhd8ed1ab_0 conda-forge sip 6.7.11 py310h00ffb61_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge sqlalchemy 2.0.20 py310h8d17308_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge tbb 2021.10.0 h91493d7_0 conda-forge terminado 0.17.0 pyh08f2357_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h8ffe710_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tomlkit 0.12.1 pyha770c72_0 conda-forge toolz 0.12.0 pyhd8ed1ab_0 conda-forge tornado 6.3.3 py310h8d17308_0 conda-forge tqdm 4.66.1 pyhd8ed1ab_0 conda-forge traitlets 5.10.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.7.1 hd8ed1ab_0 conda-forge typing_extensions 4.7.1 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h71feb2d_0 conda-forge ucrt 10.0.22621.0 h57928b3_0 conda-forge ujson 5.7.0 py310h00ffb61_0 conda-forge unicodedata2 15.0.0 py310h8d17308_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge urllib3 2.0.4 pyhd8ed1ab_0 conda-forge vc 14.3 h64f974e_17 conda-forge vc14_runtime 14.36.32532 hdcecf7f_17 conda-forge vs2015_runtime 14.36.32532 h05e6639_17 conda-forge wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.6.3 pyhd8ed1ab_0 conda-forge whatthepatch 1.0.5 pyhd8ed1ab_0 conda-forge wheel 0.41.2 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge winpty 0.4.3 4 conda-forge wrapt 1.15.0 py310h8d17308_0 conda-forge xlsxwriter 3.1.3 pyhd8ed1ab_0 conda-forge xorg-libxau 1.0.11 hcd874cb_0 conda-forge xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge y-py 0.5.5 py310h87d50f1_2 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yapf 0.40.1 pyhd8ed1ab_0 conda-forge ypy-websocket 0.8.2 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zipp 3.16.2 pyhd8ed1ab_0 conda-forge zstandard 0.21.0 py310h0009e47_0 conda-forge zstd 1.5.5 h12be248_0 conda-forge ```
krassowski commented 1 year ago

@pililac you are using jupyterlab-execute-time 3.0.1 with JupyterLab 3.6.5. Please either downgrade jupyterlab-execute-time to version older than 3.0, or upgrade JupyterLab to version 4.0+

krassowski commented 1 year ago

It appears that conda-forge has outdated pin on JupyterLab version, which allows 3.x version to be installed with JupyterLab 3.x: https://github.com/conda-forge/jupyterlab_execute_time-feedstock/issues/14. I will open a PR to fix this.

pililac commented 1 year ago

Thanks a lot! Downgrading via conda install -c conda-forge jupyterlab_execute_time=2.3.1 helped.

krassowski commented 1 year ago

Closing as https://github.com/conda-forge/jupyterlab_execute_time-feedstock/issues/14 was fixed by https://github.com/conda-forge/jupyterlab_execute_time-feedstock/pull/18 and build 1 is now available on conda-forge.