-
Notifications
You must be signed in to change notification settings - Fork 136
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
Installation under Bash on Ubuntu on Windows (WSL) has odd path resolution #164
Comments
It looks like it is possible to detect that you are running under Bash on Windows. This behaviour has been seen as a problem by others, and there is a registry setting to stop WSL combining Windows and Linux paths. Would this project accept an update to install.sh that detected WSL and offered only Linux paths? My personal feeling is that end user software should try to be low friction for end users. Lektor was low friction on macOS, but not Windows for me. |
@brianly I've just found out, after banging my head against the wall a few times (not really), that there are 2 versions to that:
I've found them both courtesy of @benhillis |
@brianly I know this issues is a bit old, but for the record, I agree that we want installs to be as low friction as possible, and updates to the install.ps1 and install.sh files to that effect are great. I don't personally have Windows, or Windows experience that's at all recent though, so I'm labeling this as 'help wanted'. |
@brianly / @MrCroft if you are still watching this, what would be a good location to install under in this setup? The installer finds the first writable directory in lektor-website/assets/installer.py Line 36 in 1a059fa
If you have a predictable Using native windows python should also be low-friction.
@brianly if you still wanna fix this, the secret is in |
Closing this for lack of feedback. It's also been a long time since the report and the installer has been overhauled. If it's still an issue please reopen. |
I wanted to install on Windows 10. Thinking that ImageMagick might be a pain to install I tried installation under WSL. When I do this I find that install.sh resolves some odd installation directories:
I have Go installed under Windows and it seems to want to install there. If I look at my $PATH variable under WSL it looks like it includes values from Linux and Windows:
Running the find_user_paths() function independently under WSL I get:
I haven't done enough research to understand the expected behaviour with paths, but I see similar behavior on another computer running WSL under Windows 10.
The text was updated successfully, but these errors were encountered: