ultrasonics icon indicating copy to clipboard operation
ultrasonics copied to clipboard

Unable to start app no nameservers

Open bkr32 opened this issue 2 years ago • 0 comments

i am attempting to run the app but keep running into the following error

2022-04-14 16:18:47,615 - database - DEBUG - LOG CREATED (logs.py:77)
2022-04-14 16:18:47,622 - scheduler - DEBUG - LOG CREATED (logs.py:77)
2022-04-14 16:18:47,623 - plugins - DEBUG - LOG CREATED (logs.py:77)
Traceback (most recent call last):
  File "/ultrasonics/app.py", line 12, in <module>
    from ultrasonics import database, plugins, scheduler, webapp
  File "/ultrasonics/ultrasonics/webapp.py", line 14, in <module>
    from flask_socketio import SocketIO, emit, send
  File "/ultrasonics/.venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 9, in <module>
    from socketio import socketio_manage  # noqa: F401
  File "/ultrasonics/.venv/lib/python3.9/site-packages/socketio/__init__.py", line 9, in <module>
    from .zmq_manager import ZmqManager
  File "/ultrasonics/.venv/lib/python3.9/site-packages/socketio/zmq_manager.py", line 5, in <module>
    import eventlet.green.zmq as zmq
  File "/ultrasonics/.venv/lib/python3.9/site-packages/eventlet/__init__.py", line 17, in <module>
    from eventlet import convenience
  File "/ultrasonics/.venv/lib/python3.9/site-packages/eventlet/convenience.py", line 7, in <module>
    from eventlet.green import socket
  File "/ultrasonics/.venv/lib/python3.9/site-packages/eventlet/green/socket.py", line 21, in <module>
    from eventlet.support import greendns
  File "/ultrasonics/.venv/lib/python3.9/site-packages/eventlet/support/greendns.py", line 411, in <module>
    resolver = ResolverProxy(hosts_resolver=HostsResolver())
  File "/ultrasonics/.venv/lib/python3.9/site-packages/eventlet/support/greendns.py", line 325, in __init__
    self.clear()
  File "/ultrasonics/.venv/lib/python3.9/site-packages/eventlet/support/greendns.py", line 328, in clear
    self._resolver = dns.resolver.Resolver(filename=self._filename)
  File "/ultrasonics/.venv/lib/python3.9/site-packages/dns/resolver.py", line 758, in __init__
    self.read_resolv_conf(filename)
  File "/ultrasonics/.venv/lib/python3.9/site-packages/dns/resolver.py", line 850, in read_resolv_conf
    raise NoResolverConfiguration('no nameservers')
dns.resolver.NoResolverConfiguration: no nameservers```

bkr32 avatar Apr 14 '22 14:04 bkr32