Skip to content

Some optional args unknown in call to sendMessage('('meshtastic', 'receive')', packet,interface): interface #448

@jeremiah-k

Description

@jeremiah-k

I was hopeful for the fix in #445, as the NoneType errors were repeating in the logs when using the matrix relay, which makes use of this API.

The good news is that the 'NoneType' errors are gone, but unfortunately they've been replaced with this error and it occurs at the same frequency:

ERROR:root:Unexpected error in deferred execution <class 'pubsub.core.topicargspec.SenderUnknownMsgDataError'>
Traceback (most recent call last):
  File "/home/jeremiah/dev/meshtastic-matrix-relay/.pyenv/lib/python3.10/site-packages/meshtastic/util.py", line 232, in _run
    o()
  File "/home/jeremiah/dev/meshtastic-matrix-relay/.pyenv/lib/python3.10/site-packages/meshtastic/mesh_interface.py", line 958, in <lambda>
    lambda: pub.sendMessage(topic, packet=asDict, interface=self)
  File "/home/jeremiah/dev/meshtastic-matrix-relay/.pyenv/lib/python3.10/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
    topicObj.publish(**msgData)
  File "/home/jeremiah/dev/meshtastic-matrix-relay/.pyenv/lib/python3.10/site-packages/pubsub/core/topicobj.py", line 433, in publish
    self._getListenerSpec().check(msgData)
  File "/home/jeremiah/dev/meshtastic-matrix-relay/.pyenv/lib/python3.10/site-packages/pubsub/core/topicargspec.py", line 229, in check
    raise SenderUnknownMsgDataError(self.topicNameTuple,
pubsub.core.topicargspec.SenderUnknownMsgDataError: Some optional args unknown in call to sendMessage('('meshtastic', 'receive')', packet,interface): interface

As far as I can tell neither set of errors affect its functionality, but they're always present in the logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions