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

System.InvalidOperationException: Unbalanced markup stack #63

Open
alexaka1 opened this issue Nov 29, 2024 · 0 comments
Open

System.InvalidOperationException: Unbalanced markup stack #63

alexaka1 opened this issue Nov 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alexaka1
Copy link

alexaka1 commented Nov 29, 2024

Describe the Bug

I am encountering the same issue as in #31.

Steps to Reproduce

In repo https://github.com/alexaka1/serilog-extensions/tree/feature/trx-logger on the trx-logger branch, see the Tests action workflow.

Expected Behavior

Exception with Stack Trace

Unhandled exception. System.InvalidOperationException: Unbalanced markup stack. Did you forget to close a tag?
   at Spectre.Console.MarkupParser.Parse(String text, Style style) in /_/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:line 55
   at Spectre.Console.Markup..ctor(String text, Style style) in /_/src/Spectre.Console/Widgets/Markup.cs:line 42
   at Spectre.Console.FallbackStatusRenderer.Update(ProgressContext context) in /_/src/Spectre.Console/Live/Progress/Renderers/FallbackStatusRenderer.cs:line 27
   at Spectre.Console.ProgressContext.Refresh() in /_/src/Spectre.Console/Live/Progress/ProgressContext.cs:line 177
   at Spectre.Console.ProgressRefreshThread.Run() in /_/src/Spectre.Console/Live/Progress/ProgressRefreshThread.cs:line 45

Version Info

0.4.5

Additional Info

The workflow of this branch uploads the TRX files as an artifact for investigation.
https://github.com/alexaka1/serilog-extensions/actions/runs/12088363249

One of my tests outputs a lot of text to the ITestOutputHelper, maybe that is what's causing the issue.

Back this issue
Back this issue

@alexaka1 alexaka1 added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant