wolfe-pack / moro

Interactive documentation and programming with Scala, iPython notebook style.
http://wolfe-pack.github.io/moro
BSD 2-Clause "Simplified" License
19 stars 3 forks source link

Boxed Error when executing notebook #57

Open riedelcastro opened 9 years ago

riedelcastro commented 9 years ago

Happens on

http://localhost:9000/template/statnlpbook/01_tasks/01_languagemodels

but I feel I have seen this elsewhere as well...

[error] play - Cannot invoke the action, eventually got an error: java.util.concurrent.ExecutionException: Boxed Error
[error] application - 

! @6lnnbg7j1 - Internal server error, for (POST) [/compiler/scala] ->

play.api.Application$$anon$1: Execution exception[[AssertionError: assertion failed: failed to set value for moro_28n5d11e11gdn7adg6l2chfhhnmcc1bjne_1748803534Log: Error]]
    at play.api.Application$class.handleError(Application.scala:296) [play_2.11-2.3.8.jar:2.3.8]
    at play.api.DefaultApplication.handleError(Application.scala:402) [play_2.11-2.3.8.jar:2.3.8]
    at play.api.Application$class.handleError(Application.scala:291) [play_2.11-2.3.8.jar:2.3.8]
    at play.api.DefaultApplication.handleError(Application.scala:402) [play_2.11-2.3.8.jar:2.3.8]
    at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [play_2.11-2.3.8.jar:2.3.8]
Caused by: java.lang.AssertionError: assertion failed: failed to set value for moro_28n5d11e11gdn7adg6l2chfhhnmcc1bjne_1748803534Log: Error
    at scala.Predef$.assert(Predef.scala:165) ~[scala-library-2.11.4.jar:na]
    at controllers.ScalaIMainInterpreter.interpret(ScalaIMainInterpreter.scala:166) ~[classes/:na]
    at controllers.ScalaIMainInterpreter$$anonfun$execute$1.apply$mcVI$sp(ScalaIMainInterpreter.scala:211) ~[classes/:na]
    at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:166) ~[scala-library-2.11.4.jar:na]
    at controllers.ScalaIMainInterpreter.execute(ScalaIMainInterpreter.scala:209) ~[classes/:na]
sameersingh commented 9 years ago

I couldn't reproduce it (was too lazy to set up the statnlp notebook), but I did add some debug code, so if it happens again, send me the terminal output. If the terminal output looks useless, can you add settings.debug.value = true on line 130 in ScalaIMainInterpreter.scala, and let me know the output (the cells will look all messed up).

On Tue, Apr 14, 2015 at 5:22 AM, Sebastian Riedel notifications@github.com wrote:

Happens on

http://localhost:9000/template/statnlpbook/01_tasks/01_languagemodels

but I feel I have seen this elsewhere as well...

[error] play - Cannot invoke the action, eventually got an error: java.util.concurrent.ExecutionException: Boxed Error [error] application -

! @6lnnbg7j1 - Internal server error, for (POST) [/compiler/scala] ->

play.api.Application$$anon$1: Execution exception[[AssertionError: assertion failed: failed to set value for moro_28n5d11e11gdn7adg6l2chfhhnmcc1bjne_1748803534Log: Error]] at play.api.Application$class.handleError(Application.scala:296) [play_2.11-2.3.8.jar:2.3.8] at play.api.DefaultApplication.handleError(Application.scala:402) [play_2.11-2.3.8.jar:2.3.8] at play.api.Application$class.handleError(Application.scala:291) [play_2.11-2.3.8.jar:2.3.8] at play.api.DefaultApplication.handleError(Application.scala:402) [play_2.11-2.3.8.jar:2.3.8] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [play_2.11-2.3.8.jar:2.3.8] Caused by: java.lang.AssertionError: assertion failed: failed to set value for moro_28n5d11e11gdn7adg6l2chfhhnmcc1bjne_1748803534Log: Error at scala.Predef$.assert(Predef.scala:165) ~[scala-library-2.11.4.jar:na] at controllers.ScalaIMainInterpreter.interpret(ScalaIMainInterpreter.scala:166) ~[classes/:na] at controllers.ScalaIMainInterpreter$$anonfun$execute$1.apply$mcVI$sp(ScalaIMainInterpreter.scala:211) ~[classes/:na] at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:166) ~[scala-library-2.11.4.jar:na] at controllers.ScalaIMainInterpreter.execute(ScalaIMainInterpreter.scala:209) ~[classes/:na]

— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/57.

riedelcastro commented 9 years ago

They seem hard to reproduce, and I feel I have been running into different variants of this when working with the statnlpbook (different error messages, but somehow something state-dependent). The net effect is that I keep on restarting quite regularly...

riedelcastro commented 9 years ago

Also, at some points scala cells stop showing output when changed and re-run. Unfortunately I have no idea when and why, so again this will be hard to reproduce.

sameersingh commented 9 years ago

Sure, will keep an eye on it, but paste whatever you see, if it's any different from the previous output. On Apr 14, 2015 8:54 PM, "Sebastian Riedel" notifications@github.com wrote:

Also, at some points scala cells stop showing output when changed and re-run. Unfortunately I have no idea when and why, so again this will be hard to reproduce.

— Reply to this email directly or view it on GitHub https://github.com/wolfe-pack/moro/issues/57#issuecomment-93179320.