Skip to content

crash and warning on fedora #3

Description

@5frank
bleak: 0.5.1
os: Linux-5.3.12-200.fc30.x86_64-x86_64-with-fedora-30-Thirty
python: 3.7.5
bluez: 5.52

config-write fails with the following:

Traceback (most recent call last):
File "cliapp.py", line 492, in <module>
main()
File "cliapp.py", line 488, in main
loop.run_until_complete(args._actionfunc(loop, args))
File "/usr/lib64/python3.7/asyncio/base_events.py", line 579, in
run_until_complete
return future.result()
File "cliapp.py", line 212, in do_config_write
await bbl.write_u32(UUIDS.C_CFG_LOG_ENABLE, args.logging)
File "cliapp.py", line 48, in write_u32
await self.write_gatt_char(cuuid, data, response=True)
File
"/run/media/mk/6373-1171/jamble/bblogger/bleak/backends/bluezdbus/client.py",
line 412, in write_gatt_char
).asFuture(self.loop)
txdbus.error.MarshallingError: List, Tuple, Bytearray, or Dictionary
required for DBus array. Received: b'\x01\x00\x00\x00'

also gives the following warning every time. probably related

:0: UserWarning: You do not have a working installation of the
service_identity module: 'No module named 'service_identity''. Please
install it from <https://pypi.python.org/pypi/service_identity> and make
sure all of its dependencies are satisfied. Without the
service_identity module, Twisted can perform only rudimentary TLS client
hostname verification. Many valid certificate/hostname mappings may be
rejected.

twisted installed with pip, perhaps installation with yum behaves better!?

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