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

example app crashes horribly #19

Open
epsilonhalbe opened this issue Oct 19, 2021 · 0 comments
Open

example app crashes horribly #19

epsilonhalbe opened this issue Oct 19, 2021 · 0 comments

Comments

@epsilonhalbe
Copy link

OS: MacOS BigSur 11.6
Terminal: iTerm/Kitty

steps to reproduce:

small terminal

git clone https://github.com/Tenchi2xh/Scurses && cd Scurses
sbt onions/run
after the sbt start the following is printed, but the process then hangs and I need to kill it by sending SIGTERM

╒═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ ╕
│                                                                                                         Example Onions UI - Powered by Scurses                                                                                                           │
├ [Labels]ns/run
                   [success] Total time: 10 s, comple(#0|83x727|→)^[[0n[success] Total time: 22 s, completed 19-Oct-2021 17:56:47                                                                                                                           
                                                     [error]    at net.team2xh.scurses.Scurses.size(Scurses.scala:200)
                                                                                                                      [error]   at net.team2xh.onions.components.Frame.<init>(Frame.scala:41)
                                                       [error]  at net.team2xh.onions.examples.ExampleUI$.$anonfun$new$1(ExampleUI.scala:36)
      [error]   at net.team2xh.onions.examples.ExampleUI$.$anonfun$new$1$adapted(ExampleUI.scala:34)
                                                                                                    [error]     at net.team2xh.scurses.Scurses$.apply(Scurses.scala:27)
                                 [error]        at net.team2xh.onions.examples.ExampleUI$.delayedEndpoint$net$team2xh$onions$examples$ExampleUI$1(ExampleUI.scala:34)
                               [error]  at net.team2xh.onions.examples.ExampleUI$delayedInit$body.apply(ExampleUI.scala:13)
                                                                                                                           [error]   at scala.Function0.apply$mcV$sp(Function0.scala:39)
                                                  [error]       at scala.Function0.apply$mcV$sp$(Function0.scala:39)
                                                                                                                    [error]     at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
                                                                     [error]    at scala.App.$anonfun$main$1(App.scala:76)
                                                                                                                          [error]    at scala.App.$anonfun$main$1$adapted(App.scala:76)
                                                 [error]        at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
                                                                                                                                   [error]    at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
                                                                            [error]     at scala.collection.AbstractIterable.foreach(Iterable.scala:919)
                  [error]       at scala.App.main(App.scala:76)
                                                               [error]  at scala.App.main$(App.scala:74)
                                                                                                        [error]         at net.team2xh.onions.examples.ExampleUI$.main(ExampleUI.scala:13)
                                                    [error]     at net.team2xh.onions.examples.ExampleUI.main(ExampleUI.scala)
                                                                                                                              [error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                                              [error]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                  [error]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                                                                                                        [error]      at java.lang.reflect.Method.invoke(Method.java:498)
                                                  [error] stack trace is suppressed; run last onions / Compile / bgRun for the full output

if I use a bigger terminal output is refreshing every second or so and wiping the screen blinking ocasionally
image
changing the terminal size crashes the application.

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