sphinx-doc / sphinx-autobuild

Watch a Sphinx directory and rebuild the documentation when a change is detected. Also includes a hot-reload web server.
MIT License
524 stars 75 forks source link

Code stuck before starting the server #45

Closed montefra closed 3 years ago

montefra commented 8 years ago

Hi,

recently the autobuild is miss-behaving.

If I run from scratch, it correctly builds the documentation, but then get stuck just before starting the server:

| [...]
| dumping search index in English (code: en) ... done
| dumping object inventory... done
| build succeeded, 117 warnings.

If I ctrl+C I get:

File "/path/to/bin/sphinx-autobuild", line 11, in <module>
    sys.exit(main())
File "/path/to/lib/python3.4/site-  packages/sphinx_autobuild/__init__.py", line 310, in main
    builder.build()
File "/path/to/lib/python3.4/site-packages/sphinx_autobuild/__init__.py", line 183, in build
    line = stdout.readline()
KeyboardInterrupt
Makefile:64: recipe for target 'livehtml' failed
make: *** [livehtml] Error 1

If I rerun I get:

| no targets are out of date.
| build succeeded.
+--------------------------------------------------------------------------------

[I 160602 10:55:19 server:281] Serving on http://127.0.0.1:8000
[I 160602 10:55:19 handlers:59] Start watching changes
[I 160602 10:55:19 handlers:61] Start detecting changes

Then when I modify something, the documentation is rebuilt, but it stop at:

| [...]
| dumping search index in English (code: en) ... done
| dumping object inventory... done
| build succeeded, 6 warnings.

and ctrl+c simply shut down the server.

pradyunsg commented 3 years ago

Hi!

This is a really old issue, but by any chance, do you know why this might have been occurring? And, if someone has a way to reproduce this, that'd be great! :)

pradyunsg commented 3 years ago

Closing since this is really old and I don't expect OP to respond looking at their GH activity.