Author Topic: GSX stopped automatically updating the airport scenery cache  (Read 6252 times)

WebMaximus

  • Sr. Member
  • ****
  • Posts: 464
GSX stopped automatically updating the airport scenery cache
« on: January 24, 2014, 01:09:40 pm »
For some reason GSX no longer updates/refreshes it's airport scenery cache when a change has been made to the FSX scenery library.

I found out by searching for this issue that you can force a refresh by deleting the C:\ProgramData\Virtuali\Couatl folder. This solved the problem the other day but now I'm back in the same situation again where GSX for some reason has stopped updating the airport cache automatically. This results in an error message when I go to the airport where I did a scenery change and try to start GSX. This is the error message I get:

System error while accessing file path and filename: CreateFile failed: The system cannot find the file specified (system:2)

Any idea why this happens and how I can fix so it will permanently work automatically again without me having to manually deleting the folder mentioned above as soon as I did a change to the FSX scenery?
Richard Åsberg

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: GSX stopped automatically updating the airport scenery cache
« Reply #1 on: January 24, 2014, 01:19:21 pm »
Any idea why this happens and how I can fix so it will permanently work automatically again without me having to manually deleting the folder mentioned above as soon as I did a change to the FSX scenery?

The message simply indicates that a scenery listed in the GSX cache doesn't exists anymore, which means the cache hasn't been updated. GSX should detect any changes to the Scenery Library automatically and will update its cache, what you are describing shouldn't normally happen.

A possible explanation might be some other program that is modifying the scenery library or is keeping a lock on files. A flight planner, or anything that reads from the Scenery Library might cause this.

If this is the case, either you close that program when making manual changes to the Scenery Library, or you must always remove the GSX cache folders. Note that, GSX doesn't even try to detect changes to the Scenery Library itself, it just monitor FSX OWN scenery cache, and updates its own when the FSX cache changes. This means, whatever is causing this, is affecting even FSX itself, not just GSX.
« Last Edit: January 24, 2014, 01:22:23 pm by virtuali »

WebMaximus

  • Sr. Member
  • ****
  • Posts: 464
Re: GSX stopped automatically updating the airport scenery cache
« Reply #2 on: January 24, 2014, 01:56:57 pm »
Thanks for your very quick support Umberto!

When I've seen this I haven't had any other addons running so that shouldn't be the problem with locked files as you describe.

Also what you describe how GSX doesn't check for changes to the scenery library itself but relies on FSX seems strange because when I've done a change to the scenery I always see when I start FSX how it refreshes the scenery library but still I don't see the GSX line at the top of the screen after loading a flight and how GSX updates the scenery.

Very strange this because I've been running GSX for a long time and haven't had this issue in the past.
Richard Åsberg

WebMaximus

  • Sr. Member
  • ****
  • Posts: 464
Re: GSX stopped automatically updating the airport scenery cache
« Reply #3 on: January 24, 2014, 02:38:31 pm »
I enabled logging in GSX and this is what the log looks like. Skimmed through it myself but couldn't find anything particulary interesting other than the error messages at the end.

Code: [Select]
couatl v2.0 (build 2356)
log started on Fri Jan 24 14:35:03 2014

connecting to SimConnect...
connected to FSX
connected to bglmanx
Loading addons
requesting AddOn list to bglmanx
bglmanx list contains 20 AddOn(s)
Loading addon OHareX
Addon OHareX not installed or missing one or more files, skipping
Loading addon KDFW
Addon KDFW not installed or missing one or more files, skipping
Loading addon LSGG
Addon LSGG loaded
Loading addon GSX
Initializing audio...
Available devices:
  Generic Software on Speakers (Realtek High Definition Audio) (47656e6572696320536f667477617265206f6e20537065616b65727320285265616c74656b204869676820446566696e6974696f6e20417564696f29)
  Generic Software on Line 2 (Virtual Audio Cable) (47656e6572696320536f667477617265206f6e204c696e65203220285669727475616c20417564696f204361626c6529)
  Generic Software on Speakers (USB PnP Sound Device) (47656e6572696320536f667477617265206f6e20537065616b657273202855534220506e5020536f756e642044657669636529)
  Generic Software on Realtek HDMI Output (Realtek High Definition Audio) (47656e6572696320536f667477617265206f6e205265616c74656b2048444d49204f757470757420285265616c74656b204869676820446566696e6974696f6e20417564696f29)
  Generic Software on Speakers (Logitech Wireless Headset) (47656e6572696320536f667477617265206f6e20537065616b65727320284c6f67697465636820576972656c657373204865616473657429)
  Generic Software on Line 1 (Virtual Audio Cable) (47656e6572696320536f667477617265206f6e204c696e65203120285669727475616c20417564696f204361626c6529)
Created OpenAL device: Generic Software on Speakers (Realtek High Definition Audio)

Device info:
Major version: 1
Minor version: 1
Frequency: 44100
Refresh: 40
Sync: 0
Mono sources: 255
Stereo sources: 1
Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX

Context info:
Vendor: Creative Labs Inc.
Version: 1.1
Renderer: Software
Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

Using EFX 1.0 extension, with 1 auxiliary send(s)
Using EAX reverb
Current directory is F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X
Looking for scenery.cfg in C:/ProgramData/Microsoft/FSX/scenery.cfg
  using Scenery/World/scenery (layer 1)
  using Scenery/BASE/scenery (layer 2)
  using Scenery/0000/scenery (layer 3)
  using Scenery/0001/scenery (layer 4)
  using Scenery/0002/scenery (layer 5)
  using Scenery/0003/scenery (layer 6)
  using Scenery/0004/scenery (layer 7)
  using Scenery/0005/scenery (layer 8)
  using Scenery/0006/scenery (layer 9)
  using Scenery/0007/scenery (layer 10)
  using Scenery/0100/scenery (layer 11)
  using Scenery/0101/scenery (layer 12)
  using Scenery/0102/scenery (layer 13)
  using Scenery/0103/scenery (layer 14)
  using Scenery/0104/scenery (layer 15)
  using Scenery/0105/scenery (layer 16)
  using Scenery/0106/scenery (layer 17)
  using Scenery/0107/scenery (layer 18)
  using Scenery/0200/scenery (layer 19)
  using Scenery/0201/scenery (layer 20)
  using Scenery/0202/scenery (layer 21)
  using Scenery/0203/scenery (layer 22)
  using Scenery/0204/scenery (layer 23)
  using Scenery/0205/scenery (layer 24)
  using Scenery/0206/scenery (layer 25)
  using Scenery/0207/scenery (layer 26)
  using Scenery/0300/scenery (layer 27)
  using Scenery/0301/scenery (layer 28)
  using Scenery/0302/scenery (layer 29)
  using Scenery/0303/scenery (layer 30)
  using Scenery/0304/scenery (layer 31)
  using Scenery/0305/scenery (layer 32)
  using Scenery/0306/scenery (layer 33)
  using Scenery/0307/scenery (layer 34)
  using Scenery/0400/scenery (layer 35)
  using Scenery/0401/scenery (layer 36)
  using Scenery/0402/scenery (layer 37)
  using Scenery/0403/scenery (layer 38)
  using Scenery/0404/scenery (layer 39)
  using Scenery/0405/scenery (layer 40)
  using Scenery/0406/scenery (layer 41)
  using Scenery/0407/scenery (layer 42)
  using Scenery/0500/scenery (layer 43)
  using Scenery/0501/scenery (layer 44)
  using Scenery/0502/scenery (layer 45)
  using Scenery/0503/scenery (layer 46)
  using Scenery/0504/scenery (layer 47)
  using Scenery/0505/scenery (layer 48)
  using Scenery/0506/scenery (layer 49)
  using Scenery/0507/scenery (layer 50)
  using Scenery/0600/scenery (layer 51)
  using Scenery/0601/scenery (layer 52)
  using Scenery/0602/scenery (layer 53)
  using Scenery/0603/scenery (layer 54)
  using Scenery/0604/scenery (layer 55)
  using Scenery/0605/scenery (layer 56)
  using Scenery/0606/scenery (layer 57)
  using Scenery/0607/scenery (layer 58)
  using Scenery/0700/scenery (layer 59)
  using Scenery/0701/scenery (layer 60)
  using Scenery/0702/scenery (layer 61)
  using Scenery/0703/scenery (layer 62)
  using Scenery/0704/scenery (layer 63)
  using Scenery/0705/scenery (layer 64)
  using Scenery/0706/scenery (layer 65)
  using Scenery/0707/scenery (layer 66)
  using Scenery/0800/scenery (layer 67)
  using Scenery/0801/scenery (layer 68)
  using Scenery/0802/scenery (layer 69)
  using Scenery/0803/scenery (layer 70)
  using Scenery/0804/scenery (layer 71)
  using Scenery/0805/scenery (layer 72)
  using Scenery/0806/scenery (layer 73)
  using Scenery/0807/scenery (layer 74)
  using Scenery/0900/scenery (layer 75)
  using Scenery/0901/scenery (layer 76)
  using Scenery/0902/scenery (layer 77)
  using Scenery/0903/scenery (layer 78)
  using Scenery/0904/scenery (layer 79)
  using Scenery/0905/scenery (layer 80)
  using Scenery/0906/scenery (layer 81)
  using Scenery/0907/scenery (layer 82)
  using Scenery/1000/scenery (layer 83)
  using Scenery/1001/scenery (layer 84)
  using Scenery/1002/scenery (layer 85)
  using Scenery/1003/scenery (layer 86)
  using Scenery/1004/scenery (layer 87)
  using Scenery/1005/scenery (layer 88)
  using Scenery/1006/scenery (layer 89)
  using Scenery/1007/scenery (layer 90)
  using Scenery/1100/scenery (layer 91)
  using Scenery/1101/scenery (layer 92)
  using Scenery/1102/scenery (layer 93)
  using Scenery/1103/scenery (layer 94)
  using Scenery/1104/scenery (layer 95)
  using Scenery/1105/scenery (layer 96)
  using Scenery/1106/scenery (layer 97)
  using Scenery/1107/scenery (layer 98)
  using F:/fsgux/eur/scenery (layer 99)
  using F:/fsgux/afr/scenery (layer 100)
  using F:/fsgux/LocalMeshes/scenery (layer 101)
  using Scenery/AFRI/scenery (layer 102)
  using Scenery/ASIA/scenery (layer 103)
  using Scenery/AUST/scenery (layer 104)
  using Scenery/EURE/scenery (layer 105)
  using Scenery/EURW/scenery (layer 106)
  using Scenery/NAMC/scenery (layer 107)
  using Scenery/NAME/scenery (layer 108)
  using Scenery/NAMW/scenery (layer 109)
  using Scenery/OCEN/scenery (layer 110)
  using Scenery/SAME/scenery (layer 111)
  using Scenery/Cities/Oshkosh/scenery (layer 112)
  using Scenery/Cities/StMaarten/scenery (layer 113)
  using Scenery/Cities/Rio/scenery (layer 114)
  using Scenery/Cities/LasVegas/scenery (layer 115)
  using Scenery/Global/scenery (layer 116)
  using Scenery/Props/scenery (layer 117)
  using Addon Scenery/scenery (layer 118)
  using Scenery/UtExcl/scenery (layer 119)
  using Scenery/UtEurLights/scenery (layer 120)
  using Scenery/UtLcVeg/scenery (layer 121)
  using SceneryTech/Landclass/EU/scenery (layer 122)
  using Scenery/UtLcCity/scenery (layer 123)
  using Scenery/UtLcCustEur/scenery (layer 124)
  using Scenery/UtEurRoad/scenery (layer 125)
  using Scenery/UtEurRail/scenery (layer 126)
  using Scenery/UtEurWater/scenery (layer 127)
  using Scenery/UtEurStream/scenery (layer 128)
  using Scenery/UtEurGP/scenery (layer 129)
  using Scenery/UtObjRepo/scenery (layer 130)
  using Scenery/UtWc/scenery (layer 131)
  using Scenery/UtEurAirports/scenery (layer 132)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/SimMarket/Malta Intl Airport v2/scenery (layer 137)
  using Eiresim Alicante Ultimate/LEAL/scenery (layer 138)
  using Eiresim Dublin 2009/EIDW_LC/scenery (layer 139)
  using Eiresim Dublin 2009/EIDW/scenery (layer 140)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/Addon Scenery/FlyTampa-Athens_LC/scenery (layer 141)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/Addon Scenery/FlyTampa-Athens/scenery (layer 142)
  using FsDreamTeam/LSGG/scenery (layer 143)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/SimMarket/EKCH Copenhagen Kastrup X/EKCH-TERRAIN/scenery (layer 144)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/SimMarket/EKCH Copenhagen Kastrup X/EKCH-X/scenery (layer 145)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Common Library/scenery (layer 146)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Birmingham Xtreme/scenery (layer 147)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Heathrow Xtreme/scenery (layer 148)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Manchester Xtreme/scenery (layer 149)
  using aerosoft/Amsterdam Schiphol X/scenery (layer 150)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Antalya X/scenery (layer 151)
  using Aerosoft/Mega Airport Barcelona X/scenery (layer 152)
  using aerosoft/Mega Airport Duesseldorf/EDDL_2013_SC/scenery (layer 153)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Faro X/scenery (layer 154)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Mega Airport Frankfurt_LC/scenery (layer 155)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Mega Airport Frankfurt/scenery (layer 156)
  using aerosoft/German Airports 3/scenery (layer 157)
  using aerosoft/Mega Airport Helsinki/scenery (layer 158)
  using aerosoft/Heraklion X/Heraklion X_3_LC/scenery (layer 159)
  using aerosoft/Heraklion X/Heraklion X_2_Scenery/scenery (layer 160)
  using aerosoft/Heraklion X/Heraklion X_1/scenery (layer 161)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Larnaca X/scenery (layer 162)
  using Aerosoft/Menorca X Ground/scenery (layer 163)
  using Aerosoft/Menorca X SC/scenery (layer 164)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Nice Cote dAzur X/scenery (layer 165)
  using Aerosoft/Mallorca X Ground/scenery (layer 166)
  using Aerosoft/Mallorca X SC/scenery (layer 167)
  using Aerosoft/Mega Airport Paris CDG Ground/scenery (layer 168)
  using Aerosoft/Mega Airport Paris CDG SC/scenery (layer 169)
  using aerosoft/FSDG - Sharm El Sheik 2012/scenery (layer 170)
  using Aerosoft/Santorini X/scenery (layer 171)
  using Aerosoft/Arlanda X/scenery (layer 172)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Vaernes X/VaernesX_D/scenery (layer 173)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Vaernes X/VaernesX_C/scenery (layer 174)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Vaernes X/VaernesX_B/scenery (layer 175)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Vaernes X/VaernesX_A/scenery (layer 176)
  using aerosoft/Mega Airport Zurich 2012/scenery (layer 177)
  using Aerosoft/Mega Airport Brussels X/scenery (layer 178)
  using F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/aerosoft/Afd/scenery (layer 184)
  using Aerosoft/AES/scenery (layer 185)
  using ORBX/FTX_AU/FTXAA_ORBXLIBS/scenery (layer 133)
  using ORBX/FTX_OLC/OLC_AA/scenery (layer 134)
  using ORBX/FTX_OLC/OLC_NA1/scenery (layer 135)
  using ORBX/FTX_OLC/OLC_EU1/scenery (layer 136)
  using aerosoft/Stavanger X/scenery (layer 179)
  using aerosoft/Mega Airport Oslo 2.0/scenery (layer 180)
  using aerosoft/Thessaloniki X/Thessaloniki X_3_LC/scenery (layer 181)
  using aerosoft/Thessaloniki X/Thessaloniki X_2_Scenery/scenery (layer 182)
  using aerosoft/Thessaloniki X/Thessaloniki X_1/scenery (layer 183)
Airport cache loaded
Addon GSX loaded
Loading addon HAWAII1
Addon HAWAII1 not installed or missing one or more files, skipping
Loading addon HAWAII2
Addon HAWAII2 not installed or missing one or more files, skipping
Loading addon PHNL
Addon PHNL not installed or missing one or more files, skipping
Loading addon JFK
Addon JFK not installed or missing one or more files, skipping
Loading addon JFK2
Addon JFK2 not installed or missing one or more files, skipping
Loading addon KFLL
Addon KFLL not installed or missing one or more files, skipping
Loading addon KLAS
Addon KLAS not installed or missing one or more files, skipping
Loading addon KLAX
Addon KLAX not installed or missing one or more files, skipping
Loading addon ParkMe
Addon ParkMe loaded
Loading addon CYVR
Addon CYVR not installed or missing one or more files, skipping
Loading addon XPOI
Addon XPOI not installed or missing one or more files, skipping
Loading addon ZurichX
Addon ZurichX not installed or missing one or more files, skipping
Loading addon ENBR
Addon ENBR not installed or missing one or more files, skipping
Loading addon KSFO
Addon KSFO not installed or missing one or more files, skipping
Loading addon KPHX
Addon KPHX not installed or missing one or more files, skipping
Loading addon KIAD
Addon KIAD not installed or missing one or more files, skipping
Starting system monitors
Current locale is Swedish_Sweden.1252
SharedMemInterface connected
Loading aircraft data from Airplanes\PMDG 737-800NGX WL
intelliscene.cfg provides aircraft data with priority 1
aircraftDb.py provides aircraft data with priority 2
Using aircraft data from aircraftDb.py
Found gsx.cfg file at C:\Users\Richard\AppData\Roaming\Virtuali\Airplanes\PMDG 737-800NGX WL\gsx.cfg
System error while accessing file F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Birmingham Xtreme/scenery/egbb_afx_UK2xTRM.BGL: CreateFile failed: The system cannot find the file specified (system:2)
System error while accessing file F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Birmingham Xtreme/scenery/egbb_afx_UK2xTRM.BGL: CreateFile failed: The system cannot find the file specified (system:2)
System error while accessing file F:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/UK2000 scenery/UK2000 Birmingham Xtreme/scenery/egbb_afx_UK2xTRM.BGL: CreateFile failed: The system cannot find the file specified (system:2)
Richard Åsberg

WebMaximus

  • Sr. Member
  • ****
  • Posts: 464
Re: GSX stopped automatically updating the airport scenery cache
« Reply #4 on: January 24, 2014, 04:37:59 pm »
Still no idea why this doesn't work anymore and why GSX doesn't "see" when the FSX scenery library is updated but for anyone else with the same problem I found an easy work-around.

I created a cmd file with this text

del C:\ProgramData\Virtuali\Couatl\. /Q

Then whenever I do an airport scenery update of some kind I simply double-click this cmd file forcing GSX to update it's airport scenery cache next time FSX/Coutl is started.
« Last Edit: January 24, 2014, 04:39:33 pm by WebMaximus »
Richard Åsberg