Skip to content

AttributeError: 'bytes' object has no attribute 'decode' #74

Closed
@Skyfarer

Description

@Skyfarer

I'm using CircuitPython version 7.0.0 on the Feather M0 Lora board. Also using a Beitian BN-220 GPS.
Getting this error when trying to parse GPS:
main.py output:
('GPGSV', '3,3,11,21,28,129,21,27,31,045,15,30,40,311,33')
Traceback (most recent call last):
File "main.py", line 53, in
File "adafruit_gps.py", line 282, in update
File "adafruit_gps.py", line 588, in _parse_gsv
AttributeError: 'bytes' object has no attribute 'decode'

I'd be grateful for some help,
Thanks!
Jeremy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions