reveal.js-to-pdf icon indicating copy to clipboard operation
reveal.js-to-pdf copied to clipboard

Scala Version Hangs

Open AndrewReitz opened this issue 11 years ago • 3 comments

After executing Slides2Png.scala , nothing happens. It will just hang until the process is kill.

OS: Fedora 20 Scala Version: 2.10 SBT Version: 0.13.1

I have image magic and zsh installed.

AndrewReitz avatar Sep 11 '14 15:09 AndrewReitz

Hi, thanks for reporting this issue. Hmm SBT should be installing Scala 2.11.1 and then executing this.

I don't know if SBT is picking up and executing the script, or how far it gets. If you could help debug this with println's to find out where it stops, I would certainly appreciate it!

swartzrock avatar Sep 11 '14 16:09 swartzrock

Sure. I'm guessing sbt isn't running, should I be seeing output from it? I tried leaving off the url to see if it would print out the usage statement, but that didn't happen. Added a print statment to the script and didn't see that either. I'm guessing there is an issue with sbt starting.

AndrewReitz avatar Sep 11 '14 16:09 AndrewReitz

I replaced #!/usr/bin/env sbt -Dsbt.main.class=sbt.ScriptMain with #!/usr/bin/sbt -Dsbt.main.class=sbt.ScriptMain which seems to get sbt to execute but is causing other issues. I will keep you updated.

AndrewReitz avatar Sep 11 '14 16:09 AndrewReitz