msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.25k stars 1.21k forks source link

python-jupyterlab does not know how to open browser #21139

Open Kreijstal opened 3 months ago

Kreijstal commented 3 months ago

Description / Steps to reproduce the issue

Jupyter nor jupyterlab can't open browser, the reason is the path transformation is wrong they try to open "file:///C://" which windows does not find. However "file://C:/" will work, a workaround is to do path replacement like this

jupyter lab --browser "powershell start ('\"%s\"' -replace '\"//\"','\"/\"')"

Expected behavior

jupyter lab opens browser

Actual behavior

jupyter lab does not open browser like in every other distro

Verification

Windows Version

MINGW64_NT-10.0-19045

MINGW environments affected

Are you willing to submit a PR?

No response

Kreijstal commented 3 months ago

this happens when starting it from msys2 bash