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

Sphinx and GitBook don't work in Windows #143

Open
rpiaggio opened this issue Mar 29, 2019 · 0 comments
Open

Sphinx and GitBook don't work in Windows #143

rpiaggio opened this issue Mar 29, 2019 · 0 comments

Comments

@rpiaggio
Copy link

Sphinx is installed in the sytem. However running makeSite fails and then:

[server] $ last server/sphinx:generateHtml
[info] Generating Sphinx html documentation...
[debug] Command: sphinx-build -a -E -b html -d C:\dev\CLAP\SIPMobile\server\target\sphinx\doctrees\html -Dversion=2.0.0-RC-8.2-SNAPSHOT -Drelease=2.0.0-RC-8.2-SNAPSHOT C:\dev\CLAP\SIPMobile\docs C:\dev\CLAP\SIPMobile\server\target\sphinx\html
[debug] Environment: Map(PYTHONPATH -> )
java.io.IOException: Cannot run program "sphinx-build" (in directory "C:\dev\CLAP\SIPMobile\docs"): CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
        at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:128)
        at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159)
        at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner$$anon$1.buffer(SphinxHelpers.scala:161)
        at sbt.AbstractProcessBuilder.runBuffered(ProcessImpl.scala:159)
        at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:156)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner$$anonfun$1.apply(SphinxHelpers.scala:119)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner$$anonfun$1.apply(SphinxHelpers.scala:104)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:267)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:263)
        at sbt.Difference.apply(Tracked.scala:224)
        at sbt.Difference.apply(Tracked.scala:206)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:263)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:262)
        at sbt.Difference.apply(Tracked.scala:224)
        at sbt.Difference.apply(Tracked.scala:200)
        at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:262)
        at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:260)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner.sphinxBuild(SphinxHelpers.scala:126)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner.generateHtml(SphinxHelpers.scala:58)
        at com.typesafe.sbt.site.sphinx.SphinxPlugin$$anonfun$generateHtmlTask$1.apply(SphinxPlugin.scala:89)
        at com.typesafe.sbt.site.sphinx.SphinxPlugin$$anonfun$generateHtmlTask$1.apply(SphinxPlugin.scala:84)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
        at java.lang.ProcessImpl.start(ProcessImpl.java:137)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
        at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:128)
        at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159)
        at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner$$anon$1.buffer(SphinxHelpers.scala:161)
        at sbt.AbstractProcessBuilder.runBuffered(ProcessImpl.scala:159)
        at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:156)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner$$anonfun$1.apply(SphinxHelpers.scala:119)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner$$anonfun$1.apply(SphinxHelpers.scala:104)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:267)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:263)
        at sbt.Difference.apply(Tracked.scala:224)
        at sbt.Difference.apply(Tracked.scala:206)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:263)
        at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:262)
        at sbt.Difference.apply(Tracked.scala:224)
        at sbt.Difference.apply(Tracked.scala:200)
        at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:262)
        at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:260)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner.sphinxBuild(SphinxHelpers.scala:126)
        at com.typesafe.sbt.site.sphinx.CommandLineSphinxRunner.generateHtml(SphinxHelpers.scala:58)
        at com.typesafe.sbt.site.sphinx.SphinxPlugin$$anonfun$generateHtmlTask$1.apply(SphinxPlugin.scala:89)
        at com.typesafe.sbt.site.sphinx.SphinxPlugin$$anonfun$generateHtmlTask$1.apply(SphinxPlugin.scala:84)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)

Similarly for GitBook, I can capture the error if needed.

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