Skip to content

altium2kicad creates invalid .kicad_pcb file #127

@BreakingSiam

Description

@BreakingSiam

After running altium2kicad on a large Altium project, it creates a .kicad_pcb file which Kicad version "6.0.4-6f826c9f35116ubuntu18.04.1, release build" reports "does not appear to be a valid KiCad project file".

The generated .kicad_pcb file is 13891785 bytes long, and on visual inspection of the beginning of the file appears to be a valid KiCad project file.

During conversion of the altium project, after displaying writing to "Regions6/Data.dat.txt", altium2kicad reported:

Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Overflow!
Error: substring out of range: length:509 pos:18799 wantedsize:2 field:len[2] (main,../convertpcb.pl:2901 - main::msubstr)
Use of uninitialized value in unpack at ../convertpcb.pl line 2901.
...

The complete conversion output is attached.

oo.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions