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

Add show_tracebacks trait #630

Merged
merged 2 commits into from Sep 16, 2020
Merged

Conversation

vidartf
Copy link
Contributor

@vidartf vidartf commented Jun 15, 2020

Fixes #616 .

Currently not tested as current tests fail on Windows 😢

@maartenbreddels
Copy link
Member

LGTM, only a flake issue.

@vidartf
Copy link
Contributor Author

vidartf commented Jun 23, 2020

@maartenbreddels Well, it should preferably get a unit test, but since tests don't work on Windows I cannot really write it with confidence.

@maartenbreddels
Copy link
Member

Would you describe what does wrong? Maybe we should start adding it to CI?

@martinRenou
Copy link
Member

Tests should pass on Windows, although the Github action we are using is not compatible with Windows yet.

@vidartf
Copy link
Contributor Author

vidartf commented Jul 24, 2020

Here are the results of following CONTRIBUTING.md:
(voila) C:\dev\voila>python -m pytest
================================================= test session starts =================================================
platform win32 -- Python 3.8.5, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: C:\dev\voila
plugins: jupyter-server-0.3.0, tornasync-0.6.0.post2
collected 37 items

tests\execute_output_test.py F [ 2%]
tests\app\config_paths_test.py ...E [ 13%]
tests\app\cwd_subdir_test.py E [ 16%]
tests\app\cwd_test.py E [ 18%]
tests\app\execute_cpp_test.py s [ 21%]
tests\app\execute_test.py Exception ignored in: <function Socket.del at 0x000001A0D63D3DC0>
Traceback (most recent call last):
File "C:\cleanconda\envs\voila\lib\site-packages\zmq\sugar\socket.py", line 67, in del
self.close()
File "C:\cleanconda\envs\voila\lib\site-packages\zmq_future.py", line 160, in close
self.clear_io_state()
File "C:\cleanconda\envs\voila\lib\site-packages\zmq\asyncio_init
.py", line 60, in _clear_io_state
self.io_loop.remove_reader(self._fd)
File "C:\cleanconda\envs\voila\lib\asyncio\events.py", line 504, in remove_reader
raise NotImplementedError
NotImplementedError:
EE [ 27%]
tests\app\image_inlining_test.py E [ 29%]
tests\app\many_iopub_messages_test.py E [ 32%]
tests\app\nbextensions_test.py E [ 35%]
tests\app\no_kernelspec_test.py E [ 37%]
tests\app\no_strip_sources_test.py E [ 40%]
tests\app\non_existing_kernel_test.py E [ 43%]
tests\app\notebooks_test.py E [ 45%]
tests\app\serve_directory_test.py EEs [ 54%]
tests\app\syntax_error_test.py E [ 56%]
tests\app\template_arg_test.py E [ 59%]
tests\app\template_cli_test.py E [ 62%]
tests\app\template_config_file_test.py E [ 64%]
tests\app\template_custom_test.py E [ 67%]
tests\app\timeout_test.py E [ 70%]
tests\app\tree_test.py E [ 72%]
tests\server\cwd_subdir_test.py F [ 75%]
tests\server\execute_cpp_test.py s [ 78%]
tests\server\execute_test.py F [ 81%]
tests\server\nbextensions_test.py x [ 83%]
tests\server\no_strip_sources_test.py F [ 86%]
tests\server\tree_test.py F [ 89%]
tests\template_prefixes\loader_test.py .... [100%]

======================================================= ERRORS ========================================================
___________________________________________ ERROR at setup of test_template ___________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA3E0E20>
http_server_port = (<socket.socket fd=1112, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63037)>, 63037)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1112
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA3E0E20>>
args = (1112, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_w3zd02wd.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_________________________________________ ERROR at setup of test_hello_world __________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9FEE2B0>
http_server_port = (<socket.socket fd=1052, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63040)>, 63040)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1052
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9FEE2B0>>
args = (1052, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Looking for voila in C:\ProgramData\jupyter
[VoilaTest] Looking for voila in C:\cleanconda\envs\voila\etc\jupyter
[VoilaTest] Looking for voila in C:\Users\vidar.jupyter
[VoilaTest] Looking for voila in C:\dev\voila
[VoilaTest] using template: lab
[VoilaTest] template paths:
C:\dev\voila\share\jupyter\voila\templates\lab
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab
C:\dev\voila\share\jupyter\voila\templates\base
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base
C:\dev\voila\share\jupyter
C:\dev\voila\share\jupyter\voila\templates
C:\dev\voila\share\jupyter\nbconvert\templates
C:\Users\vidar\AppData\Roaming\jupyter
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates
C:\cleanconda\envs\voila\share\jupyter
C:\cleanconda\envs\voila\share\jupyter\voila\templates
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates
C:\ProgramData\jupyter
C:\ProgramData\jupyter\voila\templates
C:\ProgramData\jupyter\nbconvert\templates
[VoilaTest] static paths:
C:\dev\voila\share\jupyter\voila\templates\lab\static
C:\dev\voila\share\jupyter\nbconvert\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab\static
C:\ProgramData\jupyter\voila\templates\lab\static
C:\ProgramData\jupyter\nbconvert\templates\lab\static
C:\dev\voila\share\jupyter\voila\templates\base\static
C:\dev\voila\share\jupyter\nbconvert\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base\static
C:\ProgramData\jupyter\voila\templates\base\static
C:\ProgramData\jupyter\nbconvert\templates\base\static
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_g7v2be4v.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
[VoilaTest] serving directory: 'C:\dev\voila\tests\notebooks'
_________________________________________ ERROR at setup of test_template_cwd _________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9FF2520>
http_server_port = (<socket.socket fd=1196, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63043)>, 63043)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1196
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9FF2520>>
args = (1196, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_awt56s6m.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_________________________________________ ERROR at setup of test_hello_world __________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA304970>
http_server_port = (<socket.socket fd=1168, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63046)>, 63046)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1168
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA304970>>
args = (1168, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_odune22m.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
______________________________________ ERROR at setup of test_no_execute_allowed ______________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D7CCB3A0>
http_server_port = (<socket.socket fd=888, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63080)>, 63080)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 888
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D7CCB3A0>>
args = (888, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_6idgu0tv.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
________________________________________ ERROR at setup of test_image_inlining ________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA107730>
http_server_port = (<socket.socket fd=1000, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63085)>, 63085)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1000
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA107730>>
args = (1000, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_qjvl8coy.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_________________________________________ ERROR at setup of test_template_cwd _________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA11A7F0>
http_server_port = (<socket.socket fd=888, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63088)>, 63088)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 888
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA11A7F0>>
args = (888, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_zgat5pui.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_______________________________________ ERROR at setup of test_lists_extension ________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9FF0790>
http_server_port = (<socket.socket fd=892, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63091)>, 63091)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 892
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9FF0790>>
args = (892, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_454t6dc1.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_____________________________________ ERROR at setup of test_non_existing_kernel ______________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4B1640>
http_server_port = (<socket.socket fd=1056, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63094)>, 63094)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1056
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4B1640>>
args = (1056, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_iaol_lhd.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_______________________________________ ERROR at setup of test_no_strip_sources _______________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4A4820>
http_server_port = (<socket.socket fd=1196, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63098)>, 63098)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1196
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4A4820>>
args = (1196, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_aa_1j_k_.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_____________________________________ ERROR at setup of test_non_existing_kernel ______________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4944F0>
http_server_port = (<socket.socket fd=1128, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63101)>, 63101)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1128
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4944F0>>
args = (1128, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_70oznppa.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_________________________________________ ERROR at setup of test_other_comms __________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA301430>
http_server_port = (<socket.socket fd=904, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63104)>, 63104)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 904
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA301430>>
args = (904, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Looking for voila in C:\ProgramData\jupyter
[VoilaTest] Looking for voila in C:\cleanconda\envs\voila\etc\jupyter
[VoilaTest] Looking for voila in C:\Users\vidar.jupyter
[VoilaTest] Looking for voila in C:\dev\voila
[VoilaTest] using template: lab
[VoilaTest] template paths:
C:\dev\voila\share\jupyter\voila\templates\lab
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab
C:\dev\voila\share\jupyter\voila\templates\base
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base
C:\dev\voila\share\jupyter
C:\dev\voila\share\jupyter\voila\templates
C:\dev\voila\share\jupyter\nbconvert\templates
C:\Users\vidar\AppData\Roaming\jupyter
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates
C:\cleanconda\envs\voila\share\jupyter
C:\cleanconda\envs\voila\share\jupyter\voila\templates
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates
C:\ProgramData\jupyter
C:\ProgramData\jupyter\voila\templates
C:\ProgramData\jupyter\nbconvert\templates
[VoilaTest] static paths:
C:\dev\voila\share\jupyter\voila\templates\lab\static
C:\dev\voila\share\jupyter\nbconvert\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab\static
C:\ProgramData\jupyter\voila\templates\lab\static
C:\ProgramData\jupyter\nbconvert\templates\lab\static
C:\dev\voila\share\jupyter\voila\templates\base\static
C:\dev\voila\share\jupyter\nbconvert\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base\static
C:\ProgramData\jupyter\voila\templates\base\static
C:\ProgramData\jupyter\nbconvert\templates\base\static
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_dt88h84e.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
[VoilaTest] serving directory: 'C:\dev\voila\tests\notebooks'
____________________________________________ ERROR at setup of test_print _____________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA323DF0>
http_server_port = (<socket.socket fd=512, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63108)>, 63108)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 512
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA323DF0>>
args = (512, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Looking for voila in C:\ProgramData\jupyter
[VoilaTest] Looking for voila in C:\cleanconda\envs\voila\etc\jupyter
[VoilaTest] Looking for voila in C:\Users\vidar.jupyter
[VoilaTest] Looking for voila in C:\dev\voila
[VoilaTest] using template: lab
[VoilaTest] template paths:
C:\dev\voila\share\jupyter\voila\templates\lab
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab
C:\dev\voila\share\jupyter\voila\templates\base
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base
C:\dev\voila\share\jupyter
C:\dev\voila\share\jupyter\voila\templates
C:\dev\voila\share\jupyter\nbconvert\templates
C:\Users\vidar\AppData\Roaming\jupyter
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates
C:\cleanconda\envs\voila\share\jupyter
C:\cleanconda\envs\voila\share\jupyter\voila\templates
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates
C:\ProgramData\jupyter
C:\ProgramData\jupyter\voila\templates
C:\ProgramData\jupyter\nbconvert\templates
[VoilaTest] static paths:
C:\dev\voila\share\jupyter\voila\templates\lab\static
C:\dev\voila\share\jupyter\nbconvert\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab\static
C:\ProgramData\jupyter\voila\templates\lab\static
C:\ProgramData\jupyter\nbconvert\templates\lab\static
C:\dev\voila\share\jupyter\voila\templates\base\static
C:\dev\voila\share\jupyter\nbconvert\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base\static
C:\ProgramData\jupyter\voila\templates\base\static
C:\ProgramData\jupyter\nbconvert\templates\base\static
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_ozdee90v.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
[VoilaTest] serving directory: 'C:\dev\voila\tests\notebooks'
___________________________________________ ERROR at setup of test_print_py ___________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA1437C0>
http_server_port = (<socket.socket fd=1072, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63111)>, 63111)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1072
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA1437C0>>
args = (1072, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Looking for voila in C:\ProgramData\jupyter
[VoilaTest] Looking for voila in C:\cleanconda\envs\voila\etc\jupyter
[VoilaTest] Looking for voila in C:\Users\vidar.jupyter
[VoilaTest] Looking for voila in C:\dev\voila
[VoilaTest] using template: lab
[VoilaTest] template paths:
C:\dev\voila\share\jupyter\voila\templates\lab
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab
C:\dev\voila\share\jupyter\voila\templates\base
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base
C:\dev\voila\share\jupyter
C:\dev\voila\share\jupyter\voila\templates
C:\dev\voila\share\jupyter\nbconvert\templates
C:\Users\vidar\AppData\Roaming\jupyter
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates
C:\cleanconda\envs\voila\share\jupyter
C:\cleanconda\envs\voila\share\jupyter\voila\templates
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates
C:\ProgramData\jupyter
C:\ProgramData\jupyter\voila\templates
C:\ProgramData\jupyter\nbconvert\templates
[VoilaTest] static paths:
C:\dev\voila\share\jupyter\voila\templates\lab\static
C:\dev\voila\share\jupyter\nbconvert\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab\static
C:\ProgramData\jupyter\voila\templates\lab\static
C:\ProgramData\jupyter\nbconvert\templates\lab\static
C:\dev\voila\share\jupyter\voila\templates\base\static
C:\dev\voila\share\jupyter\nbconvert\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base\static
C:\ProgramData\jupyter\voila\templates\base\static
C:\ProgramData\jupyter\nbconvert\templates\base\static
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_4nu3rqdl.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
[VoilaTest] serving directory: 'C:\dev\voila\tests\notebooks'
_________________________________________ ERROR at setup of test_syntax_error _________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA3B6BE0>
http_server_port = (<socket.socket fd=1100, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63114)>, 63114)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1100
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA3B6BE0>>
args = (1100, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_ncq6ixz_.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
___________________________________________ ERROR at setup of test_template ___________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA164910>
http_server_port = (<socket.socket fd=1052, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63117)>, 63117)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1052
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA164910>>
args = (1052, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_n4fn2vca.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
________________________________________ ERROR at setup of test_template_test _________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9F6F160>
http_server_port = (<socket.socket fd=1072, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63120)>, 63120)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1072
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0D9F6F160>>
args = (1072, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_0tos12b8.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
________________________________________ ERROR at setup of test_template_test _________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA323250>
http_server_port = (<socket.socket fd=1164, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63123)>, 63123)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1164
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA323250>>
args = (1164, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] WARNING | Config option nbconvert_template_paths not recognized by VoilaTest. Did you mean template_paths?
[VoilaTest] WARNING | Config option nbconvert_template_paths not recognized by VoilaTest. Did you mean template_paths?
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_nny4jd1j.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
___________________________________________ ERROR at setup of test_template ___________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA2E6670>
http_server_port = (<socket.socket fd=1112, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63126)>, 63126)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1112
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA2E6670>>
args = (1112, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_prcqlwre.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
___________________________________________ ERROR at setup of test_timeout ____________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4483A0>
http_server_port = (<socket.socket fd=1060, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63129)>, 63129)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1060
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA4483A0>>
args = (1060, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_f0oawsk_.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
_____________________________________________ ERROR at setup of test_tree _____________________________________________

request = <SubRequest 'http_server' for >
io_loop = <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA3A0B20>
http_server_port = (<socket.socket fd=1140, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 63132)>, 63132)

@pytest.yield_fixture
def http_server(request, io_loop, http_server_port):
    """Start a tornado HTTP server that listens on all available interfaces.

    You must create an `app` fixture, which returns
    the `tornado.web.Application` to be tested.

    Raises:
        FixtureLookupError: tornado application fixture not found
    """
    http_app = request.getfixturevalue(request.config.option.app_fixture)
    server = tornado.httpserver.HTTPServer(http_app)
  server.add_socket(http_server_port[0])

C:\cleanconda\envs\voila\lib\site-packages\pytest_tornasync\plugin.py:91:


C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:171: in add_socket
self.add_sockets([socket])
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpserver.py:165: in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
C:\cleanconda\envs\voila\lib\site-packages\tornado\netutil.py:279: in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:100: in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)


self = , fd = 1140
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA3A0B20>>
args = (1140, 1)

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[VoilaTest] Looking for voila in C:\ProgramData\jupyter
[VoilaTest] Looking for voila in C:\cleanconda\envs\voila\etc\jupyter
[VoilaTest] Looking for voila in C:\Users\vidar.jupyter
[VoilaTest] Looking for voila in C:\dev\voila
[VoilaTest] using template: lab
[VoilaTest] template paths:
C:\dev\voila\share\jupyter\voila\templates\lab
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab
C:\dev\voila\share\jupyter\voila\templates\base
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base
C:\dev\voila\share\jupyter
C:\dev\voila\share\jupyter\voila\templates
C:\dev\voila\share\jupyter\nbconvert\templates
C:\Users\vidar\AppData\Roaming\jupyter
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates
C:\cleanconda\envs\voila\share\jupyter
C:\cleanconda\envs\voila\share\jupyter\voila\templates
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates
C:\ProgramData\jupyter
C:\ProgramData\jupyter\voila\templates
C:\ProgramData\jupyter\nbconvert\templates
[VoilaTest] static paths:
C:\dev\voila\share\jupyter\voila\templates\lab\static
C:\dev\voila\share\jupyter\nbconvert\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\lab\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\lab\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\lab\static
C:\ProgramData\jupyter\voila\templates\lab\static
C:\ProgramData\jupyter\nbconvert\templates\lab\static
C:\dev\voila\share\jupyter\voila\templates\base\static
C:\dev\voila\share\jupyter\nbconvert\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\voila\templates\base\static
C:\Users\vidar\AppData\Roaming\jupyter\nbconvert\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\voila\templates\base\static
C:\cleanconda\envs\voila\share\jupyter\nbconvert\templates\base\static
C:\ProgramData\jupyter\voila\templates\base\static
C:\ProgramData\jupyter\nbconvert\templates\base\static
[VoilaTest] Using C:\Users\vidar\AppData\Local\Temp to store connection files
[VoilaTest] Storing connection files in C:\Users\vidar\AppData\Local\Temp\voila_tmnaczwk.
[VoilaTest] Serving static files from C:\dev\voila\voila\static.
[VoilaTest] serving directory: 'C:\dev\voila\tests\notebooks'
====================================================== FAILURES =======================================================
_________________________________________________ test_execute_output _________________________________________________

def test_execute_output():
    path = os.path.join(BASE_DIR, "notebooks/output.ipynb")
    nb = read(path, NO_CONVERT)
    nb_voila = deepcopy(nb)
  executenb(nb_voila)

tests\execute_output_test.py:40:


voila\execute.py:141: in executenb
return executor.execute(nb, resources, km=km)
voila\execute.py:61: in execute
result = super(VoilaExecutor, self).execute()
C:\cleanconda\envs\voila\lib\site-packages\nbclient\util.py:74: in wrapped
return just_run(coro(*args, **kwargs))
C:\cleanconda\envs\voila\lib\site-packages\nbclient\util.py:53: in just_run
return loop.run_until_complete(coro)
C:\cleanconda\envs\voila\lib\asyncio\base_events.py:616: in run_until_complete
return future.result()
C:\cleanconda\envs\voila\lib\site-packages\nbclient\client.py:520: in async_execute
async with self.async_setup_kernel(**kwargs):
C:\cleanconda\envs\voila\lib\site-packages\async_generator_util.py:34: in aenter
return await self._agen.asend(None)
C:\cleanconda\envs\voila\lib\site-packages\nbclient\client.py:479: in async_setup_kernel
await self.async_start_new_kernel_client(**kwargs)
C:\cleanconda\envs\voila\lib\site-packages\nbclient\client.py:410: in async_start_new_kernel_client
await ensure_async(self.kc.start_channels())
C:\cleanconda\envs\voila\lib\site-packages\jupyter_client\client.py:106: in start_channels
self.shell_channel.start()
C:\cleanconda\envs\voila\lib\site-packages\jupyter_client\client.py:151: in shell_channel
socket = self.connect_shell(identity=self.session.bsession)
C:\cleanconda\envs\voila\lib\site-packages\jupyter_client\connect.py:561: in connect_shell
return self._create_connected_socket('shell', identity=identity)
C:\cleanconda\envs\voila\lib\site-packages\jupyter_client\connect.py:545: in _create_connected_socket
sock = self.context.socket(socket_type)
C:\cleanconda\envs\voila\lib\site-packages\zmq\sugar\context.py:212: in socket
s = self._socket_class(self, socket_type, **kwargs)
C:\cleanconda\envs\voila\lib\site-packages\zmq_future.py:144: in init
self.init_io_state()
C:\cleanconda\envs\voila\lib\site-packages\zmq\asyncio_init
.py:53: in _init_io_state
self.io_loop.add_reader(self._fd, lambda : self._handle_events(0, 0))


self = , fd = 904
callback = <function Socket._init_io_state.. at 0x000001A0D7E64CA0>, args = ()

def add_reader(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:501: NotImplementedError
-------------------------------------------------- Captured log call --------------------------------------------------
ERROR traitlets:init.py:79 Notebook JSON is invalid: 'name' is a required property

Failed validating 'required' in notebook['properties']['metadata']['properties']['kernelspec']:

On instance['metadata']['kernelspec']:
{'language': 'python'}
__________________________________________________ test_hello_world ___________________________________________________

http_server_client = <pytest_tornasync.plugin.AsyncHTTPServerClient object at 0x000001A0D9F89310>
cwd_subdir_notebook_url = '/voila/render/subdir/cwd_subdir.ipynb'

async def test_hello_world(http_server_client, cwd_subdir_notebook_url):
  response = await http_server_client.fetch(cwd_subdir_notebook_url)

tests\server\cwd_subdir_test.py:17:


C:\cleanconda\envs\voila\lib\site-packages\tornado\simple_httpclient.py:330: in run
stream = await self.tcp_client.connect(
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpclient.py:280: in connect
af, addr, stream = await connector.start(connect_timeout=timeout)
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpclient.py:110: in start
self.try_connect(iter(self.primary_addrs))
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpclient.py:128: in try_connect
stream, future = self.connect(af, addr)
C:\cleanconda\envs\voila\lib\site-packages\tornado\tcpclient.py:334: in _create_stream
return stream, stream.connect(addr)
C:\cleanconda\envs\voila\lib\site-packages\tornado\iostream.py:1245: in connect
self._add_io_state(self.io_loop.WRITE)
C:\cleanconda\envs\voila\lib\site-packages\tornado\iostream.py:1076: in _add_io_state
self.io_loop.add_handler(self.fileno(), self._handle_events, self._state)
C:\cleanconda\envs\voila\lib\site-packages\tornado\platform\asyncio.py:103: in add_handler
self.asyncio_loop.add_writer(fd, self._handle_events, fd, IOLoop.WRITE)


self = , fd = 1364
callback = <bound method BaseAsyncIOLoop._handle_events of <zmq.eventloop.ioloop.ZMQIOLoop object at 0x000001A0DA494FD0>>
args = (1364, 4)

def add_writer(self, fd, callback, *args):
  raise NotImplementedError

E NotImplementedError

C:\cleanconda\envs\voila\lib\asyncio\events.py:507: NotImplementedError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[W 2020-07-24 14:43:59.112 ServerApp] All authentication is disabled. Anyone who can connect to this server will be able to run code.
__________________________________________________ test_hello_world ___________________________________________________

http_server_client = <pytest_tornasync.plugin.AsyncHTTPServerClient object at 0x000001A0DA3F7880>
print_notebook_url = '/voila/render/print.ipynb'

async def test_hello_world(http_server_client, print_notebook_url):
  response = await http_server_client.fetch(print_notebook_url)

E tornado.httpclient.HTTPClientError: HTTP 404: Not Found

tests\server\execute_test.py:5: HTTPClientError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[W 2020-07-24 14:43:59.335 ServerApp] All authentication is disabled. Anyone who can connect to this server will be able to run code.
------------------------------------------------ Captured stderr call -------------------------------------------------
[E 2020-07-24 14:43:59.373 ServerApp] Could not open static file ''
[W 2020-07-24 14:43:59.373 ServerApp] 404 GET /voila/render/print.ipynb (127.0.0.1) 31.97ms referer=None
__________________________________________________ test_hello_world ___________________________________________________

http_server_client = <pytest_tornasync.plugin.AsyncHTTPServerClient object at 0x000001A0DA14AD90>
print_notebook_url = '/voila/render/print.ipynb'

async def test_hello_world(http_server_client, print_notebook_url):
  response = await http_server_client.fetch(print_notebook_url)

E tornado.httpclient.HTTPClientError: HTTP 404: Not Found

tests\server\no_strip_sources_test.py:15: HTTPClientError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[W 2020-07-24 14:43:59.471 ServerApp] All authentication is disabled. Anyone who can connect to this server will be able to run code.
------------------------------------------------ Captured stderr call -------------------------------------------------
[W 2020-07-24 14:43:59.487 ServerApp] 404 GET /voila/render/print.ipynb (127.0.0.1) 11.00ms referer=None
______________________________________________________ test_tree ______________________________________________________

http_server_client = <pytest_tornasync.plugin.AsyncHTTPServerClient object at 0x000001A0DA3969D0>, base_url = '/'

async def test_tree(http_server_client, base_url):
  response = await http_server_client.fetch(base_url+'voila/tree')

E tornado.httpclient.HTTPClientError: HTTP 404: Not Found

tests\server\tree_test.py:16: HTTPClientError
------------------------------------------------ Captured stderr setup ------------------------------------------------
[W 2020-07-24 14:43:59.526 ServerApp] All authentication is disabled. Anyone who can connect to this server will be able to run code.
------------------------------------------------ Captured stderr call -------------------------------------------------
[W 2020-07-24 14:43:59.542 ServerApp] 404 GET /voila/tree (127.0.0.1) 10.03ms referer=None
=============================================== short test summary info ===============================================
FAILED tests/execute_output_test.py::test_execute_output - NotImplementedError
FAILED tests/server/cwd_subdir_test.py::test_hello_world - NotImplementedError
FAILED tests/server/execute_test.py::test_hello_world - tornado.httpclient.HTTPClientError: HTTP 404: Not Found
FAILED tests/server/no_strip_sources_test.py::test_hello_world - tornado.httpclient.HTTPClientError: HTTP 404: Not Found
FAILED tests/server/tree_test.py::test_tree - tornado.httpclient.HTTPClientError: HTTP 404: Not Found
ERROR tests/app/config_paths_test.py::test_template - NotImplementedError
ERROR tests/app/cwd_subdir_test.py::test_hello_world - NotImplementedError
ERROR tests/app/cwd_test.py::test_template_cwd - NotImplementedError
ERROR tests/app/execute_test.py::test_hello_world - NotImplementedError
ERROR tests/app/execute_test.py::test_no_execute_allowed - NotImplementedError
ERROR tests/app/image_inlining_test.py::test_image_inlining - NotImplementedError
ERROR tests/app/many_iopub_messages_test.py::test_template_cwd - NotImplementedError
ERROR tests/app/nbextensions_test.py::test_lists_extension - NotImplementedError
ERROR tests/app/no_kernelspec_test.py::test_non_existing_kernel - NotImplementedError
ERROR tests/app/no_strip_sources_test.py::test_no_strip_sources - NotImplementedError
ERROR tests/app/non_existing_kernel_test.py::test_non_existing_kernel - NotImplementedError
ERROR tests/app/notebooks_test.py::test_other_comms - NotImplementedError
ERROR tests/app/serve_directory_test.py::test_print - NotImplementedError
ERROR tests/app/serve_directory_test.py::test_print_py - NotImplementedError
ERROR tests/app/syntax_error_test.py::test_syntax_error - NotImplementedError
ERROR tests/app/template_arg_test.py::test_template - NotImplementedError
ERROR tests/app/template_cli_test.py::test_template_test - NotImplementedError
ERROR tests/app/template_config_file_test.py::test_template_test - NotImplementedError
ERROR tests/app/template_custom_test.py::test_template - NotImplementedError
ERROR tests/app/timeout_test.py::test_timeout - NotImplementedError
ERROR tests/app/tree_test.py::test_tree - NotImplementedError
============================ 5 failed, 7 passed, 3 skipped, 1 xfailed, 21 errors in 49.75s ============================

@SylvainCorlay SylvainCorlay added this to the 0.2 milestone Sep 14, 2020
@vidartf vidartf force-pushed the exc-trait branch 4 times, most recently from b891632 to 97c1829 Compare September 14, 2020 16:08
@vidartf vidartf marked this pull request as ready for review September 14, 2020 16:10
@SylvainCorlay SylvainCorlay merged commit 45fced7 into voila-dashboards:master Sep 16, 2020
@maartenbreddels
Copy link
Member

Thanks @vidartf !

@vidartf vidartf deleted the exc-trait branch September 16, 2020 10:53
@vidartf
Copy link
Contributor Author

vidartf commented Sep 16, 2020

No worries. If anyone with a non-windows machine wants to write a test for it as well, that would probably be nice 👍

maartenbreddels added a commit to maartenbreddels/voila that referenced this pull request Nov 2, 2020
maartenbreddels added a commit to maartenbreddels/voila that referenced this pull request Nov 2, 2020
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

Successfully merging this pull request may close these issues.

Add option to show error tracebacks to user without logging everything
4 participants