Skip to content

Instantly share code, notes, and snippets.

@dbaldwin
Created March 22, 2023 19:05
Show Gist options
  • Save dbaldwin/e05df6ffea978ac97074577deeccc60f to your computer and use it in GitHub Desktop.
Save dbaldwin/e05df6ffea978ac97074577deeccc60f to your computer and use it in GitHub Desktop.

Revisions

  1. dbaldwin created this gist Mar 22, 2023.
    47 changes: 47 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    fcm_1 | 2023-03-22 18:58:03.637 | ERROR | __main__:action_dispatcher:180 - ERROR IN MAIN LOOP
    fcm_1 | Traceback (most recent call last):
    fcm_1 |
    fcm_1 | File "/app/fcc_control.py", line 443, in <module>
    fcm_1 | asyncio.run(control.run())
    fcm_1 | │ │ │ └ <function ControlManager.run at 0x7f8253cb80>
    fcm_1 | │ │ └ <__main__.ControlManager object at 0x7f825937c0>
    fcm_1 | │ └ <function run at 0x7f847c4ee0>
    fcm_1 | └ <module 'asyncio' from '/usr/local/lib/python3.9/asyncio/__init__.py'>
    fcm_1 |
    fcm_1 | File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    fcm_1 | return loop.run_until_complete(main)
    fcm_1 | │ │ └ <coroutine object ControlManager.run at 0x7f8269acc0>
    fcm_1 | │ └ <function BaseEventLoop.run_until_complete at 0x7f83fa59d0>
    fcm_1 | └ <_UnixSelectorEventLoop running=True closed=False debug=False>
    fcm_1 | File "/usr/local/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    fcm_1 | self.run_forever()
    fcm_1 | │ └ <function BaseEventLoop.run_forever at 0x7f83fa5940>
    fcm_1 | └ <_UnixSelectorEventLoop running=True closed=False debug=False>
    fcm_1 | File "/usr/local/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    fcm_1 | self._run_once()
    fcm_1 | │ └ <function BaseEventLoop._run_once at 0x7f83fa94c0>
    fcm_1 | └ <_UnixSelectorEventLoop running=True closed=False debug=False>
    fcm_1 | File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    fcm_1 | handle._run()
    fcm_1 | │ └ <function Handle._run at 0x7f84049280>
    fcm_1 | └ <Handle <TaskWakeupMethWrapper object at 0x7f81bb3e50>(<Future finished result=None>)>
    fcm_1 | File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
    fcm_1 | self._context.run(self._callback, *self._args)
    fcm_1 | │ │ │ │ │ └ <member '_args' of 'Handle' objects>
    fcm_1 | │ │ │ │ └ <Handle <TaskWakeupMethWrapper object at 0x7f81bb3e50>(<Future finished result=None>)>
    fcm_1 | │ │ │ └ <member '_callback' of 'Handle' objects>
    fcm_1 | │ │ └ <Handle <TaskWakeupMethWrapper object at 0x7f81bb3e50>(<Future finished result=None>)>
    fcm_1 | │ └ <member '_context' of 'Handle' objects>
    fcm_1 | └ <Handle <TaskWakeupMethWrapper object at 0x7f81bb3e50>(<Future finished result=None>)>
    fcm_1 | File "/usr/local/lib/python3.9/site-packages/bell/avr/utils/decorators.py", line 48, in wrapper
    fcm_1 | return await func(*args, **kwargs)
    fcm_1 | │ │ └ {}
    fcm_1 | │ └ (<__main__.ControlManager object at 0x7f825937c0>,)
    fcm_1 | └ <function ControlManager.action_dispatcher at 0x7f8253cd30>
    fcm_1 |
    fcm_1 | > File "/app/fcc_control.py", line 170, in action_dispatcher
    fcm_1 | logger.warning(f"Unknown action: {action['name']}")
    fcm_1 | │ └ <function Logger.warning at 0x7f826409d0>
    fcm_1 | └ <loguru.logger handlers=[(id=0, level=10, sink=<stderr>)]>
    fcm_1 |
    fcm_1 | KeyError: 'name'