Hi,
I was recently working on KiCAD 6.0. rc1(I know this is not stable version)
While opening the PCB file i’m getting an error saying:
"
Please help.
Hi,
I was recently working on KiCAD 6.0. rc1(I know this is not stable version)
While opening the PCB file i’m getting an error saying:
"
Please help.
First, is there a reason why you use an unstable nightly build version but a very old one (more than one year!)? Can’t you update to the latest one?
Second, how was that file produced, with which version?
For the current project i’m using nightly build version,
I’ll be moving to stable version from next project.
KiCAD nightly It was all done I was about to save the Gerber all of sudden it closed itself and next time I’m trying to open it was giving the error.
I’d like to share you the files and would like you to try open once,
How may I share the files(mail ID or anything else?)
I’m sorry, but I’m not willing to give private help. I can look at confidential files if they potentially can help finding bugs, but if the KiCad version is so old, it wouldn’t be useful for the KiCad project.
Can’t you even try with the latest nightly build? At least that would be supported by the developers.
I tried to open in KiCAD 5.0.1 even there I’m getting the same error
That’s an old version, too. Why can’t you try with the latest nightly build from https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/nightly/ ?
If you have already edited the project with a post-5.1 nightly build it may be difficult to open it with 5.1 anyways, even if the project itself is OK, because there may have been file format changes after the latest stable release. Therefore I recommend trying with the latest nightly build.
If it still gives exactly the same error message I would like to see a change in KiCad so that it always gives a line number. If you would get the line number, you could at least copy the offending line (with some context) here and we might get forward.
At least it gives the line and column. Can you open the file with a text editor and copy that line, along with some lines before and after that, and paste it here?
Hey sorry,
I didn’t understand, Could you please elaborate?
I could see one file with a name extension- " .kicad_pcb-bak.(which i can see only for this PCB file)
Any ways to restore?KiCAD.txt (1.8 MB)
In the error message you can see the file name which KiCad tries to open.
Open that file with a text editor (like Notepad but hopefully something better, for example notepad++ or other programmer’s editor, but any editor which shows you the line number of the cursor is enough).
Go to the line which the error message tells is problematic, line 788 in the .kicad_pcb file. Copy that line and some extra lines - say 5 - before and after that.
Paste them here (and use the “preformatted text” tool in this forum’s message box).
Needless to say, you should handle the copy of the original project.
If the file is OK Kicad should be able to use it when you rename it so that you just remove -bak from the file name extension. You have to rename the actual .kicad_pcb file first so that the names won’t clash.
Hi,
I changes kicad_pcb-bak to Kicad_pcb it worked thank you.
About the lines you’re asking I’ve attached in my last post as txt file Is that enough?
I don’t understand what that file is, it’s just full of error messages. It’s not a .kicad_pcb file.
I tried to open in notepad, I don’t see any text line and that offset.
I installed 5.1.5, None of the PCB is opening(Same error), I’m only able to schematic
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.