-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi,
I know that this topic came up once or twice on Discord (and so far it is okay to just ignore it), but maybe it is beneficial to have it also logged as an issue here. Otherwise, feel free to close it. :)
This is the error message in question:
"2025-08-13 09:34:02.008: [ERROR] RHUtils Exception via catchLogExceptionsWrapper
Traceback (most recent call last):
File "/home/NuclearHazard/RotorHazard/src/server/RHUtils.py", line 338, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/NuclearHazard/RotorHazard/src/server/eventmanager.py", line 101, in run_handler
return handler(args)
^^^^^^^^^^^^^
File "/home/NuclearHazard/rh-data/plugins/vrxc_elrs/elrs_backpack.py", line 117, in start_connection
ip_addr = socket.gethostbyname(addr)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/NuclearHazard/.venv/lib/python3.11/site-packages/gevent/_socketcommon.py", line 186, in gethostbyname
return get_hub().resolver.gethostbyname(hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/NuclearHazard/.venv/lib/python3.11/site-packages/gevent/resolver/thread.py", line 57, in gethostbyname
return self.pool.apply(_socket.gethostbyname, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/NuclearHazard/.venv/lib/python3.11/site-packages/gevent/pool.py", line 161, in apply
return self.spawn(func, *args, **kwds).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/gevent/event.py", line 330, in gevent._gevent_cevent.AsyncResult.get
File "src/gevent/event.py", line 360, in gevent._gevent_cevent.AsyncResult.get
File "src/gevent/event.py", line 348, in gevent._gevent_cevent.AsyncResult.get
File "src/gevent/event.py", line 328, in gevent._gevent_cevent.AsyncResult._raise_exception
File "/home/NuclearHazard/.venv/lib/python3.11/site-packages/gevent/_compat.py", line 50, in reraise
raise value.with_traceback(tb)
File "/home/NuclearHazard/.venv/lib/python3.11/site-packages/gevent/threadpool.py", line 173, in __run_task
thread_result.set(func(*args, **kwargs))
^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known"
When the plugin is deinstalled, the error message disappears. And when you install the plugin, the message comes back.