Skip to content

Service stops with UTF-8 decode error #25

@nicolasjon

Description

@nicolasjon

The Reflector runs much more reliably than the previous one I was using(!) Great work.
Every week or so I get an error like the following or a general parsing related error and the service stops. Any thoughts?
Thanks

Feb 02 13:08:44 zbm2 systemd[1]: Starting YSFReflector...
Feb 02 13:08:46 zbm2 systemd[1]: Started YSFReflector.
Feb 03 09:33:18 zbm2 python3[899]: Starting pYSFReflector-20210606
Feb 03 09:33:19 zbm2 python3[899]: Traceback (most recent call last):
Feb 03 09:33:19 zbm2 python3[899]: File "/usr/local/bin/YSFReflector", line 922, in
Feb 03 09:33:19 zbm2 python3[899]: RunServer(config)
Feb 03 09:33:19 zbm2 python3[899]: File "/usr/local/bin/YSFReflector", line 666, in RunServer
Feb 03 09:33:19 zbm2 python3[899]: tx_ok = canTrasmit(data[14:24].decode().strip(), CheckRE)
Feb 03 09:33:19 zbm2 python3[899]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 4: invalid start byte

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