Skip to content

Error while running webthing-tester #3

@maliknaik16

Description

@maliknaik16

I'm getting the following error while trying to run webthing-tester:

$ python test-client.py
Traceback (most recent call last):
  File "test-client.py", line 562, in <module>
    exit(run_client())
  File "test-client.py", line 113, in run_client
    code, body = http_request('GET', '/')
  File "test-client.py", line 87, in http_request
    response = client.fetch(request, raise_error=False)
  File "C:\Python\lib\site-packages\tornado\httpclient.py", line 132, in fetch
    response = self._io_loop.run_sync(
  File "C:\Python\lib\site-packages\tornado\ioloop.py", line 532, in run_sync
    return future_cell[0].result()
  File "C:\Python\lib\site-packages\tornado\simple_httpclient.py", line 330, in                                                                                                     run
    stream = await self.tcp_client.connect(
  File "C:\Python\lib\site-packages\tornado\tcpclient.py", line 280, in connect
    af, addr, stream = await connector.start(connect_timeout=timeout)
  File "C:\Python\lib\site-packages\tornado\tcpclient.py", line 110, in start
    self.try_connect(iter(self.primary_addrs))
  File "C:\Python\lib\site-packages\tornado\tcpclient.py", line 128, in try_conn                                                                                                    ect
    stream, future = self.connect(af, addr)
  File "C:\Python\lib\site-packages\tornado\tcpclient.py", line 334, in _create_                                                                                                    stream
    return stream, stream.connect(addr)
  File "C:\Python\lib\site-packages\tornado\iostream.py", line 1219, in connect
    self._add_io_state(self.io_loop.WRITE)
  File "C:\Python\lib\site-packages\tornado\iostream.py", line 1050, in _add_io_                                                                                                    state
    self.io_loop.add_handler(self.fileno(), self._handle_events, self._state)
  File "C:\Python\lib\site-packages\tornado\platform\asyncio.py", line 102, in a                                                                                                    dd_handler
    self.asyncio_loop.add_writer(fd, self._handle_events, fd, IOLoop.WRITE)
  File "C:\Python\lib\asyncio\events.py", line 507, in add_writer
    raise NotImplementedError
NotImplementedError

Python version
3.8.1

Python package list

Package          Version
---------------- -------
attrs            19.3.0
ifaddr           0.1.6
jsonschema       3.2.0
pip              19.3.1
pyee             6.0.0
pyrsistent       0.15.7
setuptools       41.2.0
six              1.13.0
tornado          6.0
websocket-client 0.57.0
webthing         0.12.0
zeroconf         0.24.4

What is the right way to run the webthing tester?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions