derekhe / msfs2020-google-map

Replace MSFS2020's bing map to google map
MIT License
277 stars 37 forks source link

[BUG] UnicodeDecodeError? #150

Open seiermax opened 2 years ago

seiermax commented 2 years ago

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

seiermax commented 2 years ago

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