Skip to content

Weird crash after running commands #472

@rpgdev

Description

@rpgdev

For a while now I've been getting a weird stacktrace when lowering the desk. The command works but afterwards it simply crashes with the output below. How can I fix this?

$ idasen sit
Traceback (most recent call last):
  File "/home/myuser/.local/bin/idasen", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/myuser/.local/lib/python3.13/site-packages/idasen/cli.py", line 320, in main
    rc = asyncio.run(func(args))
  File "/usr/lib64/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/lib64/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib64/python3.13/asyncio/base_events.py", line 725, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/home/myuser/.local/lib/python3.13/site-packages/idasen/cli.py", line 209, in move_to
    async with IdasenDesk(args.mac_address, exit_on_fail=True) as desk:
               ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/myuser/.local/lib/python3.13/site-packages/idasen/__init__.py", line 125, in __aexit__
    await self.disconnect()
  File "/home/myuser/.local/lib/python3.13/site-packages/idasen/__init__.py", line 186, in disconnect
    await self._client.disconnect()
  File "/home/myuser/.local/lib/python3.13/site-packages/bleak/__init__.py", line 624, in disconnect
    return await self._backend.disconnect()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/myuser/.local/lib/python3.13/site-packages/bleak/backends/bluezdbus/client.py", line 409, in disconnect
    reply = await self._bus.call(
            ^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^
  File "/home/myuser/.local/lib/python3.13/site-packages/dbus_fast/aio/message_bus.py", line 398, in call
    await future
  File "src/dbus_fast/aio/message_reader.py", line 23, in dbus_fast.aio.message_reader._message_reader
  File "src/dbus_fast/_private/unmarshaller.py", line 856, in dbus_fast._private.unmarshaller.Unmarshaller._unmarshall
  File "src/dbus_fast/_private/unmarshaller.py", line 720, in dbus_fast._private.unmarshaller.Unmarshaller._read_header
  File "src/dbus_fast/_private/unmarshaller.py", line 449, in dbus_fast._private.unmarshaller.Unmarshaller._read_to_pos
  File "src/dbus_fast/_private/unmarshaller.py", line 389, in dbus_fast._private.unmarshaller.Unmarshaller._read_sock_with_fds
$ idasen --version
0.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions