messages still broken2 #80

Closed
opened 2026-10-05 01:20:26 +02:00 by adam · 5 comments
Owner

Hi.

Yesterday i have updated bot, and at first look it was working for some time.
But after a few hours i have left it alone and decide check at the evening what was there - errors persists.

2025-10-08 17:30:04,986 | INFO | Device:1 Channel: 0 Received DM: messages From: ZedIsSttn1
2025-10-08 17:30:04,987 | DEBUG | System: Bot detected Commands:[{'cmd': 'messages', 'index': 0}] From: ZedIsSttn1
2025-10-08 17:30:07,188 | INFO | Device:1 Sending DM: 📨Messages: ZedIsCard: забавно, это приняла только карта, другие ноды не видят сообщения ZedIsCard: праймари тест принято ZedIsSttn1: Синтез привет -) To: ZedIsSttn1
Unexpected error in deferred execution <class 'meshtastic.mesh_interface.MeshInterface.MeshInterfaceError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1364, in onReceive
send_message(auto_response(message_string, snr, rssi, hop, pkiStatus, message_from_id, channel_number, rxNode, isDM), channel_number, message_from_id, rxNode)
File "/home/service5/meshing-around/modules/system.py", line 742, in send_message
interface.sendText(text=message, channelIndex=ch, destinationId=nodeid)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 440, in sendText
return self.sendData(
^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 551, in sendData
raise MeshInterface.MeshInterfaceError("Data payload too big")
meshtastic.mesh_interface.MeshInterface.MeshInterfaceError: Data payload too big

Hi. Yesterday i have updated bot, and at first look it was working for some time. But after a few hours i have left it alone and decide check at the evening what was there - errors persists. 2025-10-08 17:30:04,986 | INFO | Device:1 Channel: 0 Received DM: messages From: ZedIsSttn1 2025-10-08 17:30:04,987 | DEBUG | System: Bot detected Commands:[{'cmd': 'messages', 'index': 0}] From: ZedIsSttn1 2025-10-08 17:30:07,188 | INFO | Device:1 Sending DM: 📨Messages: ZedIsCard: забавно, это приняла только карта, другие ноды не видят сообщения ZedIsCard: праймари тест принято ZedIsSttn1: Синтез привет -) To: ZedIsSttn1 Unexpected error in deferred execution <class 'meshtastic.mesh_interface.MeshInterface.MeshInterfaceError'> Traceback (most recent call last): File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run o() File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in <lambda> lambda: pub.sendMessage(topic, packet=asDict, interface=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage topicObj.publish(**msgData) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish self.__sendMessage(msgData, topicObj, msgDataSubset) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage listener(data, self, allData) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in __call__ cb(**kwargs) File "/home/service5/meshing-around/mesh_bot.py", line 1364, in onReceive send_message(auto_response(message_string, snr, rssi, hop, pkiStatus, message_from_id, channel_number, rxNode, isDM), channel_number, message_from_id, rxNode) File "/home/service5/meshing-around/modules/system.py", line 742, in send_message interface.sendText(text=message, channelIndex=ch, destinationId=nodeid) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 440, in sendText return self.sendData( ^^^^^^^^^^^^^^ File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 551, in sendData raise MeshInterface.MeshInterfaceError("Data payload too big") meshtastic.mesh_interface.MeshInterface.MeshInterfaceError: Data payload too big <!-- github-sync-id:3495749198 -->
adam closed this issue 2026-10-05 01:20:26 +02:00
Author
Owner

I have just restarted bot now, so it started working, but i assume for some moments of texting in a primary channel messages will broke again.

I have just restarted bot now, so it started working, but i assume for some moments of texting in a primary channel messages will broke again. <!-- github-comment-id:3381900342 -->
Author
Owner

Woah, busy bot. Where is Dave when you need a test routine.

Woah, busy bot. Where is Dave when you need a test routine. <!-- github-comment-id:3382032938 -->
Author
Owner

If it does matter, not only error is a problem, bot doesn't respond for the messages at this moment.

If it does matter, not only error is a problem, bot doesn't respond for the messages at this moment. <!-- github-comment-id:3382071646 -->
Author
Owner

And it looks like message order is counted wrong.

As last time it was in primary chat:

1 big message from user
2 my short message
3 my second short message

And i have got from bot chunked in 2 messages:

Msg1: 1

Msg2:
3
2

And it looks like message order is counted wrong. As last time it was in primary chat: 1 big message from user 2 my short message 3 my second short message And i have got from bot chunked in 2 messages: Msg1: 1 Msg2: 3 2 <!-- github-comment-id:3382270684 -->
Author
Owner

And right now i have restarted bot and messages in my chat was:

1 myshort message
2 someuser short message
3 my short message2 as answer

And bot sends me history as:
Msg1:
3
2
1

And right now i have restarted bot and messages in my chat was: 1 myshort message 2 someuser short message 3 my short message2 as answer And bot sends me history as: Msg1: 3 2 1 <!-- github-comment-id:3382273221 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshing-around#80