I’m trying to open an old design with an up to date KiCAD 8.0. In this design, I have put hierarchical sheets in several project subdirectories. Main sheeet ca nbe opened by eeschema, but it prints error:
“unable to open (subsheet name) for reading”. And of course, only main sheet is readable.
When I go into these subdirectories, I have a lot .sch and .kicad_sch. I suppose all data are present. But how can I open this old design ?
Normally both the root sheet and all the sub sheets are in the same directory, but sheets can also be in another directory, but KiCad does not search or guess for filenames, and you have to add the correct path name to your sub sheets.
the *.sch files are from an old KiCad version (probably V5 or older). KiCad does not delete these files after they have been saved in the newer *.kicad_sch format. I recommend you make a backup of the whole project, inclusive these old files, and then delete the old schematic files.
I’ve never got into this situation, but can you still see the subsheet boxes on the main sheet? If so, highlight the box by clicking on the border, and select properties, then edit the file path. Fingers crossed for you.
If you get really desperate you could edit the .kicad_pcb file, looking for occurences of the sheetfile property. Make a backup first, of course.
Why do you want to keep that directory structure? It’s not like there are a gazillion files in a KiCad project that need further division into sub directories, and it makes organizing them harder as you have noticed. If you want to put them into a sub directory, then you probably also want to use the ${KIPRJMOD} environment variable, to instruct KiCad to use a relative path starting from the project directory.
Interesting that the Hierarchical path field at the bottom suggests that it’s a display issue rather than a data issue. What exact version are you running? If an early 8.0.0 or something like that you should upgrade as bugs may have been fixed.
Nope. It’s really a data issue. I have to delete all broken sheet and I have to create again these sheets and to redo all connections. I don’t know how I will reassign label to synchronize PCB.