Author Topic: P3dV5 EGLL: "System error while accessing file"  (Read 1491 times)

bwbriscoe

  • Jr. Member
  • **
  • Posts: 55
P3dV5 EGLL: "System error while accessing file"
« on: May 26, 2021, 07:48:23 pm »
Hi all,

At SimWings EGLL, I'm regularly getting this error message when I try and access the GSX menu:
"[GSX] System error while accessing file C:\P3D Addons\Sim-wings London Heathrow Professional V5\scenery\EGLL_ADEV5-OP01S.bgl: CreateFile failed: The system cannot find the file specified "C:\P3D Addons\Sim-wings London Heathrow Professional V5\scenery\EGLL_ADEV5-OP01S.bgl" (system:2)"
Link to screenshot https://imgur.com/ZRDAb4O

If I run the FSDT updater it clears up the problem only for a few days later to happen again.

It's very frustrating to land at EGLL and find GSX isn't working or if you've finished pre-flight setup and access GSX for pushback and it fails. Any ideas?

Thanks,

Ben

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51400
    • VIRTUALI Sagl
Re: P3dV5 EGLL: "System error while accessing file"
« Reply #1 on: May 27, 2021, 09:51:57 am »
This has been explained several times on the forum, for example here:

http://www.fsdreamteam.com/forum/index.php/topic,24116.msg160283.html#msg160283

or here:

http://www.fsdreamteam.com/forum/index.php/topic,18180.0.html

Due to the way GSX detects scenery changes, it cannot detect a file rename or removal, otherwise it would have to scan each and every file at each start, making it very slow but, instead, it only checks the folder last modification date, and this doesn't change after a rename/removed from a folder, which means, if a scenery file has been renamed/removed, you MUST select the "Restart and rebuild the airport cache" option from the Couatl menu after the renaming took place.

If that scenery comes with a configuration utility that lets you switch between different AFCAD configurations, depending how that utility works ( renaming or deleting/copying are not the same ) and if the process used by that utility affects the scenery *folder* last modification date or not, GSX might not be able to detect the change automatically, so you must force a cache rebuild each time you change the scenery config.