I get this when interacting with the bot with text that is not command, the actual commands still work. The problem goes away when I switch it back to dopeWars = True
ERROR:root:Unexpected error in deferred execution <class 'NameError'>
Traceback (most recent call last):
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 1542, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/john/mesh/meshing-around/mesh_bot.py", line 1164, in onReceive
playingGame = checkPlayingGame(message_from_id, message_string, rxNode, channel_number)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/mesh/meshing-around/mesh_bot.py", line 986, in checkPlayingGame
(dwPlayerTracker, "DopeWars", handleDopeWars),
^^^^^^^^^^^^^^^
NameError: name 'dwPlayerTracker' is not defined
Good evening,
I tried changing dopeWars = False in config.ini
I get this when interacting with the bot with text that is not command, the actual commands still work. The problem goes away when I switch it back to dopeWars = True
ERROR:root:Unexpected error in deferred execution <class 'NameError'>
Traceback (most recent call last):
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 1542, in <lambda>
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/listener.py", line 237, in __call__
cb(**kwargs)
File "/home/john/mesh/meshing-around/mesh_bot.py", line 1164, in onReceive
playingGame = checkPlayingGame(message_from_id, message_string, rxNode, channel_number)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/mesh/meshing-around/mesh_bot.py", line 986, in checkPlayingGame
(dwPlayerTracker, "DopeWars", handleDopeWars),
^^^^^^^^^^^^^^^
NameError: name 'dwPlayerTracker' is not defined
<!-- github-sync-id:2831632279 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Good evening,
I tried changing dopeWars = False in config.ini
I get this when interacting with the bot with text that is not command, the actual commands still work. The problem goes away when I switch it back to dopeWars = True
ERROR:root:Unexpected error in deferred execution <class 'NameError'>
Traceback (most recent call last):
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 1542, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/john/mesh/meshing-around/venv/lib/python3.12/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/john/mesh/meshing-around/mesh_bot.py", line 1164, in onReceive
playingGame = checkPlayingGame(message_from_id, message_string, rxNode, channel_number)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/mesh/meshing-around/mesh_bot.py", line 986, in checkPlayingGame
(dwPlayerTracker, "DopeWars", handleDopeWars),
^^^^^^^^^^^^^^^
NameError: name 'dwPlayerTracker' is not defined
Thanks 👀
Should be resolved now