I recently upgraded to 8.0.2 and had files from version 7.0 that have angled silkscreen ( I am making some custom flex cables)
When I try to open the .PCB files in 8.0.2 I get an error message that it’s expecting a ‘)’ in the PCB file on a specific line and it will not open the file. I did not have this with previous 7.0 versions.
This issue seems to be related to making the text box angled as horizontal boxes do not present this problem.
I can ‘fix’ the problem by editing the PCB file and adding the ‘)’ prior to the ‘(angle xxx)’ entry’s in the PCB file as follows:
)(angle 225)
I have also found this to be true if I start a blank project and put a rotated text box on the PCB file, save the file, and then try to re-open - I will get a similar error.
Not sure if anyone else has seen this as an issue or if I’m just doing something wrong with text boxes…
It’s not you do anything wrong with the textbox. Even the most “stupid” actions using the UI should not cause the output file to get corrupted.
Can you provide step by step instructions how do you get corrupt file from a blank project? So we could attempt to reproduce the issue.
Does not fail for me.
Can you try to open my file to see if it raises an error on your machine?
Or maybe you could upload your example file (best it would be this minimum test scenario).
Ok, I think I see what is going on. I was able to open your file just fine and you had used the Add Text command. My issue is when I use the Add TextBox command. I did that with your file and it fails. Unfortunately, I cannot upload files as this is my first post.
OK, can you check again?
I’ve added the text Box now. My fault I’ve tried with Text before, but still I can open it without issues.
Probably you could try to upload your file now, since we chat a bit now.
Hmmm… I still get the error when I try to open the file here… I looked at the pcb file with a txt editor and it looks just like what I have generated here for rotated txt boxes. Not sure what is going on.
I can use regular text for now till we figure out what is going on… Seems this is something on my side…
If my file opens OK, but yours still crashes, maybe you can copy+paste the contents of your offending kicad_pcb file (as it’s plain text, it should go through).