Can't write buffer 'fp-info-cache' to disk

Bug #1824633 reported by Simon Richter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

I just tested pcbnew standalone on MSVC, and after closing, got an error dialog that it failed to write the fp-info-cache to disk.

I suspect that is because of the missing project context, so this might be doing something that appears to work on Linux, like write to the current directory, which on Windows happens to be the read-only application directory.

Tags: pcbnew
Revision history for this message
Simon Richter (sjr) wrote :
Revision history for this message
Nick Østergaard (nickoe) wrote :

Isn't this because it writes to a readonly location?

Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Is there anything to fix here? I only get that message when the project/PCB file is in a read only directory (e.g. demo projects) and therefore is desired behaviour.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Simon Richter (sjr) wrote :

I also get that when I start pcbnew directly, without opening a project.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Jeff, is there any downside other than loading speed in saving the fp-info-cache file to a temporary folder when the user doesn't have write privileges to the current folder? It would be a bit less intrusive than the error message.

Revision history for this message
Jeff Young (jeyjey) wrote :

@Wayne, I think that would be fine. It wouldn't travel with the project if you moved it, but that's no big deal as it will just get auto-regenerated.

Changed in kicad:
status: Incomplete → Triaged
importance: Undecided → Low
milestone: none → 6.0.0-rc1
Revision history for this message
Phillip Graham (ptransubuntu) wrote :

Minor point related to this. On windows 8 and 10 if you open pcbnew and then close it without creating a project, you get the footprint cache write error on close. This doesn't happen if you create a project in and save it in a (writeable) location.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1890

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Low → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.