Closed jhou-pro closed 12 years ago
Scala Worksheet 0.2.0.nightly-2_09-201210230322-0e39ffe
You are using V0.2.0-SNAPSHOT, not V0.1.2.
To fix this:
1) Uninstall your currently installed worksheet plugin, Eclipse > About > Installation Details, select the Worksheet plugin and Uninstall. 2) After restarting Eclipse, go to Help > Install New Software and use the following update site: http://download.scala-ide.org/sdk/e37/scala29/dev/site/ Unfold the "Scala IDE plugins" group and install the Worksheet. 3) After restarting you should now have a working worksheet.
As a general note, the scala-ide-user mailing list is a better place for asking question. If you have any further question, please drop a message in the previously mentioned mailing list.
Thank you very much and sorry for inconvenience. I have suspected smth. wrong, when "nightly" word has appeared in the version, but I have missed the actual version.
I just used "Check for updates" for Typesafe official Scala IDE. Maybe, "nightly" update site was added accidentally before.
Also thank you for such a great work for this project.
No problem at all, I'm very happy to know it's now working. Have fun with Scala and the worksheet! ;-)
You got me to think about the issue you have experienced and, as of now, it is no longer possible to install the worksheet v0.2.0-SNAPSHOT on the Scala IDE 2.1.0.m2, i.e., "Check For Updates" will only install a worksheet that is compatible with the used Scala IDE. So, all in all, this was a valid bug. My bad, and thanks for reporting it!
It's my pleasure to help you!
FYI, ~2-3 weeks ago I tried to get a newer version of worksheet and added "http://download.scala-ide.org/nightly-update-worksheet-scalaide21-29/site/" update site to try it out. After checking for updates -- there were no updates, and I have left that site in the list of update sites. And only today this update site gave me a new version v0.2.0-SNAPSHOT.
For now, to get a pure experiment, I have re-downloaded Scala IDE with bundled V0.1.2, and it works perfectly : )
Hello, dear Worksheet team!
Today my Worksheet has been updated according to V0.1.2 announcement. But after the update I can not save nothing in the worksheet (it tries to save, but saving fails due to exceptions). As a result of unsuccessful save -- worksheet does not evaluate anything. Is it a bug? Thanks in advance for your help.
My system:
Ubuntu 10.04 JDK 1.7.0_07-b10 Scala plugin version: 2.1.0.m2-2_09-201209130821-0dd7542 Scala compiler version: 2.9.3.v20120906-004703-4c11a6593c Scala library version: 2.9.3.v20120906-004703-4c11a6593c Eclipse version: 3.7.2.v201202080800 Scala Worksheet 0.2.0.nightly-2_09-201210230322-0e39ffe Scala SDK 2.1.0.201210181544 org.scala-ide.sdk.feature.feature.group scala-ide.org Scala IDE for Eclipse 2.1.0.m2-2_09-201209130821-0dd7542 org.scala-
The errors log: "2012-10-24 00:12:32,993 ERROR [ForkJoinPool-1-worker-2] - ProgramInstrumenter - Result missing during instrumentation 2012-10-24 00:12:33,089 ERROR [main] - org.scala-ide.sdt.core - org.scala-ide.sdt.core - org.scala-ide.sdt.core - 0 - Error during askOption java.lang.NoSuchMethodError: scala.tools.nsc.interactive.Global.interruptsEnabled_$eq(Z)V at scala.tools.nsc.interactive.ProgramInstrumenter$Instrumenter$.askInstrumentation(ProgramInstrumenter.scala:18) at scala.tools.nsc.interactive.ProgramInstrumenter$$anonfun$askInstrumented$1.apply$mcV$sp(ProgramInstrumenter.scala:51) at scala.tools.nsc.interactive.ProgramInstrumenter$$anonfun$askInstrumented$1.apply(ProgramInstrumenter.scala:51) at scala.tools.nsc.interactive.ProgramInstrumenter$$anonfun$askInstrumented$1.apply(ProgramInstrumenter.scala:51) at scala.tools.nsc.util.InterruptReq.liftedTree1$1(InterruptReq.scala:26) at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:25) at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:331) at scala.tools.nsc.interactive.Global.checkForMoreWork(Global.scala:392) at scala.tools.nsc.interactive.Global.signalDone(Global.scala:245) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4292) at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:4376) at scala.tools.nsc.typechecker.Typers$Typer.typedType(Typers.scala:4379) at scala.tools.nsc.typechecker.Typers$Typer.parentTypes(Typers.scala:1090) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1320) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3915) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273) at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2100) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:2184) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$24.apply(Typers.scala:2184) at scala.collection.immutable.List.loop$1(List.scala:148) at scala.collection.immutable.List.mapConserve(List.scala:164) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2184) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3908) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4273) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4333) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:94) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:329) at scala.tools.nsc.interactive.Global$TyperRun$$anonfun$applyPhase$1.apply(Global.scala:1082) at scala.tools.nsc.interactive.Global$TyperRun$$anonfun$applyPhase$1.apply(Global.scala:1082) at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:95) at scala.tools.nsc.interactive.Global$TyperRun.applyPhase(Global.scala:1082) at scala.tools.nsc.interactive.Global$TyperRun.typeCheck(Global.scala:1075) at scala.tools.nsc.interactive.Global.scala$tools$nsc$interactive$Global$$typeCheck(Global.scala:561) at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile$5$$anonfun$apply$7.apply(Global.scala:478) at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile$5.apply(Global.scala:474) at scala.tools.nsc.interactive.Global$$anonfun$backgroundCompile$5.apply(Global.scala:474) at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:743) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:76) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:742) at scala.tools.nsc.interactive.Global.backgroundCompile(Global.scala:474) at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:25) 2012-10-24 00:12:33,090 ERROR [main] - org.scala-ide.sdt.core - org.scala-ide.sdt.core - org.scala-ide.sdt.core - 0 - Error during instrumentation of ScriptCompilationUnit(L/newworksheets/src/week5/higherlists.sc) org.scalaide.worksheet.runtime.ProgramInstrumentationFailed: Error during askInstrumented of unit higherlists.sc at org.scalaide.worksheet.runtime.SourceInstrumenter.instrumentProgram(SourceInstrumenter.scala:38) at org.scalaide.worksheet.runtime.SourceInstrumenter.instrument(SourceInstrumenter.scala:21) at org.scalaide.worksheet.runtime.WorksheetRunner$$anonfun$act$1$$anonfun$apply$2.apply(WorksheetRunner.scala:59) at org.scalaide.worksheet.runtime.WorksheetRunner$$anonfun$act$1$$anonfun$apply$2.apply(WorksheetRunner.scala:52) at scala.actors.ReactorTask.run(ReactorTask.scala:31) at scala.actors.Reactor$class.resumeReceiver(Reactor.scala:129) at org.scalaide.worksheet.runtime.WorksheetRunner.scala$actors$ReplyReactor$$super$resumeReceiver(WorksheetRunner.scala:33) at scala.actors.ReplyReactor$class.resumeReceiver(ReplyReactor.scala:68) at org.scalaide.worksheet.runtime.WorksheetRunner.resumeReceiver(WorksheetRunner.scala:33) at scala.actors.Actor$class.searchMailbox(Actor.scala:500) at org.scalaide.worksheet.runtime.WorksheetRunner.searchMailbox(WorksheetRunner.scala:33) at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Reactor.scala:117) at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114) at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114) at scala.actors.ReactorTask.run(ReactorTask.scala:33) at scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoinPool.java:611) at scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422) at scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325) Caused by: scala.tools.nsc.interactive.MissingResponse: response missing at scala.tools.nsc.interactive.ProgramInstrumenter.askInstrumented(ProgramInstrumenter.scala:55) at org.scalaide.worksheet.runtime.SourceInstrumenter$$anonfun$instrumentProgram$1$$anonfun$apply$1.apply(SourceInstrumenter.scala:31) at org.scalaide.worksheet.runtime.SourceInstrumenter$$anonfun$instrumentProgram$1$$anonfun$apply$1.apply(SourceInstrumenter.scala:31) at scala.tools.eclipse.ScalaPresentationCompiler.withResponse(ScalaPresentationCompiler.scala:227) at org.scalaide.worksheet.runtime.SourceInstrumenter$$anonfun$instrumentProgram$1.apply(SourceInstrumenter.scala:31) at org.scalaide.worksheet.runtime.SourceInstrumenter$$anonfun$instrumentProgram$1.apply(SourceInstrumenter.scala:28) at scala.tools.eclipse.ScalaProject$$anonfun$withPresentationCompiler$1.apply(ScalaProject.scala:523) at scala.tools.eclipse.ScalaProject$$anonfun$withPresentationCompiler$1.apply(ScalaProject.scala:522) at scala.tools.eclipse.util.Cached$class.apply(Cached.scala:41) at scala.tools.eclipse.ScalaProject$$anon$1.apply(ScalaProject.scala:95) at scala.tools.eclipse.ScalaProject.withPresentationCompiler(ScalaProject.scala:522) at org.scalaide.worksheet.runtime.SourceInstrumenter.instrumentProgram(SourceInstrumenter.scala:32) ... 18 more "