Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service stops with UTF-8 decode error #25

Open
nicolasjon opened this issue Feb 3, 2022 · 3 comments
Open

Service stops with UTF-8 decode error #25

nicolasjon opened this issue Feb 3, 2022 · 3 comments

Comments

@nicolasjon
Copy link

nicolasjon commented Feb 3, 2022

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

@iu5jae
Copy link
Owner

iu5jae commented Feb 3, 2022

it seems a problem given by an invalid character, I check, thanks for the report !!

@iu5jae
Copy link
Owner

iu5jae commented Feb 3, 2022

Can you try the latest version to check if the problem is solved?

@nicolasjon
Copy link
Author

Thanks! I have updated the GB7SV reflector. I will keep you posted. Thanks again for your great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants