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

Bug #1824633 reported by Simon Richter on 2019-04-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Low
Unassigned

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.

Simon Richter (sjr) wrote :
Nick Østergaard (nickoe) wrote :

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

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
Simon Richter (sjr) wrote :

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

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.

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments