Author Topic: Encoding error message shown on screeen  (Read 21204 times)

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Encoding error message shown on screeen
« Reply #30 on: May 31, 2025, 09:39:46 pm »
Yes, no problem. At 19:02 Zulu started checking.

I need to be absolutely sure you are using the latest update, because I still don't see the extra diagnostic, can you try the Offline Installer instead ? This way, we are sure you are not affected by a network replication delay, so if we still don't see any extra diagnostic, it means I need to search in other parts of the code the error happens.

gaspa77

  • Newbie
  • *
  • Posts: 10
Re: Encoding error message shown on screeen
« Reply #31 on: May 31, 2025, 09:53:09 pm »
Can you try another update CHECK now ? I've added logs in other place of the code, perhaps we'll find something.

Ciao Umberto, I've done like you say...another udate CHECK right now...same problem at the MMMX airport. I've made the new .log file for you hope can help you for resolve...please..

KuT

  • Newbie
  • *
  • Posts: 12
Re: Encoding error message shown on screeen
« Reply #32 on: May 31, 2025, 09:58:30 pm »
Yes, no problem. At 19:02 Zulu started checking.

I need to be absolutely sure you are using the latest update, because I still don't see the extra diagnostic, can you try the Offline Installer instead ? This way, we are sure you are not affected by a network replication delay, so if we still don't see any extra diagnostic, it means I need to search in other parts of the code the error happens.

If you tell me where to get an offline installer 3.5.4, I'll be happy to try it. ; ) In this forum i found installer from 29 may( 3.5.3? )

It won't affect my ready-made airport configs, will it?

I'll just make a backup if it does (they'll be deleted or reset). But I'd like to know about it from you in advance ; )
« Last Edit: May 31, 2025, 10:35:44 pm by KuT »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Encoding error message shown on screeen
« Reply #33 on: June 01, 2025, 02:43:48 am »
If you tell me where to get an offline installer 3.5.4, I'll be happy to try it. ; ) In this forum i found installer from 29 may( 3.5.3? )

The forum post is not updated, the installer is.

firferion

  • Newbie
  • *
  • Posts: 10
Re: Encoding error message shown on screeen
« Reply #34 on: June 01, 2025, 03:09:04 am »
If you tell me where to get an offline installer 3.5.4, I'll be happy to try it. ; ) In this forum i found installer from 29 may( 3.5.3? )

The forum post is not updated, the installer is.
You can simulate the problem yourself by selecting the game language to ru_ru and loading at the UNNT or URSS airports.

KuT

  • Newbie
  • *
  • Posts: 12
Re: Encoding error message shown on screeen
« Reply #35 on: June 01, 2025, 06:04:15 pm »
If you tell me where to get an offline installer 3.5.4, I'll be happy to try it. ; ) In this forum i found installer from 29 may( 3.5.3? )

The forum post is not updated, the installer is.

Hi Umberto!

Yesterday and today at 14:00Z I did a check in the regular installer. Then I downloaded it offline and installed it. Then I launched it using the same scenario as before. Everything is the same. I didn't see any new information.

From the interesting thing, if you switch the simulator to English, run GSX, switch back to Russian - GSX will work )

I have a hypothesis that the problem is in the airport name in the bgl file (In particular for URSS - Community\digitaldesign-airport-urss-sochi\scenery\obj.bgl )

I did some research to rule out different things:

- Tried saving the configuration file in different encodings. Didn't help.

- Tried deleting the configuration file so that GSX would generate a new one. The story here is that if the configuration file does not exist, with the Russian language in the Simulator, when starting GSX we apparently get the error about which this thread is, BUT the configuration file is still not created. After translating the simulator into English - everything is fine, the file is created. But with it, if you switch back to Russian, GSX still does not work.

- Visited StackOverFlow and other resources. As I understand it, this is a common problem for python. Perhaps the problem is that the BGL file has a translation into Russian, GSX tries to read it, insert it in its encoding into the DB, but it can't because the DB with such encoding doesn't work or can't accept it. or accepts it and crashes. You know better here, I don't know the GSX code.

I hope my ideas and guesses will help you.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Encoding error message shown on screeen
« Reply #36 on: June 01, 2025, 06:37:40 pm »
I'm quite sure it has something to do with the encoding of the airport name. We don't read the .BGL file, we get data from Simconnect. In theory, Python 3 should solve all encoding issues, because it's natively unicode, but maybe something else is not, or we just need to changes things we had to do to make it work in Python 2.

But yes, we should have enough data to investigate it and replicate it.

KuT

  • Newbie
  • *
  • Posts: 12
Re: Encoding error message shown on screeen
« Reply #37 on: June 01, 2025, 07:51:57 pm »
I'm quite sure it has something to do with the encoding of the airport name. We don't read the .BGL file, we get data from Simconnect. In theory, Python 3 should solve all encoding issues, because it's natively unicode, but maybe something else is not, or we just need to changes things we had to do to make it work in Python 2.

But yes, we should have enough data to investigate it and replicate it.

Is there anything else I can help with?

As suggested above, I can find you a freeware airport if you don't have URSS and help you reproduce it locally. search for you?

gaspa77

  • Newbie
  • *
  • Posts: 10
Re: Encoding error message shown on screeen
« Reply #38 on: June 01, 2025, 07:58:07 pm »
I'm quite sure it has something to do with the encoding of the airport name. We don't read the .BGL file, we get data from Simconnect. In theory, Python 3 should solve all encoding issues, because it's natively unicode, but maybe something else is not, or we just need to changes things we had to do to make it work in Python 2.

But yes, we should have enough data to investigate it and replicate it.

Is there anything else I can help with?

As suggested above, I can find you a freeware airport if you don't have URSS and help you reproduce it locally. search for you?

Man, I've the same problem as you in City of MEXICO, olso in the default ones of MSFS2020. . I think that GSX must to resolve this problem not just for URSS airport... It's a problem somewhere everywhere..

KuT

  • Newbie
  • *
  • Posts: 12
Re: Encoding error message shown on screeen
« Reply #39 on: June 01, 2025, 08:10:04 pm »
I'm quite sure it has something to do with the encoding of the airport name. We don't read the .BGL file, we get data from Simconnect. In theory, Python 3 should solve all encoding issues, because it's natively unicode, but maybe something else is not, or we just need to changes things we had to do to make it work in Python 2.

But yes, we should have enough data to investigate it and replicate it.

Is there anything else I can help with?

As suggested above, I can find you a freeware airport if you don't have URSS and help you reproduce it locally. search for you?

Man, I've the same problem as you in City of MEXICO, olso in the default ones of MSFS2020. . I think that GSX must to resolve this problem not just for URSS airport... It's a problem somewhere everywhere..

I missed the point that this is also present at standard airports.

If so, then Umberto has a default S2R and you are absolutely right that it is not worth fixing on URSS.

firferion

  • Newbie
  • *
  • Posts: 10
Re: Encoding error message shown on screeen
« Reply #40 on: June 01, 2025, 08:18:06 pm »
I'm quite sure it has something to do with the encoding of the airport name. We don't read the .BGL file, we get data from Simconnect. In theory, Python 3 should solve all encoding issues, because it's natively unicode, but maybe something else is not, or we just need to changes things we had to do to make it work in Python 2.

But yes, we should have enough data to investigate it and replicate it.

Is there anything else I can help with?

As suggested above, I can find you a freeware airport if you don't have URSS and help you reproduce it locally. search for you?

Man, I've the same problem as you in City of MEXICO, olso in the default ones of MSFS2020. . I think that GSX must to resolve this problem not just for URSS airport... It's a problem somewhere everywhere..

I missed the point that this is also present at standard airports.

If so, then Umberto has a default S2R and you are absolutely right that it is not worth fixing on URSS.
In URSS without addon same problem.

ATF_DIM

  • Newbie
  • *
  • Posts: 1
Re: Encoding error message shown on screeen
« Reply #41 on: June 02, 2025, 03:06:46 am »
Hello everyone.
Simulator 2024, UNKL airport.

At different times during loading the simulator and at the airport parking lot, the Couatl file is overwritten.
I am attaching two files. I hope this will help.

Mickartur

  • Newbie
  • *
  • Posts: 2
Re: Encoding error message shown on screeen
« Reply #42 on: June 02, 2025, 11:46:14 am »
The simulator was in Russian and after updating gsx a similar problem appeared. Switched the simulator to English - gsx started and began to work! Please fix this problem!

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: Encoding error message shown on screeen
« Reply #43 on: June 02, 2025, 01:08:07 pm »
Of course we'll fix this problem! There's no need to stress it, not having issues with encoding is supposed to be one benefit or switching from Python 2 to 3! I'm sure there must be some part of the code which had workarounds that might not be needed anymore, of something related to the interaction with Simconnect as well, which we need to fix.

You provided enough data to replicate it, so we can work at it now.

Emergency

  • Newbie
  • *
  • Posts: 1
Re: Encoding error message shown on screeen
« Reply #44 on: June 02, 2025, 02:02:55 pm »
In some airports (LGIR HTZA UGSB) gsx doesn't work and shows error as on photo.