Lck File Problem

Description

The project is stored on Googledrive which is mapped to G: this is to allow me to access the project from one of several machines. Often, after updating the PCB I get the following warning

image

The file is present

image

At one point during the early releases of 8 or 9, similar problems occurred but were resolved.

It only occurs after the PCB editor has been opened and is not 100% reproducable. Deleteing the file will stop the error temporarily with no bad effects, but it looks like some kind of cleanup is failing.

Over the years, I have 2 occasions where KiCAD has problems with projects stored Google Drive. One was found and fixed the other went away, so no one checked for it. It would be useful to know if they have a common factor; is there some type of file IO that Google Drive does not like?

Steps to reproduce

  1. Open the project from G Drive.
  2. Change some details and then export to PCB
  3. The problem may or may not manifest itself.
  4. If the lock file is deleted the error message goes away.
  5. The problem seems most likely to occur the first time KICad is run on a newly booted windows machine. FlashCube.zip

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 10.0.0, release build

Libraries:
	wxWidgets 3.3.2 
	FreeType 2.13.3
	HarfBuzz 12.3.0
	FontConfig 2.17.1

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce GT 710/PCIe/SSE2, 4.6.0 NVIDIA 473.47

	wxWidgets: 3.3.2 (wchar_t,STL containers)
	Boost: 1.90.0
	OCC: 7.9.2
	Curl: 8.18.0
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)