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

OpenSUSE Tumbleweed does not set path. #293

Closed
1 task done
ZoomyCat opened this issue Nov 5, 2023 · 0 comments
Closed
1 task done

OpenSUSE Tumbleweed does not set path. #293

ZoomyCat opened this issue Nov 5, 2023 · 0 comments
Assignees
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Patched This is fixed and is part of a released version. Target: 4.x This is targeted to the 4.x release.

Comments

@ZoomyCat
Copy link

ZoomyCat commented Nov 5, 2023

Windows Version

Windows 11

Windows Build Number

22621.2506

WSL Version

WSL 2

Distro Version

OpenSUSE Tumbleweed

WSL Utilities Version

4.1.1-1

Describe the bug

An error is produced when trying to run rustup doc.

Steps to Reproduce

install rust, install wslu, run rustup doc. The following error happens:
error: couldn't open browser: command 'wslview' did not execute successfully; exit status: 1
command stderr:
Start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:128

  • ... oding(437); Start "wsl.localhostopenSUSE-Tumbleweedhomezoomycat ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
    • FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

Expected behavior

Expected the system uses wslview after installing wslu.

Additional context

I ran export BROWSER="/usr/bin/wslview" then it worked.

Added to the end of my ~/.bashrc file resolved the issue. I suggest appending this line to the file upon install.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ZoomyCat ZoomyCat added the Bug This is either an issue that describes a bug or a PR that resolves a bug label Nov 5, 2023
@patrick330602 patrick330602 added Status: Pending Release This is fixed but not yet released. Target: 4.x This is targeted to the 4.x release. labels Dec 30, 2023
@patrick330602 patrick330602 added Status: Patched This is fixed and is part of a released version. and removed Status: Pending Release This is fixed but not yet released. labels Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Patched This is fixed and is part of a released version. Target: 4.x This is targeted to the 4.x release.
Projects
None yet
Development

No branches or pull requests

2 participants