You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this exception when trying to use any command that shows more then a help message:
$ ./gitlab config
Unhandled Exception: System.InvalidOperationException: The terminfo database is invalid.
at System.TermInfo.Database..ctor(String term, Byte[] data)
at System.TermInfo.Database.ReadDatabase(String term, String directoryPath)
at System.TermInfo.Database.ReadDatabase(String term)
at System.TermInfo.Database.ReadActiveDatabase()
at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.CreateValue()
at System.ConsolePal.WriteResetColorString()
at System.ConsolePal.RefreshColors(ConsoleColor& toChange, ConsoleColor value)
at GitLabCLI.Console.Output.ConsoleColoredWriter.WriteColoredLine(String line) in C:\projects\gitlabcli\src\GitlabCLI.Console\Output\ConsoleColoredWriter.cs:line 18
at GitLabCLI.Console.Output.ConsoleColoredWriter.Write(String text) in C:\projects\gitlabcli\src\GitlabCLI.Console\Output\ConsoleColoredWriter.cs:line 11
at GitLabCLI.Console.Output.OutputPresenter.ShowError(String header, String error) in C:\projects\gitlabcli\src\GitlabCLI.Console\Output\OutputPresenter.cs:line 36
at GitLabCLI.Console.LaunchHandler.<Launch>d__4.MoveNext() in C:\projects\gitlabcli\src\GitlabCLI.Console\LaunchHandler.cs:line 38
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitLabCLI.Console.Program.<Main>d__0.MoveNext() in C:\projects\gitlabcli\src\GitlabCLI.Console\Program.cs:line 8
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitLabCLI.Console.Program.<Main>(String[] args)
Aborted
I'm getting this exception when trying to use any command that shows more then a help message:
This seems to be related to by the following .NET Core issue: https://github.com/dotnet/corefx/issues/26966
The Workaround in that issue (setting
TERM
toxterm
) seems to help:The text was updated successfully, but these errors were encountered: