Author Topic: Could not find valid AFCAD data  (Read 4029 times)

expect

  • Newbie
  • *
  • Posts: 3
Could not find valid AFCAD data
« on: June 21, 2017, 03:35:06 pm »
After hearing only good things about GSX I decided to download the trial before buying, However no matter the airport i am confronted with the could not find valid afcad data message even at the default EDDM. I have tried many solutions in other threads such as deleting and recreating the folder in program data etc and reinstalling with firewall and antivirus off. Below is the log file. Thanks

Python 2.7.13 Stackless 3.1b3 060516 (default, May 22 2017, 13:45:26) [MSC v.1900 32 bit (Intel)] wxPython 3.0.2.0
couatl v3.2 (build 3827)
log started on Wed Jun 21 14:33:06 2017

connecting to SimConnect...
connected to SimConnect
bglmanx non ready yet, waiting.
connected to bglmanx
Running in mode: FSX (bglmanx setting)
Loading addons
Loading addon common
Added Menu Item "Couatl settings" (id 67)
Addon common loaded
Loading addon LiveUpdate
Added Menu Item "Couatl Live Update" (id 69)
Added Menu SubItem "Disable" (parentId 69, id 70)
Addon LiveUpdate loaded
requesting AddOn list to bglmanx
Added Menu SubItem "Restart Couatl" (parentId 67, id 71)
Added Menu SubItem "Restart Couatl and rebuild airport cache" (parentId 67, id 72)
Added Menu SubItem "Key Mappings..." (parentId 67, id 73)
Added Menu SubItem "Show YouControl™ Menu        Ctrl+F12" (parentId 67, id 77)
Current locale is English_United Kingdom.1252
Initializing audio...
Available devices:
  Generic Software on Speakers (VIA HD Audio) (47656e6572696320536f667477617265206f6e20537065616b657273202856494120484420417564696f29)
  Generic Software on Headphone (VIA HD Audio) (47656e6572696320536f667477617265206f6e204865616470686f6e65202856494120484420417564696f29)
  Generic Software on SPDIF Interface (TX1) (VIA HD Audio) (47656e6572696320536f667477617265206f6e20535044494620496e74657266616365202854583129202856494120484420417564696f29)
Created OpenAL device: Generic Software on Speakers (VIA HD 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
Slew mode False
bglmanx list contains 25 AddOn(s)
Loading addon KCLT
Addon KCLT not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KCLT
Loading addon OHareX
Addon OHareX not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named OHareX
Loading addon KDFW
Addon KDFW not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KDFW
Loading addon LSGG
Addon LSGG not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named LSGG
Loading addon f18ag
Addon f18ag not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named f18ag
Loading addon GSX
Current sim directory is C:/Program Files (x86)/Dovetail Games - Flight/Microsoft Flight Simulator X Steam Edition
Looking for scenery.cfg in "C:\ProgramData\Virtuali\Couatl\fsx\scenery.cfg"
airportCacheOptimizeSearch enabled, excluding files larger than 2000000 bytes
Airport cache not valid: got error CreateFileMapping failed because the file has size 0: The operation completed successfully: "C:\ProgramData\Virtuali/Couatl/fsx\files.bin" (system:0), accessing "C:\ProgramData\Virtuali/Couatl/fsx\files.bin"
Regenerating airport cache, looking for scenery files under "C:\Program Files (x86)\Dovetail Games - Flight\Microsoft Flight Simulator X Steam Edition"
Worker thread started
SharedMemInterface connected
Added Menu Item "GSX" (id 81)
Added Menu SubItem "Disable" (parentId 81, id 82)
Addon GSX loaded
Loading addon HAWAII1
Addon HAWAII1 not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named HAWAII1
Loading addon HAWAII2
Addon HAWAII2 not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named HAWAII2
Loading addon PHNL
Addon PHNL not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named PHNL
Loading addon JFK
Addon JFK not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named JFK
Loading addon JFK2
Addon JFK2 not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named JFK2
Loading addon KFLL
Addon KFLL not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KFLL
Loading addon KIAH
Addon KIAH not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KIAH
Loading addon KLAS
Addon KLAS not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KLAS
Loading addon KLAX
Addon KLAX not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KLAX
Loading addon KMEM
Addon KMEM not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KMEM
Loading addon CYVR
Addon CYVR not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named CYVR
Loading addon XPOI
Addon XPOI not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named XPOI
Loading addon ZurichX
Addon ZurichX not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named ZurichX
Loading addon KSFO
Addon KSFO not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KSFO
Loading addon KPHX
Addon KPHX not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KPHX
Loading addon KIAD
Addon KIAD not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KIAD
Loading addon KDEN
Addon KDEN not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KDEN
Loading addon KSFOHD
Addon KSFOHD not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named KSFOHD
Loading addon ENBR
Addon ENBR not installed or missing one or more files, skipping.
Traceback (most recent call last):
  File "<string>", line 79, in loadAddons
  File "<string>", line 37, in importAndCreateInstance
ImportError: No module named ENBR
Starting system monitors
Airport cache not valid: got error CreateFileMapping failed because the file has size 0: The operation completed successfully: "C:\ProgramData\Virtuali/Couatl/fsx\files.bin" (system:0), accessing "C:\ProgramData\Virtuali/Couatl/fsx\files.bin"
Airport cache regeneration completed with FAILURE in 1 seconds
Added Menu SubItem "Settings..." (parentId 81, id 90)
Added Menu SubItem "Customize aircraft..." (parentId 81, id 91)
Added Menu SubItem "Show GSX Menu by-passing YouControl™        Shift+Ctrl+F12" (parentId 81, id 93)
Loading aircraft data from C:\Program Files (x86)\Dovetail Games - Flight\Microsoft Flight Simulator X Steam Edition\simobjects\airplanes\Aircreation_582SL
GSX is in trial mode (state=0, activation=-1)
Using aircraft data from SimConnect
User collision geometries reloaded

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Could not find valid AFCAD data
« Reply #1 on: June 21, 2017, 05:03:11 pm »
Quote
Airport cache not valid: got error CreateFileMapping failed because the file has size 0: The operation completed successfully: "C:\ProgramData\Virtuali/Couatl/fsx\files.bin" (system:0), accessing "C:\ProgramData\Virtuali/Couatl/fsx\files.bin"

This error seems to indicate a problem caused by another software, most likely the antivirus, which must have blocked the access to a folder you should normally access to, since it was created by our installer for our own use, and it was explicitly given read/write permission to all users.

- Restart Windows

- REMOVE the C:\ProgramData\Virtuali\Couatl\fsx folder

- Download and reinstall with the antivirus disabled, and configure the both the whole Addon Manager folder and the C:\ProgramData\Virtuali\ from scanning before starting the sim.

expect

  • Newbie
  • *
  • Posts: 3
Re: Could not find valid AFCAD data
« Reply #2 on: June 21, 2017, 06:39:04 pm »
Still having no luck, here is exactly what i did,

1. Windows Restart

2. Deleted the C:\ProgramData\Virtuali\Couatl\fsx folder

3. Turned off:
    -Real time protection
    -Cloud Based protection
    -Windows Firewall

4. Downloaded the GSX installer

5. Ran the installer as admin

6. Setup exlcusions in windows defender for:
    -The whole FSX folder
    -Addon manager folder
    -The Virtuali folder in program data

7. Ran FSX, loaded default EDDM and attempted to open the GSX menu but was presented with Could not find afcad data message

Here is the log, Would really appreciate a solution.

Python 2.7.13 Stackless 3.1b3 060516 (default, May 22 2017, 13:45:26) [MSC v.1900 32 bit (Intel)] wxPython 3.0.2.0
couatl v3.2 (build 3829)
log started on Wed Jun 21 17:29:07 2017


Airport cache not valid: got error CreateFileMapping failed because the file has size 0: The operation completed successfully: "C:\ProgramData\Virtuali/Couatl/fsx\files.bin" (system:0), accessing "C:\ProgramData\Virtuali/Couatl/fsx\files.bin"
« Last Edit: June 22, 2017, 11:22:50 am by virtuali »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Could not find valid AFCAD data
« Reply #3 on: June 22, 2017, 11:27:32 am »
Airport cache not valid: got error CreateFileMapping failed because the file has size 0: The operation completed successfully: "C:\ProgramData\Virtuali/Couatl/fsx\files.bin" (system:0), accessing "C:\ProgramData\Virtuali/Couatl/fsx\files.bin"

I'm sorry but, since the error is exactly the same, there must still some external interference from another software, which is preventing access to that folder.

The only other case reported of the same error, here:

http://www.fsdreamteam.com/forum/index.php/topic,10791.msg83815.html#msg83815

According to the user, was fixed exactly as I've suggested: by removing the  C:\ProgramData\Virtuali\Couatl\fsx after a Windows restart.


expect

  • Newbie
  • *
  • Posts: 3
Re: Could not find valid AFCAD data
« Reply #4 on: June 22, 2017, 10:23:58 pm »
Airport cache not valid: got error CreateFileMapping failed because the file has size 0: The operation completed successfully: "C:\ProgramData\Virtuali/Couatl/fsx\files.bin" (system:0), accessing "C:\ProgramData\Virtuali/Couatl/fsx\files.bin"

I'm sorry but, since the error is exactly the same, there must still some external interference from another software, which is preventing access to that folder.

The only other case reported of the same error, here:

http://www.fsdreamteam.com/forum/index.php/topic,10791.msg83815.html#msg83815

According to the user, was fixed exactly as I've suggested: by removing the  C:\ProgramData\Virtuali\Couatl\fsx after a Windows restart.



Do you know if theres any way to find out which software is interfering

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Could not find valid AFCAD data
« Reply #5 on: June 23, 2017, 01:03:58 pm »
Do you know if theres any way to find out which software is interfering

Shut down as many resident programs as possible.