pcbplotparams parser sensitive to formatting

Bug #1395594 reported by Richard Graham
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

How to reproduce:
 Take a kicad_pcb file, edit file changing

(pcbplotparams
   (layerselection 32768)
   ....

to

(pcbplotparams (layerselection 32768)
  ....

open with pcbnew to get:
  Error loading board. PARSE_ERROR: Expecting ''('' in input/source

alternatively at the end of the section, change

   (outputdirectory ""))
  )

to
      (outputdirectory "")))

gives:
  Error loading board. PARSE_ERROR: Unexpected 'net' in input/source

Expected result:
  Parser should work independent of exact new line or indentation formatting

Kicad version:
   (2013-may-18)-stable

Revision history for this message
Nick Østergaard (nickoe) wrote :

I cannot reproduce with a recent version (5308). I did not have pcbplotparams, but I tried with the general section.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Richard Graham (rdg37) wrote :

Note: effect only with pcbplotparams parser, other sections work fine. This is with BZR 5259.

Revision history for this message
Nick Østergaard (nickoe) wrote :

Ok, I found the pcbplotparams section and I can confirm the behaivour you describe.

Changed in kicad:
status: Incomplete → Confirmed
Changed in kicad:
status: Confirmed → Fix Committed
Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.