Troubleshooting corrupt kicad_pcb file

Greetings everyone, new user here!

Today I got an error message when opening the kicad_pcb file. It goes something along the lines of:

Expecting ‘(’ in [file path], line 858, offset 1.

I figured I might be able to salvage the file by editing or even deleting the faulty portion of the file, but if so, I’d need some guidance. The particular section referred to in the error message looks like this:

 (group "" (id ec8cb444-24ed-422a-8284-9dbe7f9fa843)
    (members
      79ad732c-c484-4f13-

I assumed this portion is faulty because of the unclosed braces, but removing this part didn’t solve the problem…

Could someone please guide me how to fix this? If i can restore the file it would save many hours of work. I’m running 6.0 on a windows 10 computer.

Thanks in advance

It’s pretty impossible to try to guess. You should attach the whole file.

In addition to posting the file; you gave no indication: Did you create that file on that same computer using that same version of KiCad? Or has there been some transfer between computers and/or KiCad versions?

Here is the file: Filebin | 84a2tb4ji6thorgy (I’m not allowed to upload files to the forum as a new user)

The project files are stored on a usb stick (perhaps this is the culprit). I work on two different computers, both are installed with KiCad 6.0, win 10.

Thanks in advance

the file seems truncated
here what I could recover:
Sequencer-c.kicad_pcb (63.9 KB)

I fixed it.

In case someone is wondering, the last portion of the file was missing, including the closing parenthesis for the header. I removed the faulty group section, and added the missing closing header parenthesis.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.