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

Bad error message on Linux #89

Open
jonathanpeppers opened this issue Jun 9, 2021 · 0 comments
Open

Bad error message on Linux #89

jonathanpeppers opened this issue Jun 9, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@jonathanpeppers
Copy link
Owner

Running on Linux:

$ boots --preview Mono
* Automatic URL resolving is a new feature. File issues at: https://github.com/jonathanpeppers/boots/issues
Unhandled exception: System.NotImplementedException: Value for product not implemented on Windows: Mono
   at Boots.Core.WindowsUrlResolver.GetProductId(Product product) in /Users/runner/work/1/s/Boots.Core/WindowsUrlResolver.cs:line 97
   at Boots.Core.WindowsUrlResolver.Resolve(ReleaseChannel channel, Product product, CancellationToken token) in /Users/runner/work/1/s/Boots.Core/WindowsUrlResolver.cs:line 23
   at Boots.Core.Bootstrapper.Install(CancellationToken token) in /Users/runner/work/1/s/Boots.Core/Bootstrapper.cs:line 36
   at Boots.Program.Run(String url, String stable, String preview, Nullable`1 fileType) in /Users/runner/work/1/s/Boots/Program.cs:line 86
   at System.CommandLine.Invocation.CommandHandler.GetResultCodeAsync(Object value, InvocationContext context)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__21_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__22_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__11_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()

It's definitely not Windows, so some logic is wrong here.

@jonathanpeppers jonathanpeppers added the good first issue Good for newcomers label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant