You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just upgraded my Windows Python to 3.8.0 amd64, and now sphinx-autobuild is failing when it tries to bring up the web server. Based on the traceback, it looks to be a problem in tornado, trying to use a non-implemented (no-longer-implemented-in-3.8?) asyncio feature:
>make livehtml
+--------- manually triggered build ---------------------------------------------
| Running Sphinx v2.2.0
| loading pickled environment... done
| loading intersphinx inventory from isphx/objects_python.inv...
| loading intersphinx inventory from isphx/objects_numpy.inv...
| encountered some issues with some of the inventories, but they had working alternatives:
| intersphinx inventory 'isphx/objects_numpy.inv' not fetchable due to <class 'FileNotFoundError'>: [Errno 2] No such file or directory: 'C:\\...\\doc\\source\\isphx/objects_numpy.inv'
| building [mo]: targets for 0 po files that are out of date
| building [html]: targets for 0 source files that are out of date
| updating environment: 0 added, 0 changed, 0 removed
| looking for now-outdated files... none found
| no targets are out of date.
| build succeeded.
|
| The HTML pages are in build.
+--------------------------------------------------------------------------------
[I 191017 14:36:13 server:296] Serving on http://127.0.0.1:8000
Traceback (most recent call last):
File "c:\...\python38\Lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\...\python38\Lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\...\env\Scripts\sphinx-autobuild.exe\__main__.py", line 7, in <module>
File "c:\...\env\lib\site-packages\sphinx_autobuild\__init__.py", line 318, in main
server.serve(port=portn, host=args.host, root=outdir)
File "c:\...\env\lib\site-packages\livereload\server.py", line 298, in serve
self.application(
File "c:\...\env\lib\site-packages\livereload\server.py", line 253, in application
app.listen(port, address=host)
File "c:\...\env\lib\site-packages\tornado\web.py", line 2112, in listen
server.listen(port, address)
File "c:\...\env\lib\site-packages\tornado\tcpserver.py", line 152, in listen
self.add_sockets(sockets)
File "c:\...\env\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
File "c:\...\env\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
File "c:\...\env\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "c:\...\python38\Lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
Ok, thanks -- based on that traceback, do you have any sense of where the right place is to file a bug report? Looks like either livereload or sphinx-autobuild?
Probably sphinx-autobuild based on a quick glance at what's going on there. They would just need to add a line that sets the correct event loop policy when on Windows.
I just upgraded my Windows Python to 3.8.0 amd64, and now
sphinx-autobuild
is failing when it tries to bring up the web server. Based on the traceback, it looks to be a problem intornado
, trying to use a non-implemented (no-longer-implemented-in-3.8?) asyncio feature:Packages in the environment:
The text was updated successfully, but these errors were encountered: