Skip to content

Connected once then keep showing error #29

Description

@JayzeeHuang

run_controller_cli.py:356: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() Traceback (most recent call last): File "/home/jayzee/Downloads/joycontrol-amiibo_edits/run_controller_cli.py", line 357, in <module> loop.run_until_complete( File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "/home/jayzee/Downloads/joycontrol-amiibo_edits/run_controller_cli.py", line 311, in _main transport, protocol = await create_hid_server(factory, reconnect_bt_addr=args.reconnect_bt_addr, File "/home/jayzee/Downloads/joycontrol-amiibo_edits/joycontrol/server.py", line 132, in create_hid_server paths = hid.get_paired_switches() File "/home/jayzee/Downloads/joycontrol-amiibo_edits/joycontrol/device.py", line 77, in get_paired_switches if d and d['Name'] == "Nintendo Switch": KeyError: 'Name'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions