Hello Together, my report sends me this.
Can you help me to solve the problem?
The file was created in KiCad (version 20171130).
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\PCBbrd.py", line 70, in open
importBRD(filename, wersjaFormatu[0])
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\PCBbrd.py", line 230, in importBRD
plytkaPCB = mainPCB(wersjaFormatu, filename)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\PCBmainForms.py", line 94, in init
self.wersjaFormatu = KiCadv4_PCB(filename, self)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v4.py", line 101, in init
KiCadv3_PCB.init(self, filename, parent)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v3.py", line 95, in init
self.dialogMAIN = dialogMAIN(self.fileName)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v3.py", line 57, in init
self.layersNames = self.getLayersNames()
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v3.py", line 81, in getLayersNames
dane[106] = {"name": softLayers[self.databaseType][106]["name"], "color": softLayers[self.databaseType][106]["color"]}
<class 'keyerror'="">: ('name',)</class></module></string>
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Together, my report sends me this.
Can you help me to solve the problem?
The file was created in KiCad (version 20171130).
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\PCBbrd.py", line 70, in open
importBRD(filename, wersjaFormatu[0])
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\PCBbrd.py", line 230, in importBRD
plytkaPCB = mainPCB(wersjaFormatu, filename)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\PCBmainForms.py", line 94, in init
self.wersjaFormatu = KiCadv4_PCB(filename, self)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v4.py", line 101, in init
KiCadv3_PCB.init(self, filename, parent)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v3.py", line 95, in init
self.dialogMAIN = dialogMAIN(self.fileName)
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v3.py", line 57, in init
self.layersNames = self.getLayersNames()
File "C:\Users.....\AppData\Local\FreeCAD 0.18\Mod\PCB\formats\kicad_v3.py", line 81, in getLayersNames
dane[106] = {"name": softLayers[self.databaseType][106]["name"], "color": softLayers[self.databaseType][106]["color"]}
<class 'keyerror'="">: ('name',)</class></module></string>
thanks
Hi,
problem is solved.
Topic on github: https://github.com/marmni/FreeCAD-PCB/issues/22
Download version from github: https://github.com/marmni/FreeCAD-PCB