HDFGroup / h5serv

Reference service implementation of the HDF5 REST API
Other
168 stars 35 forks source link

NotImplementedError #131

Open abdyns opened 4 years ago

abdyns commented 4 years ago

While trying to install h5serv, I encountered the following error:

PS D:\hdf_related\h5serv> python h5serv
Using logfile:  h5serv.log
password_uri config: util/admin/passwd.h5
Setting log level to: INFO
INFO:app.py:3312::log test
favicon_path: favicon.ico
Static content in the path:static will be displayed via the url: /views/(.*)
isdebug: True
domain: hdfgroup.org
ssl_port: 6050
Setting watchdog on:  data
INFO:passwordUtil.py:56::getAuthClient
INFO:passwordUtil.py:58::password_uri:util/admin/passwd.h5
INFO:authFile.py:33::AuthFile class init(util/admin/passwd.h5)
Traceback (most recent call last):
  File "C:\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Anaconda3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "h5serv\__main__.py", line 7, in <module>
    app.main()
  File "D:\hdf_related\h5serv\h5serv\app.py", line 3358, in main
    server.listen(port)
  File "C:\Anaconda3\lib\site-packages\tornado\tcpserver.py", line 152, in listen
    self.add_sockets(sockets)
  File "C:\Anaconda3\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets
    self._handlers[sock.fileno()] = add_accept_handler(
  File "C:\Anaconda3\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler
    io_loop.add_handler(sock, accept_handler, IOLoop.READ)
  File "C:\Anaconda3\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler
    self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
  File "C:\Anaconda3\lib\asyncio\events.py", line 501, in add_reader
    raise NotImplementedError
NotImplementedError

I cloned the hdf5-json, cd to hdf5-json, ran install. went back one directory, cloned h5serv, cd h5serv.

On doing python h5serv here, I get the error.

Environment is conda with python 3.6.10, h5py 2.10.0, tornado 6.0.4, numpy 1.17.0, watchdog 0.10.3, requests 2.24.0.

Running on Windows 10 Pro.