readnews errors #85

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

Trying to put some news into files and got bunch of errors:

2025-10-10 17:46:18,359 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1
2025-10-10 17:46:20,560 | DEBUG | System: Splitting #chunks: 2, Total length: 275
2025-10-10 17:46:20,561 | INFO | Device:1 Chunker1/2 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в
тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1
2025-10-10 17:46:23,065 | INFO | Device:1 Chunker2/2 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с о
дной из высоток кфу. 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. 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 1521, 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 730, in send_message
interface.sendText(text=m, 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

Trying to put some news into files and got bunch of errors: 2025-10-10 17:46:18,359 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1 2025-10-10 17:46:20,560 | DEBUG | System: Splitting #chunks: 2, Total length: 275 2025-10-10 17:46:20,561 | INFO | Device:1 Chunker1/2 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1 2025-10-10 17:46:23,065 | INFO | Device:1 Chunker2/2 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с о дной из высоток кфу. 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. 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 1521, 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 730, in send_message interface.sendText(text=m, 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:3503273117 -->
adam closed this issue 2026-10-05 01:20:54 +02:00
Author
Owner

In message settings, there is the option for MESSAGE_CHUNK_SIZE default is 160.

What if you lower it to like 155

In message settings, there is the option for `MESSAGE_CHUNK_SIZE` default is 160. What if you lower it to like 155 <!-- github-comment-id:3391799310 -->
Author
Owner

In message settings, there is the option for MESSAGE_CHUNK_SIZE default is 160.

What if you lower it to like 155

Nope, will try lower.

2025-10-10 21:49:26,486 | INFO | Device:1 Channel: 0 Received DM: readnews mesh1 From: ZedIsSttn1
2025-10-10 21:49:26,487 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1
2025-10-10 21:49:28,689 | DEBUG | System: Splitting #chunks: 2, Total length: 275
2025-10-10 21:49:28,690 | INFO | Device:1 Chunker1/2 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1
2025-10-10 21:49:31,193 | INFO | Device:1 Chunker2/2 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с одной из высоток кфу. 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. 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 1521, 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 740, in send_message
interface.sendText(text=m, 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

> In message settings, there is the option for `MESSAGE_CHUNK_SIZE` default is 160. > > What if you lower it to like 155 Nope, will try lower. 2025-10-10 21:49:26,486 | INFO | Device:1 Channel: 0 Received DM: readnews mesh1 From: ZedIsSttn1 2025-10-10 21:49:26,487 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1 2025-10-10 21:49:28,689 | DEBUG | System: Splitting #chunks: 2, Total length: 275 2025-10-10 21:49:28,690 | INFO | Device:1 Chunker1/2 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1 2025-10-10 21:49:31,193 | INFO | Device:1 Chunker2/2 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с одной из высоток кфу. 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. 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 1521, 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 740, in send_message interface.sendText(text=m, 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-comment-id:3391830173 -->
Author
Owner

It looks like 150 did the trick.
Thanks, will try to add news more.

It looks like 150 did the trick. Thanks, will try to add news more. <!-- github-comment-id:3391845745 -->
Author
Owner

Cool, I also upgraded the core to better handle this test on a new pull and ramp it back up to 160 see what happens

Cool, I also upgraded the core to better handle this test on a new pull and ramp it back up to 160 see what happens <!-- github-comment-id:3391967485 -->
Author
Owner

to add news more

Интересные новости, что вызывает эти оповещения?

> to add news more Интересные новости, что вызывает эти оповещения? <!-- github-comment-id:3391972732 -->
Author
Owner

Cool, I also upgraded the core to better handle this test on a new pull and ramp it back up to 160 see what happens

Errors, but in another way. Will try to reduce again.

2025-10-10 22:38:57,210 | DEBUG | System: Mesh Leaderboard loaded from leaderboard.pkl
2025-10-10 22:39:01,983 | INFO | Device:1 Channel: 0 Received DM: readnews From: ZedIsSttn1
2025-10-10 22:39:01,984 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1
2025-10-10 22:39:04,187 | INFO | Device:1 Sending DM: Блок новостей: readnews mesh1 - новости о меш сети readnews dev - новости о устройствах меш To: ZedIsSttn1
2025-10-10 22:39:13,104 | INFO | Device:1 Channel: 0 Received DM: readnews mesh1 From: ZedIsSttn1
2025-10-10 22:39:13,106 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1
2025-10-10 22:39:15,308 | WARNING | System: Message length 460 exceeds maxBuffer200, forcing chunking.
2025-10-10 22:39:15,309 | DEBUG | System: Splitting #chunks: 2, Total length: 275
2025-10-10 22:39:15,310 | INFO | Device:1 Chunker1/2 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1
2025-10-10 22:39:17,717 | DEBUG | Telemetry:1 numPacketsRx:0 numPacketsRxErr:0 numPacketsTx:0 numPacketsTxErr:0 ChUtil%:2.8 AirTx%:1.5 totalNodes:31 Online:0 Uptime:15h Volt:4.2 Firmware:2.6.11.60ec05e
2025-10-10 22:39:17,813 | INFO | Device:1 Chunker2/2 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с одной из высоток кфу. 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. To: ZedIsSttn1
2025-10-10 22:39:17,814 | ERROR | System: Exception during send_message: Data payload too big (message length: 279)

> Cool, I also upgraded the core to better handle this test on a new pull and ramp it back up to 160 see what happens Errors, but in another way. Will try to reduce again. 2025-10-10 22:38:57,210 | DEBUG | System: Mesh Leaderboard loaded from leaderboard.pkl 2025-10-10 22:39:01,983 | INFO | Device:1 Channel: 0 Received DM: readnews From: ZedIsSttn1 2025-10-10 22:39:01,984 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1 2025-10-10 22:39:04,187 | INFO | Device:1 Sending DM: Блок новостей: readnews mesh1 - новости о меш сети readnews dev - новости о устройствах меш To: ZedIsSttn1 2025-10-10 22:39:13,104 | INFO | Device:1 Channel: 0 Received DM: readnews mesh1 From: ZedIsSttn1 2025-10-10 22:39:13,106 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1 2025-10-10 22:39:15,308 | WARNING | System: Message length 460 exceeds maxBuffer200, forcing chunking. 2025-10-10 22:39:15,309 | DEBUG | System: Splitting #chunks: 2, Total length: 275 2025-10-10 22:39:15,310 | INFO | Device:1 Chunker1/2 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1 2025-10-10 22:39:17,717 | DEBUG | Telemetry:1 numPacketsRx:0 numPacketsRxErr:0 numPacketsTx:0 numPacketsTxErr:0 ChUtil%:2.8 AirTx%:1.5 totalNodes:31 Online:0 Uptime:15h Volt:4.2 Firmware:2.6.11.60ec05e 2025-10-10 22:39:17,813 | INFO | Device:1 Chunker2/2 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с одной из высоток кфу. 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. To: ZedIsSttn1 2025-10-10 22:39:17,814 | ERROR | System: Exception during send_message: Data payload too big (message length: 279) <!-- github-comment-id:3392072050 -->
Author
Owner

to add news more

Интересные новости, что вызывает эти оповещения?

Iam trying to make this bot to be more helping to newbies.
Right now network are growing and sometimes parts of town just in a split, so when newbies joined network - sometimes noone will answer when it asks.

So i have added some news of the network, some news about recommended devices that i tried already and it's easy to use.

> > to add news more > > Интересные новости, что вызывает эти оповещения? Iam trying to make this bot to be more helping to newbies. Right now network are growing and sometimes parts of town just in a split, so when newbies joined network - sometimes noone will answer when it asks. So i have added some news of the network, some news about recommended devices that i tried already and it's easy to use. <!-- github-comment-id:3392084175 -->
Author
Owner

And back to 150:

2025-10-10 22:43:18,007 | INFO | Device:1 Channel: 0 Received DM: readnews mesh1 From: ZedIsSttn1
2025-10-10 22:43:18,010 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1
2025-10-10 22:43:20,212 | WARNING | System: Message length 460 exceeds maxBuffer200, forcing chunking.
2025-10-10 22:43:20,213 | DEBUG | System: Splitting #chunks: 3, Total length: 274
2025-10-10 22:43:20,213 | INFO | Device:1 Chunker1/3 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1
2025-10-10 22:43:22,718 | INFO | Device:1 Chunker2/3 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с одной из высоток кфу. To: ZedIsSttn1
2025-10-10 22:43:25,221 | INFO | Device:1 Chunker3/3 Sending DM: 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. To: ZedIsSttn1

And back to 150: 2025-10-10 22:43:18,007 | INFO | Device:1 Channel: 0 Received DM: readnews mesh1 From: ZedIsSttn1 2025-10-10 22:43:18,010 | DEBUG | System: Bot detected Commands:[{'cmd': 'readnews', 'index': 0}] From: ZedIsSttn1 2025-10-10 22:43:20,212 | WARNING | System: Message length 460 exceeds maxBuffer200, forcing chunking. 2025-10-10 22:43:20,213 | DEBUG | System: Splitting #chunks: 3, Total length: 274 2025-10-10 22:43:20,213 | INFO | Device:1 Chunker1/3 Sending DM: 20251004: Вплоть до 10 октября 2025 эта нода участвует в тесте. 20251006: Эта нода переименована на своё постоянное имя. To: ZedIsSttn1 2025-10-10 22:43:22,718 | INFO | Device:1 Chunker2/3 Sending DM: 20251008: Запланировано тестовое вещание ноды KFU_PF с одной из высоток кфу. To: ZedIsSttn1 2025-10-10 22:43:25,221 | INFO | Device:1 Chunker3/3 Sending DM: 20251010: Нода в кфу видна с кварталов однако плохо видна на своей же стороне. To: ZedIsSttn1 <!-- github-comment-id:3392092094 -->
Author
Owner

It's working?

It's working? <!-- github-comment-id:3392143309 -->
Author
Owner

It's working?

Yes when set MESSAGE_CHUNK_SIZE to 150

> It's working? Yes when set MESSAGE_CHUNK_SIZE to 150 <!-- github-comment-id:3392152728 -->
Author
Owner

Good, a trick you can do is arrange the words

On new lines to make the final type look

Nice 👍 because using too much 📀💿💾 on one chunk which the chunker isn't handle the binary of the в этом наборе символов

Good, a trick you can do is arrange the words On new lines to make the final type look Nice 👍 because using too much 📀💿💾 on one chunk which the chunker isn't handle the binary of the в этом наборе символов <!-- github-comment-id:3392174528 -->
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#85