Skip to content

TypeError: Type str doesn't support the buffer API #7

@eedbarr

Description

@eedbarr

Hi,

Thank you for creating this guide. I'm a newbie in programming and the terminal is giving me this error.

How should I resolve this?

Thank you

Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run() File "/usr/lib/python3.4/threading.py", line 868, in run self._target(*self._args, **self._kwargs) File "/home/pi/pi-sensor-free-presence-detector/presence.py", line 44, in whosHere if address[i] in output: TypeError: Type str doesn't support the buffer API Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run() File "/usr/lib/python3.4/threading.py", line 868, in run self._target(*self._args, **self._kwargs) File "/home/pi/pi-sensor-free-presence-detector/presence.py", line 44, in whosHere if address[i] in output: TypeError: Type str doesn't support the buffer API Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run() File "/usr/lib/python3.4/threading.py", line 868, in run self._target(*self._args, **self._kwargs) File "/home/pi/pi-sensor-free-presence-detector/presence.py", line 44, in whosHere if address[i] in output: TypeError: Type str doesn't support the buffer API

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