wslutilities / wslu

A collection of utilities for Windows Subsystem for Linux
https://wslutiliti.es/wslu
GNU General Public License v3.0
3.44k stars 155 forks source link

Request to be able to install wslu v4.1.1-1 #307

Closed jmonk73 closed 6 months ago

jmonk73 commented 6 months ago

Windows Version

Windows 11

Windows Build Number

22631

WSL Version

WSL 1

Distro Version

OracleLinux_8_5

WSL Utilities Version

4.1.2

Describe the bug

Hi,

wslu v4.1.1-1 works just fine with our setups and opens a web browser automatically without issues, but since the changes applied in v4.1.2 anyone in my team who installed wslu after 11th March (v4.1.2) is having issues and the browser wont open automatically etc.

Is it possible you could make wslu v4.1.1-1 available just for me to have my team members install it? This would be the easiest and quickest option for us.

Yours hopeful! Justin.

Steps to Reproduce

Is it possible you could make wslu v4.1.1-1 available just for me to have my team members install it? This would be the easiest and quickest option for us.

Expected behavior

Is it possible you could make wslu v4.1.1-1 available just for me to have my team members install it? This would be the easiest and quickest option for us.

Additional context

No response

Code of Conduct

patrick330602 commented 6 months ago

Sorry for the late reply, I am out of town for holidays. Could you provide which WSL distribution are you using? In this way I can compile one for you.

Also can you provide the result for wslview --debug <url>? Thanks!

jmonk73 commented 6 months ago
C:\Users\Justin>wsl -l -v
  NAME               STATE           VERSION
* OracleLinux_8_5    Running         1

NB. The whole team is on Version 1

re wslview --debug , it works just fine for me as I am on wslu v4.1.1-1....

[jmonk@JMONK-D3ZG2T3 ~]$ wslview --debug https://www.google.com
[debug:/usr/bin/wslview] Showing debug output.
[debug:/usr/bin/wslview] source default setting
[debug:/usr/bin/wslview] /etc/wslu/conf found, sourcing
[debug:/usr/bin/wslview] distro: oracle
[debug:/usr/bin/wslview] lname: https://www.google.com
[debug:/usr/bin/wslview] WSLVIEW_DEFAULT_ENGINE: powershell
[debug:/usr/bin/wslview] properfile_full_path:
[debug:/usr/bin/wslview] validating whether if it is a link
[debug:/usr/bin/wslview] It is a link
[debug:/usr/bin/wslview] cmd: "https://www.google.com"
[debug:/usr/bin/wslview] winps_exec: called with command Start "https://www.google.com"

[jmonk@JMONK-D3ZG2T3 ~]$ wslview --version
wslu v4.1.1-1

However, it doesn't work for those on wslu v4.1.2, hence the request. I will need to wait until tomorrow to get the output of one of the team where this is not working.

patrick330602 commented 6 months ago

@jmonk73 Hi, did you obtain the output?

jmonk73 commented 6 months ago

@patrick330602 Apologies, yes I did.

They all get the following output & error....

[jignacio@JIGNACIO-US ~]$ wslview --version [error] You should use Bash 5 and higher; exiting. [jignacio@JIGNACIO-US ~]$ wslview --debug https://www.google.com/ [debug:/usr/bin/wslview] Showing debug output. [error] You should use Bash 5 and higher; exiting.

We even tried updating this team member to Bash 5 and he still gets the exact same output as above.

[jignacio@JIGNACIO-US ~]$ bash --version GNU bash, version 5.0.0(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

FYI , my bash version is...

[jmonk@JMONK-D3ZG2T3 ~]$ bash --version GNU bash, version 4.4.20(1)-release (x86_64-redhat-linux-gnu)

... and works without issue with wslu v4.1.1-1

patrick330602 commented 6 months ago

I believe I know the issue. I will try to release an emergency release tonight.

jmonk73 commented 6 months ago

Ok thanks!

patrick330602 commented 6 months ago

The newer version should be started building: https://copr.fedorainfracloud.org/coprs/wslutilities/wslu/build/7287562/