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

ProgressBar not working on Linux #81

Open
pmengal opened this issue Mar 23, 2021 · 2 comments
Open

ProgressBar not working on Linux #81

pmengal opened this issue Mar 23, 2021 · 2 comments

Comments

@pmengal
Copy link

pmengal commented Mar 23, 2021

Here is the stack strace:

System.PlatformNotSupportedException: Operation is not supported on this platform. at System.ConsolePal.MoveBufferArea(Int32 sourceLeft, Int32 sourceTop, Int32 sourceWidth, Int32 sourceHeight, Int32 targetLeft, Int32 targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) at System.Console.MoveBufferArea(Int32 sourceLeft, Int32 sourceTop, Int32 sourceWidth, Int32 sourceHeight, Int32 targetLeft, Int32 targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) at Konsole.Writer.MoveBufferArea(Int32 sourceLeft, Int32 sourceTop, Int32 sourceWidth, Int32 sourceHeight, Int32 targetLeft, Int32 targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) at Konsole.ConcurrentWriter.MoveBufferArea(Int32 sourceLeft, Int32 sourceTop, Int32 sourceWidth, Int32 sourceHeight, Int32 targetLeft, Int32 targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) at Konsole.Window.MoveBufferArea(Int32 sourceLeft, Int32 sourceTop, Int32 sourceWidth, Int32 sourceHeight, Int32 targetLeft, Int32 targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) at Konsole.ConcurrentWriter.MoveBufferArea(Int32 sourceLeft, Int32 sourceTop, Int32 sourceWidth, Int32 sourceHeight, Int32 targetLeft, Int32 targetTop, Char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) at Konsole.Window.ScrollDown() at Konsole.Window.WriteLine(String text) at Konsole.ConcurrentWriter.WriteLine(String text) at Konsole.ProgressBarSlim..ctor(Int32 max, Nullable1 textWidth, Char character, IConsole console)
at Konsole.ProgressBar..ctor(Int32 max, Nullable1 textWidth, Char character, PbStyle style, IConsole console) at Konsole.ProgressBar..ctor(IConsole console, Int32 max, Int32 textWidth) at CasterStats.TvAnalytics.ConsoleProgressReport.UpdateProgressBar(ProgressReport e) at CasterStats.TvAnalytics.TvProgramCommand.<>c__DisplayClass0_0.<Run>b__1(Object o, ProgressReport i) at CasterStats.TvAnalytics.Calculate.OnReportProgress(ProgressReport e) at CasterStats.TvAnalytics.CalculatePrograms.<>c__DisplayClass1_0.<CalculateProgramList>b__0() at CasterStats.TvAnalytics.RavenDbCache1.GetOrCreate(Object objectKey, Int32 cacheDuration, Func1 createItem) at CasterStats.TvAnalytics.CalculatePrograms.CalculateProgramList(IList1 plays, Parameters parameters)
at CasterStats.TvAnalytics.TvProgramCommand.b__0_0(TvProgramCommandOptions parameter)
at CasterStats.TvAnalytics.TvCommandBase2.<>c__DisplayClass3_0.<Run>b__0(T parameter, List1 results)
at CasterStats.TvAnalytics.TvCommandBase2.CalculateResult(T options, Action2 calculateCallback)`

@goblinfactory
Copy link
Owner

This is a duplicate of #30 (Implement MoveBufferArea in Unix to enable using more cross platform support #30)
Please don't close this issue, it's useful to leave open so that other developers will read the comments and look at the issue.
Thank you
Alan

@goblinfactory
Copy link
Owner

TLDR;

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

2 participants