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

Exception from Spectre on CLI setup exit #1402

Open
jas88 opened this issue Dec 8, 2022 · 0 comments
Open

Exception from Spectre on CLI setup exit #1402

jas88 opened this issue Dec 8, 2022 · 0 comments

Comments

@jas88
Copy link
Member

jas88 commented Dec 8, 2022

System.InvalidOperationException: Could not find color or style ''.
at Spectre.Console.StyleParser.Parse(String text) in //src/Spectre.Console/StyleParser.cs:line 17
at Spectre.Console.MarkupParser.Parse(String text, Style style) in /
/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:line 22
at Spectre.Console.Markup..ctor(String text, Style style) in //src/Spectre.Console/Widgets/Markup.cs:line 43
at Spectre.Console.TableExtensions.<>c.b__6_0(String column) in /
/src/Spectre.Console/Extensions/TableExtensions.cs:line 160
at System.Linq.Enumerable.SelectArrayIterator2.ToArray() at Spectre.Console.TableExtensions.AddRow(Table table, String[] columns) in /_/src/Spectre.Console/Extensions/TableExtensions.cs:line 160 at Setup.Program.AddResult(Table table, CheckEventArgs result, String taskName) in /home/runner/work/SmiServices/SmiServices/src/applications/Setup/Program.cs:line 117 at Setup.Program.RunUnattended(SetupOptions o) in /home/runner/work/SmiServices/SmiServices/src/applications/Setup/Program.cs:line 89 at Setup.Program.<>c__DisplayClass1_0.<Main>b__0(SetupOptions o) in /home/runner/work/SmiServices/SmiServices/src/applications/Setup/Program.cs:line 42 at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action) at Setup.Program.Main(IEnumerable1 args) in /home/runner/work/SmiServices/SmiServices/src/applications/Setup/Program.cs:line 33
at Applications.SmiRunner.Program.<>c__DisplayClass2_0.

b__0(Object service) in /home/runner/work/SmiServices/SmiServices/src/applications/Applications.SmiRunner/Program.cs:line 59
at Smi.Common.Options.SmiCliInit.<>c__DisplayClass9_0.b__0(Object parsed) in /home/runner/work/SmiServices/SmiServices/src/common/Smi.Common/Options/SmiCliInit.cs:line 114
at CommandLine.ParserResultExtensions.MapResult[TSource,TResult](ParserResult1 result, Func2 parsedFunc, Func2 notParsedFunc) at Smi.Common.Options.SmiCliInit.ParseServiceVerbAndRun(IEnumerable1 args, Type[] targetVerbTypes, Func`2 onParse) in /home/runner/work/SmiServices/SmiServices/src/common/Smi.Common/Options/SmiCliInit.cs:line 108
at Applications.SmiRunner.Program.Main(String[] args) in /home/runner/work/SmiServices/SmiServices/src/applications/Applications.SmiRunner/Program.cs:line 46

Error (exit code 1): Could not find color or style ''.
[

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant