tahoe-lafs / magic-folder

Tahoe-LAFS-based file synchronization
Other
26 stars 7 forks source link

"magic-folder status" doesn't understand invite events #758

Open meejah opened 1 month ago

meejah commented 1 month ago
Traceback (most recent call last):
  File "/home/meejah/tahoe/venv/lib/python3.11/site-packages/autobahn/twisted/websocket.py", line 384, in _onMessageEnd
    self.onMessageEnd()
  File "/home/meejah/tahoe/venv/lib/python3.11/site-packages/autobahn/websocket/protocol.py", line 651, in onMessageEnd
    f = self.fire("message", payload, is_binary=self.message_is_binary)
  File "/home/meejah/tahoe/venv/lib/python3.11/site-packages/autobahn/util.py", line 852, in fire
    future = txaio.as_future(handler, *args, **kwargs)
  File "/home/meejah/tahoe/venv/lib/python3.11/site-packages/txaio/tx.py", line 369, in as_future
    return maybeDeferred(fun, *args, **kwargs)
--- <exception caught here> ---
  File "/home/meejah/tahoe/venv/lib/python3.11/site-packages/twisted/internet/defer.py", line 212, in maybeDeferred
    result = f(*args, **kwargs)
  File "/home/meejah/tahoe/venv/lib/python3.11/site-packages/magic_folder/cli.py", line 495, in message
    assert "kind" in event and event["kind"] in updates, "weird: {}".format(event["kind"])
builtins.AssertionError: weird: invite-created