Pcbnew can't open P-CAD ASCII files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Dick Hollenbeck |
Bug Description
Application: pcbnew
Version: (2016-02-14 BZR 6556, Git aa6beaa)-product release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0
The latest nightly build (as above) generates an error message when opening even a simple P-CAD ASCII file. So does version 4.0.1 stable. However, version 2013-07-07 works fine.
I discovered this with complex real design files, each of which were exported from the 30 day trial version of Altium 16.0.6 (build 282) after importing a Protel 99 SE file. The first attachment below is a file made in Altium - with just a single DIP 16 footprint and no tracks. I exported this as "P-CAD ASCII". Then I attempted to open this with Pcbnew, using File > Open and selecting in the bottom right box: "P-CAD 200x ASCII PCB files (*.pcb)". The error message from the nightly is:
- - -
Error loading board.
PARSE_ERROR: Expecting "(" in input/source
'C:\PCB\
line 1 offset 1
from dsnlexer.cpp Expecting() : line 361
- - -
The message from 4.0.1 is similar. With Kicad 2013-07-07 there is no error and the design is read in without any problems. A small PCB file with multiple footprints and tracks on both sides, though it has no legends, is:
Related branches
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Hi Robin,
Could you try removing the first line:
ACCEL_ASCII "D:\PCB\ non-Kicad\ Autotrax- to-Kicad\ 3-Autotrax- PCBs-PCAD- ASCII-and- Eagle-format\ TX16W-G. PCB"
from the PCAD file and try importing it again?
Tom