itables icon indicating copy to clipboard operation
itables copied to clipboard

UnicodeDecodeError in JupyterLab Desktop

Open apogorzelska opened this issue 1 year ago • 3 comments

I'm getting following error in JupyterLab Desktop. I'm using a conda environment with Python 3.11.8 on Windows 11, itables version 2.0.0 installed from conda-forge.

image

apogorzelska avatar Mar 29 '24 18:03 apogorzelska

Thank you @apogorzelska for reporting this! Oh sorry I had not tested itables on Windows yet, I should have thought of this. I plan to look into this in the coming days.

Meanwhile, may I ask you if init_notebook_mode(all_interactive=True, connected=True) works any better?

mwouts avatar Mar 30 '24 11:03 mwouts

Just gived it a try, and it worked in an environment created with

conda create -n test_itables 'itables==2.0' jupyterlab -c conda-forge

image

For some reason utf-8 does not seem to be the default on your installation, I will prepare a PR for using an explicit encoding argument.

mwouts avatar Mar 30 '24 13:03 mwouts

The PR and the instructions to test it are available here. Can you let me know if that fixes this issue? You might have to install nodejs in your conda environment. Thanks!

mwouts avatar Mar 30 '24 13:03 mwouts