Hi, I'm not sure if this is the best place to post this but... I don't know a
better place, so here it is :)
I have three tracebacks to report, one each in rnsd, rngit, and nomadnet.
The first two I first observed after upgrading to 1.6.1 (from 1.5.something, i
missed 1.6.0).
The nomadnet problem I experienced earlier, and patched my nomadnet to work
around it, and then experienced again after installing the latest release
reverted my patch.
The rnsd exception is:
[2026-11-21 07:25:26] [Error] Exception occurred while transmitting via LocalInterface[rns/default], tearing down interface
[2026-11-21 07:25:26] [Error] The contained exception was: [Errno 2] No such file or directory
[2026-11-21 07:25:26] [Error] An unhandled <class 'FileNotFoundError'> exception occurred: [Errno 2] No such file or directory
[2026-11-21 07:25:26] [Error] Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/RNS/Interfaces/LocalInterface.py", line 223, in process_outgoing
else: BackboneInterface.tx_ready(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/RNS/Interfaces/BackboneInterface.py", line 351, in tx_ready
raise e
File "/usr/local/lib/python3.14/site-packages/RNS/Interfaces/BackboneInterface.py", line 346, in tx_ready
BackboneInterface.epoll.modify(fileno, events)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory
[2026-11-21 07:25:26] [Error] The interface LocalInterface[rns/default] experienced an unrecoverable error and is being torn down. Restart Reticulum to attempt to open this interface again.
Contrary to what the last line says, this rnsd instance continues running and
the local interface continues to work. (I am pretty sure that it is this rnsd
process which my rngit server and nomadnet are connected to, because when i run
rnstatus I see all interfaces connected and with iproute2's "ss" command I see
the my outbound connections are coming from the rnsd process rather than rngit
or nomadnet).
The rngit exception is:
Exception in thread Thread-1403 (job):
Traceback (most recent call last):
File "/usr/local/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
self._context.run(self.run)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/threading.py", line 1024, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/RNS/Link.py", line 1093, in job
def job(): self.handle_request(request_id, unpacked_request)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/RNS/Link.py", line 934, in handle_request
response_resource = RNS.Resource(file_handle, self, metadata=metadata, request_id = request_id, is_response = True, auto_compress=auto_compress)
File "/usr/local/lib/python3.14/site-packages/RNS/Resource.py", line 405, in init
self.uncompressed_size = len(self.uncompressed_data)
~~~^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type '_io.BufferedRandom' has no len()
This is on either the stderr or stdout of "rngit -s"; this exception has
occurred 8 times in the current process and it is still running and serving
requests.
The nomadnet exception (which, again, is an older problem) is actually fatal;
without patching to work around this my nomadnet never shows the TUI and exits
after about 15 seconds.
This is the exception:
[2026-11-25 18:15:19] [Error] An unhandled exception occurred, the details of which will be dumped below
[2026-11-25 18:15:19] [Error] Type : <class 'TypeError'>
[2026-11-25 18:15:19] [Error] Value : '<' not supported between instances of 'int' and 'NoneType'
[2026-11-25 18:15:19] [Error] Trace :
File "/usr/local/bin/nomadnet", line 6, in <module>
sys.exit(main())
~~~~^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/nomadnet.py", line 51, in main
program_setup(configarg, rnsconfigarg, daemon, console)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/nomadnet.py", line 11, in program_setup
app = nomadnet.NomadNetworkApp(
configdir = configdir,
...<2 lines>...
force_console = console,
)
File "/usr/local/lib/python3.14/site-packages/nomadnet/NomadNetworkApp.py", line 481, in init
nomadnet.ui.spawn(self.uimode)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/init.py", line 33, in spawn
return TextUI()
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/TextUI.py", line 257, in init
self.main_display = Main.MainDisplay(self, self.app)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/textui/Main.py", line 117, in init
self.sub_displays = SubDisplays(self.app)
~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/textui/Main.py", line 20, in init
self.network_display = NetworkDisplay(self.app)
~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/textui/Network.py", line 1723, in init
self.lxmf_peers_display = LXMFPeers(self.app)
~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/textui/Network.py", line 1858, in init
self.widget_list = self.make_peer_widgets()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/nomadnet/ui/textui/Network.py", line 1963, in make_peer_widgets
sorted_peers = sorted(self.peer_list, key=lambda pid: (self.app.directory.pn_trust_level(pid), self.peer_list[pid].sync_transfer_rate), reverse=True)
After this error, it appears to do a clean shutdown:
[2026-11-25 18:15:20] [Notice] Tearing down delivery destinations...
[2026-11-25 18:15:20] [Notice] Tearing down propagation node destination...
[2026-11-25 18:15:20] [Notice] Persisting LXMF state data to storage...
[2026-11-25 18:15:20] [Notice] Saving 20 peer synchronisation states to storage...
[2026-11-25 18:15:21] [Notice] Saved 20 peers to storage in 1s, 272ms and 243.02µs
My workaround to be able to launch nomadnet again is to add "or 0" in the last
line shown in that traceback, like this:
sorted_peers = sorted(self.peer_list, key=lambda pid: (self.app.directory.pn_trust_level(pid) or 0, self.peer_list[pid].sync_transfer_rate), reverse=True)
This is obviously not the correct fix but it works. I haven't investigated
enough to figure out what the correct fix is, but I did get as far as
noticing that Directory.pn_trust_level will always return None (triggering this
exception) when its call to RNS.Identity.recall returns None. In my case the
source_hash it is failing to recall an identity for is
5f0ab43d8e6bd6b9b7b7cd9926ea0ce7 (which I don't know what is and cannot find a
path to currently).
Let me know if there is anything I can do to help investigate any of these
issues.