Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

[BUG] UnicodeDecodeError? #150

Open
seiermax opened this issue Dec 7, 2021 · 1 comment
Open

[BUG] UnicodeDecodeError? #150

seiermax opened this issue Dec 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@seiermax
Copy link

seiermax commented Dec 7, 2021

Installed the program under latest updated versions of MSFS store edition and Windows

@seiermax seiermax added the bug Something isn't working label Dec 7, 2021
@seiermax
Copy link
Author

seiermax commented Dec 7, 2021

When I start the bat, it immediately stops again. The contents of the text window is:

E:\Hilfsprogramme\Google Maps Replacement\msfs2020-google-map-2021-12-04_3ULI0>.\Python39\python.exe src\app.py
Restoring hosts
Restoring hosts
Exception in Tkinter callback
Traceback (most recent call last):
File "E:\Hilfsprogramme\Google Maps Replacement\msfs2020-google-map-2021-12-04_3ULI0\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "E:\Hilfsprogramme\Google Maps Replacement\msfs2020-google-map-2021-12-04_3ULI0\src\app.py", line 241, in run
self.stop()
File "E:\Hilfsprogramme\Google Maps Replacement\msfs2020-google-map-2021-12-04_3ULI0\src\app.py", line 313, in stop
restore_hosts()
File "E:\Hilfsprogramme\Google Maps Replacement\msfs2020-google-map-2021-12-04_3ULI0\src\runner.py", line 36, in restore_hosts
host = f.read()
File "E:\Hilfsprogramme\Google Maps Replacement\msfs2020-google-map-2021-12-04_3ULI0\Python39\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 454804: character maps to

Any idea about what I did wrong and how to fix the problem?
TY all in advance for your support

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant