thesourcerer8 / altium2kicad

Altium to KiCad converter for PCB and schematics
https://www2.futureware.at/KiCad/
GNU General Public License v2.0
837 stars 153 forks source link

Conversion throws errors and resulting .kicad_pcb file fails to open #93

Open eflukx opened 3 years ago

eflukx commented 3 years ago

I'm trying to convert a design for a nRF52840 dongle. Unpack goes allright, but convertpcb.pl throws a lot of errors (snippet below). It does however generate a KiCad PCB file. Opening the .kicad_pcb file, results in an error. Tried both the online version and a local version (latest pulled from git).

Added the source Altium files and the convestion log: Altium Designer files.zip altium2kicad-conversionlog.txt

Use of uninitialized value in unpack at ../../altium2kicad/convertpcb.pl line 2950.
Use of uninitialized value in division (/) at ../../altium2kicad/convertpcb.pl line 2950.
Error: substring out of range: length:3588 pos:7612 wantedsize:8 field:Y475 (main,../../altium2kicad/convertpcb.pl:2951 - main::msubstr)
Use of uninitialized value in unpack at ../../altium2kicad/convertpcb.pl line 2951.
Use of uninitialized value in division (/) at ../../altium2kicad/convertpcb.pl line 2951.
Error: substring out of range: length:3588 pos:7620 wantedsize:8 field:X476 (main,../../altium2kicad/convertpcb.pl:2950 - main::msubstr)
Use of uninitialized value in unpack at ../../altium2kicad/convertpcb.pl line 2950.
Use of uninitialized value in division (/) at ../../altium2kicad/convertpcb.pl line 2950.
Error: substring out of range: length:3588 pos:7628 wantedsize:8 field:Y476 (main,../../altium2kicad/convertpcb.pl:2951 - main::msubstr)
Use of uninitialized value in unpack at ../../altium2kicad/convertpcb.pl line 2951.
Use of uninitialized value in division (/) at ../../altium2kicad/convertpcb.pl line 2951.
Error: substring out of range: length:3588 pos:7636 wantedsize:8 field:X477 (main,../../altium2kicad/convertpcb.pl:2950 - main::msubstr)
Use of uninitialized value in unpack at ../../altium2kicad/convertpcb.pl line 2950.
Use of uninitialized value in division (/) at ../../altium2kicad/convertpcb.pl line 2950.
Error: substring out of range: length:3588 pos:7644 wantedsize:8 field:Y477 (main,../../altium2kicad/convertpcb.pl:2951 - main::msubstr)
Use of uninitialized value in unpack at ../../altium2kicad/convertpcb.pl line 2951.
Use of uninitialized value in division (/) at ../../altium2kicad/convertpcb.pl line 2951.
Error: substring out of range: length:3588 pos:7652 wantedsize:8 field:X478 (main,../../altium2kicad/convertpcb.pl:2950 - main::msubstr)

image

patryksi11 commented 3 years ago

Hello I'm having the same issue Any news?