X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h=
	message-id:date:from:mime-version:to:subject:content-type
	:content-transfer-encoding; s=beta; bh=8gZ1FrWXELKnHNu8qP+C6IKUm
	04bc6yB1QhliwxZ3Io=; b=brwahK+yNbT+bAeYr5bSySD4UzUb5GZLAM/iwY5gO
	o69kG4ZawT7kRFJb1trrq9rCbdHq46utFmEmZVC2wOlsKg+WJpIDO56owTpHfHa2
	d6TUrFLIw9vUo2AyV0IrtoBafB0+LaH0/5Kf1nFirQlHzfZCyTzmonx1nVb6lxSJ
	fI=
Message-ID: <51F8E39A.2000705@jump-ing.de>
Date: Wed, 31 Jul 2013 12:14:50 +0200
From: Markus Hitter <mah AT jump-ing DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
MIME-Version: 1.0
To: gEDA User Mailing List <geda-user AT delorie DOT com>
Subject: [geda-user] Core dump when loading vendor resoure by actions.
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Reply-To: geda-user AT delorie DOT com

Hello all,

for automatic G-code preparation I'd like to apply a vendor resource 
file by actions like this:

# Apply vendor drill mapping.
# See http://pcb.geda-project.org/pcb-cvs/pcb.html#Vendor-drill-mapping
echo "units = mm"            > vendor.res
echo "drillmap = {"         >> vendor.res
echo "  round = nearest"    >> vendor.res
echo "  0.75"               >> vendor.res
echo "  1.0"                >> vendor.res
echo "}"                    >> vendor.res

"${PCB}" --action-string "
   LoadFrom(Layout, input.pcb)
   LoadVendorFrom(vendor.res)
   #SaveTo(Layout)
   #Quit()
   "

However, when running this script, pcb core dumps. I can load the very 
same file from the menu just fine.

Anybody seen this problem?


Markus

-- 
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. (FH) Markus Hitter
http://www.jump-ing.de/