Skip to content

🐛 Exception in thread HCISocketPoller #55

@JAICHANGPARK

Description

@JAICHANGPARK
Exception in thread HCISocketPoller:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/BluetoothHCI/BluetoothHCI.py", line 197, in _socket_poller
    self._socket_on_data_user_callback(bytearray(data))
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Hci.py", line 387, in onSocketData
    self.processCmdCompleteEvent(cmd, status, result)
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Hci.py", line 488, in processCmdCompleteEvent
    self.emit('leAdvertiseEnableSet', [status])
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Emit.py", line 17, in emit
    handler(*arguments)
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Gap.py", line 190, in onHciLeAdvertiseEnableSet
    self.emit('advertisingStart', [error])
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Emit.py", line 17, in emit
    handler(*arguments)
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Bindings.py", line 115, in onAdvertisingStart
    self.emit('advertisingStart', [error])
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Emit.py", line 17, in emit
    handler(*arguments)
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/Bleno.py", line 158, in onAdvertisingStart
    self.emit('advertisingStart', [error])
  File "/home/jaichang/.local/lib/python3.8/site-packages/pybleno/hci_socket/Emit.py", line 17, in emit
    handler(*arguments)
  File "jeffrey/ex_pybleno.py", line 63, in onAdvertisingStart
    print('on -> advertisingStart1: ' + ('error ' + error if error else 'success'))
TypeError: can only concatenate str (not "Exception") to str

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