Author Topic: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 **SOLVED**  (Read 32145 times)

Jara4

  • Newbie
  • *
  • Posts: 8
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #105 on: April 02, 2025, 01:08:08 pm »
Thanks God im not the only one. Im having the same issue.  Im running 3.4.3

Code: [Select]

couatl v5.0 (build 5621)
panic log started on Tue Apr  1 12:05:32 2025

problem raised by engine or unspecified addon
{}
[KIAH2] is active
Slew mode False
USER airplane title reported by Simconnect is Just Flight RJ70 Business Express
Loading aircraft.cfg from d:\flightsimulator\community2024\community\justflight-aircraft-rj\simobjects\airplanes\jf_rj_70
Loading engines.cfg from d:\flightsimulator\community2024\community\justflight-aircraft-rj\simobjects\airplanes\jf_rj_70
Loading flight_model.cfg from d:\flightsimulator\community2024\community\justflight-aircraft-rj\simobjects\airplanes\jf_rj_70
Loading gameplay.cfg from d:\flightsimulator\community2024\community\justflight-aircraft-rj\simobjects\airplanes\jf_rj_70
Loading systems.cfg from d:\flightsimulator\community2024\community\justflight-aircraft-rj\simobjects\airplanes\jf_rj_70
ATC_ID read from aircraft.cfg is N832BE
this airplane has 6 exits
Model: "ATCCOM.AC_MODEL RJ70.0.text" (length: 27)
Title: "Just Flight RJ70 Business Express" (length: 33)
Airplane major/minor version: 70 0
ATC_ID_SIM read from Simconnect is "N10505"
Livery Name is ""
Livery Folder is ""
Searching airplane
Searching airplane JF_RJ_70
Traceback (most recent call last):
  File ".\common\__init__.py", line 590, in aircraftLoaded
  File ".\common\criticalsection.py", line 23, in _synchronized
  File ".\common\aircraftData.py", line 2594, in getAircraftData
  File ".\common\aircraftData.py", line 1068, in __init__
  File ".\common\aircraftData.py", line 646, in _dataFromAircraftDb
  File ".\common\aircraftData.py", line 591, in _convertDbData
AttributeError: 'FlippedExit' object has no attribute 'width'
{}

I have exactly the same problem/error.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #106 on: April 04, 2025, 10:26:40 am »
I have exactly the same problem/error.

As I've already said in my previous post no, you issue is completely different, and it's specific for this airplane (RJ70), we'll of course check this.

andi73

  • Newbie
  • *
  • Posts: 4
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #107 on: June 22, 2025, 06:20:47 pm »
Hello, I also have a problem with the Couatl script and urgently need help. Everything worked fine until yesterday. Yesterday, my Winwing  MCDU finally arrived, and I installed SimAppPro from Winwing. I also downloaded and applied the corresponding Mobiflight profile for the MCDU in the Fenix ​​A320. Since then, when I start the simulator, the following message appears during the startup phase: „The Addon <unknown> is causing the Couatl Scripting Engine to restart. Please run Live Update.“

Log:
couatl v5.0 (build 5962)
panic log started on Sun Jun 22 14:32:06 2025

problem raised by addon <unknown>
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File ".\common\__init__.py", line 618, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File ".\common\keyMappingsDialog.py", line 5, in <module>
  File ".\common\keyMappingsDialog.py", line 6, in KeyMappingsDialog
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 8: invalid start byte
{}

I've run the live update several times, unfortunately without success. I've also deleted the %APPDATA%\Virtuali folder and uninstalled, deleted, and reinstalled everything related to GSX. I've also uninstalled the Winwing software, deleted the MobiFlight profile, and unplugged the MCDU. Nothing helped. As I wrote before: the error message appears when I start the sim, even before I get to the main menu. I don't know what to do. Can anyone help me?

Regards, Andi.

Windows 10
MSFS 2020
GSX Pro 3.5.7

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #108 on: June 22, 2025, 06:29:56 pm »
This is very strange, because I have the WinWing since it came out, never had a problem with it. And your error log in fact shows something completely unrelated to it, which is an encoding problem in your keymappings dialog window, which is not even used in MSFS, even if the setting is read anyway, but it applies to FSX/P3D only, the GSX hotkey is MSFS is not configured that way.

Can you post this file?

%APPDATA%\Virtuali\KeyMapping.INI

Very important: ZIP the file, and use the ATTACH function to attach to a post, don't quote it. It's important when troubleshooting possible encoding problem that I can see the file unaltered as is in your system.

andi73

  • Newbie
  • *
  • Posts: 4
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #109 on: June 22, 2025, 08:22:45 pm »
... thank you for the fast answer.
Unfortunately there is no keymapping.ini (s. attachment)


andi73

  • Newbie
  • *
  • Posts: 4
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #110 on: June 23, 2025, 07:50:18 pm »
... does anybody have an idea for a solution of my problem (see above)?

Is it possible, that it has something to do with python?
I had to install it for the MCDU-profile in Mobiflight including a command via command prompt (s. attachmanet) as described here: https://docs.mobiflight.com/guides/installing-python/

Obviously I'm not able to undo that. Even a windows system restore didn't help.

I'm reallydisappointed... does anybode have an idea?

Greetings,
Andi


virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 53111
    • VIRTUALI Sagl
Re: ADDON uknown causing CUATL SCRIPTING engine to restart **SOLVED**
« Reply #111 on: June 26, 2025, 12:43:32 pm »
What is your Windows language ?

andi73

  • Newbie
  • *
  • Posts: 4
Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 **SOLVED**
« Reply #112 on: June 30, 2025, 07:53:26 pm »
Hi,
my Windows language is german.

But everthings works fine now, I could solve the problem.

This was the solution:
As I wrote before I wanted to use mobiflight for my new winwing MCDU. I downloaded the profile from flightsim-to and had to install python and added some commands in command prompt (as descripted in my post before).
Because I had no more idea to solve my problem I asked chatgpt for the right command to undo that. So I could uninstall the commands and python itself. After that I unsinstalled gsx completely and reinstalled it.
That`s it. So I don't use mobiflight for the MCDU, it works fine with SimAppPro from winwing.
I'm really happy that I don't have to reinstall my complete system.

Maybe this can help anybody else with the same problem.

Happy flights everyone,
Andi