question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception does not render correctly

See original GitHub issue

Information

  • OS: Windows
  • Version: 0.40.0
  • Terminal: Windows Terminal

Describe the bug

Could not load file or assembly 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Management.Infrastructure, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at Cupboard.Internal.WmiFacts.GetFacts(IRemainingArguments args)+MoveNext()
   at Cupboard.Internal.FactBuilder.Build(IRemainingArguments args) in /_/src/Cupboard/Internal/FactBuilder.cs:line 20
   at Cupboard.Internal.ExecutionEngine.Run(IRemainingArguments args, IStatusUpdater status, Boolean dryRun) in
/_/src/Cupboard/Internal/ExecutionEngine.cs:line 34
   at Cupboard.Internal.RunCommand.Run(CommandContext context, Settings settings) in
/_/src/Cupboard/Internal/Cli/RunCommand.cs:line 136
   at Cupboard.Internal.RunCommand.ExecuteAsync(CommandContext context, Settings settings) in
/_/src/Cupboard/Internal/Cli/RunCommand.cs:line 106
   at Spectre.Console.Cli.CommandExecutor.Execute(IConfiguration configuration, IEnumerable`1 args) in
/_/src/Spectre.Console/Cli/Internal/CommandExecutor.cs:line 84
   at Spectre.Console.Cli.CommandApp.RunAsync(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandApp.cs:line 87
   at Spectre.Console.Cli.CommandApp.Run(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandApp.cs:line 61
   at Spectre.Console.Cli.CommandApp`1.Run(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandAppOfT.cs:line 42
   at Cupboard.CupboardHost.Run(String[] args) in /_/src/Cupboard/CupboardHost.cs:line 30

Screenshots

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Genteurecommented, Sep 11, 2021

Looks like it got fixed in #513 https://github.com/spectreconsole/spectre.console/commit/e0815930123f9fdfa55c141107c5b0d4e25560b3

ExceptionParser now read the Message property directly instead of matching strings with regex.

0reactions
patriksvenssoncommented, Sep 18, 2021

@Genteure You are correct. Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exceptions will not render Laravel 5.7
I am using Laravel v 5.7.15. I wrote a validation helper which validates an API request - this works successfully, and prior I...
Read more >
matplotlib plot does not fully render if an exception is raised ...
I run the following in a notebook cell: %matplotlib notebook import matplotlib.pyplot as plt def plot_something(): plt.figure() plt.plot([0 ...
Read more >
Clean Code and the Art of Exception Handling
This way, we can ensure that all of the ActiveRecord::RecordInvalid errors are properly and DRY-ly handled in one place, on the base ApplicationController...
Read more >
Unhandled exception rendering component: Input string ...
Hi, I have the following message error : Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception ...
Read more >
9 Best Practices to Handle Exceptions in Java
Today's post is going to show you nine of the most important ones you can use to get started or improve your exception...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found