Question: Getting "No such device or address"
Closed this issue · 1 comments
jshuttAH commented
I was trying to use your image but when I start it up I just get an endless loop of:
sh: /dev/tty: No such device or address
java.lang.RuntimeException: Nonzero exit value: 1
scala.sys.process.ProcessBuilderImpl$AbstractBuilder.slurp(ProcessBuilderImpl.scala:164)
scala.sys.process.ProcessBuilderImpl$AbstractBuilder.$bang$bang(ProcessBuilderImpl.scala:121)
ammonite.terminal.TTY$.stty(Utils.scala:103)
ammonite.terminal.TTY$.withSttyOverride(Utils.scala:114)
ammonite.terminal.Terminal$.readLine(Terminal.scala:41)
ammonite.repl.AmmoniteFrontEnd.readLine(AmmoniteFrontEnd.scala:133)
ammonite.repl.AmmoniteFrontEnd.action(AmmoniteFrontEnd.scala:28)
ammonite.repl.Repl.$anonfun$action$4(Repl.scala:194)
ammonite.repl.Scoped.$anonfun$flatMap$1(Signaller.scala:45)
ammonite.repl.Signaller.apply(Signaller.scala:28)
ammonite.repl.Scoped.flatMap(Signaller.scala:45)
ammonite.repl.Scoped.flatMap$(Signaller.scala:45)
ammonite.repl.Signaller.flatMap(Signaller.scala:16)
ammonite.repl.Repl.$anonfun$action$2(Repl.scala:178)
ammonite.util.Catching.flatMap(Res.scala:115)
ammonite.repl.Repl.action(Repl.scala:170)
ammonite.repl.Repl.loop$1(Repl.scala:212)
ammonite.repl.Repl.run(Repl.scala:227)
ammonite.Main.$anonfun$run$1(Main.scala:236)
scala.Option.getOrElse(Option.scala:201)
ammonite.Main.run(Main.scala:224)
ammonite.MainRunner.$anonfun$runRepl$1(MainRunner.scala:72)
ammonite.MainRunner.watchLoop(MainRunner.scala:53)
ammonite.MainRunner.runRepl(MainRunner.scala:72)
ammonite.AmmoniteMain$.main0(AmmoniteMain.scala:99)
ammonite.AmmoniteMain$.main(AmmoniteMain.scala:38)
ammonite.AmmoniteMain.main(AmmoniteMain.scala)
I see references to others having similar issues in com-lihaoyi/Ammonite#928, but I haven't really found a resolution. Have you seen this?
jshuttAH commented
Figured out I needed to start the container up with the -t
flag.