Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TypeError: unsupported operand type(s) for &: 'NoneType' and 'int' #8

@alphafox02

Description

@alphafox02

Quick had a look at both the latest AppImage and source code (ran from the bluewho.py) on Ubuntu 22.04. While the program seems to function, I noticed the followed in the terminal window as the scan is running.

File "/home/dragon/Downloads/bluewho/bluewho/ui/main.py", line 165, in do_add_device self.model_devices.add_data(device=device) File "/home/dragon/Downloads/bluewho/bluewho/ui/model_devices.py", line 70, in add_data minor, major, services_class = self.btsupport.get_classes( File "/home/dragon/Downloads/bluewho/bluewho/bt/support.py", line 58, in get_classes minor_class = (device_class & 0xff) >> 2 TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

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