Author Topic: Airport cache regeneration completed with FAILURE in 0 seconds  (Read 2853 times)

kenos1223

  • Newbie
  • *
  • Posts: 11
Airport cache regeneration completed with FAILURE in 0 seconds
« on: October 22, 2019, 07:15:39 am »
Hello,

Please help me with this issue, I have tried reinstalling GSX, doing all the things in other forums such as deleting files.bin, all i did was removed my fsx.cfg because it was causing a major lag in my sim so it can regenerate a new one.

kenos1223

  • Newbie
  • *
  • Posts: 11
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #1 on: October 22, 2019, 07:19:29 am »
I also have tried doing the log thing, but it wont save when i click on it in the settings.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #2 on: October 23, 2019, 06:33:27 pm »
I also have tried doing the log thing, but it wont save when i click on it in the settings.

The most likely cause is the antivirus, which is both preventing to recreate the cache AND save your settings. Be sure you configure the antivirus to disable the whole Addon Manager folder from scanning. If that doesn't work, try to remove this folder:

C:\ProgramData\Virtuali

Then reinstall GSX (no need to uninstall first)

kenos1223

  • Newbie
  • *
  • Posts: 11
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #3 on: March 31, 2020, 10:26:02 am »
Sorry for the late reply, I am just getting back to simming. I tried the steps above and I still have the airport cache failure.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #4 on: March 31, 2020, 03:16:57 pm »
Sorry for the late reply, I am just getting back to simming. I tried the steps above and I still have the airport cache failure.

Then you likely have a corrupted .BGL somewhere.  try this:

open the Notepad and type the following on a new blank file:

logFile=couatl.log

(please note logFile is written beginning with a lower case L and a capital F )

- Save the file as couatl.ini in the %APPDATA%\Virtuali folder

- Delete %PROGRAMDATA%\Virtuali again

- Run the sim, then exit after it disappear after the cache recreation.

- Check your %APPDATA%\Virtuali folder and if there's a Couatl.LOG file there, post its content

- DO NOT copy the file in a message, but use the "Attach" function of the forum to ZIP the log file and Attach it to a post.

kenos1223

  • Newbie
  • *
  • Posts: 11
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #5 on: March 31, 2020, 10:07:52 pm »
Here you go:

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #6 on: April 03, 2020, 01:05:20 am »
The log file gave you the reason for the error:

Exception while creating airport cache: CreateFile failed: The file or directory is corrupted and unreadable: "C:\Program Files (x86)\Steam\steamapps\common\FSX\Addon Scenery\KSEA-T2G\KSEA\scenery\KSEA-OBJ-2.bgl" (system:1392)

So, it's a corrupted file for that airport, reinstalling it should probably fix it.

kenos1223

  • Newbie
  • *
  • Posts: 11
Re: Airport cache regeneration completed with FAILURE in 0 seconds
« Reply #7 on: April 03, 2020, 01:37:00 am »
I see I did that and it got fixed, thanks for your help!!!