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

Session cannot be started in a folder with non-ascii characters #808

Open
suzuyu1729 opened this issue Apr 7, 2024 · 6 comments
Open

Session cannot be started in a folder with non-ascii characters #808

suzuyu1729 opened this issue Apr 7, 2024 · 6 comments
Labels

Comments

@suzuyu1729
Copy link

suzuyu1729 commented Apr 7, 2024

Description

In Windows 11, if one starts a session by opening a folder whose path includes non-ascii characters, , e.g. "A", then JupyterLab cannot open the folder and open the condabin folder in the python environment folder instead.

Reproduce

The following is reproduced in Windows 11 Pro 23H2 and JupyterLab Desktop 4.1.5-1.

  1. Launch JupyterLab Desktop from the icon in Desktop.
  2. In welcome page, click "Open Folder"
  3. Select a folder whose path includes non-ascii characters, e.g. "A".
  4. Create a new ipynb file in File Browser of JupyterLab. Save it.
  5. If one see the opened folder in Explorer.exe, one cannot find the ipynb file.
  6. Instead, one finds the ipynb file in the condabin folder in the python environment folder.

Expected behavior

JupyterLab can handle the folders of the above type normally.

Context

  • Operating System and version: Windows 11 Pro 23H2 (OS build 22631.3374)
  • JupyterLab-Desktop version: 4.1.5-1
  • Installer: .exe

p.s.
Originally I had a problem with folders in a non-C drive, but I cannot reproduce this drive issue now.
Probably I was confused it with non-ascii path issue...?

Copy link

welcome bot commented Apr 7, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@Ohachiyo
Copy link

Same problem for me (with é). I had to revert to 4.0.7 for my session to open in the correct folder. I tried every releases in-between except 4.0.1, 4.1.0 and 4.1.1

@pmguerre
Copy link

pmguerre commented May 22, 2024

I have the same problem (in Windows 11 Pro 22H2, OS Build 22621.3593).

If i try to right-click on a ipynb file (using file explorer, and in a path with non-ascii chars) it opens JupyterLab Desktop (so far so good), but it doesn't open any file, and it opens in the condabin folder of the python environment.

This happens in versions 4.1.8-1, 4.1.5-1, 4.1.4-1, 4.1.2-1, 4.1.1-1, 4.1.0-1 (i've tryed all of those) and then skip to 4.0.7-1, and in this version it works just fine.

@Ohachiyo
Copy link

Ohachiyo commented Sep 3, 2024

Any update on this issue?

@pmguerre
Copy link

pmguerre commented Sep 5, 2024

I have the same problem (in Windows 11 Pro 22H2, OS Build 22621.3593).

If i try to right-click on and ipynb file (using file explorer, and in a path with non-ascii chars) it opens JupyterLab Desktop (so far so good), but it doesn't open any file, and it opens in the condabin folder of the python environment.

This happens in versions 4.1.8-1, 4.1.5-1, 4.1.4-1, 4.1.2-1, 4.1.1-1, 4.1.0-1 (i've tryed all of those) and then skip to 4.0.7-1, and in this version it works just fine.

I've since tried also 4.0.11-1 and 4.0.12-1 with mixed results. In 4.0.11-1 it works fine, but version 4.0.12-1 has the bug.

So, from what I've gathered, this whole problems started in 4.0.12-1, and (maybe it's nothing maybe it's the cause), but I've noticed that from version 4.0.11 to 4.0.12 you changed the distribution file (in Windows anyway) from 32 bits in 4.0.11 (JupyterLab-Setup-Windows.exe) to 64 bits only in 4.0.12 (JupyterLab-Setup-Windows-x64.exe)... Maybe this has something to do with the problem?

@flothesof
Copy link

Hi, I have the same issue on Windows 10 Enterprise.
Is there any known workaround maybe?

Thank you!

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

No branches or pull requests

5 participants