delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/01/27/11:39:16

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=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1422376681; bh=yU0wuVVg1UEzAtkpFesgTc4WL/1wVGkfJm2iIY4yB+o=; h=Subject:From:In-Reply-To:Date:References:To:From:Subject; b=H1aAVsrzainMiCVJW5fWmpgMe0KgkOe86C6AQI8iJSoEFIBhskMYr+PH4+hiLL9a/RWO4aJ7VvHBMbFk+efWVYzbz2OBlYHQHbDDZFTJW4IgDrqTelgnVa0OqMM4RW6dvDmbG1dp6DeWr0vBz+Ccm53HzUhGrThU3v5MQg0G2MZtnvYoWEEgtKClGhj1r+BjhyyCwSoEfNUr0R1MZ4ZR+plG4lYXuP7Ya3aKppLPHgF+w4JmYBgsfugJMsaO2AWMfaXUmvJvIvzkpF9lO1GWo6IYmOUuCIerIefWSGkpNDO/tqtEvLqwxo4SjWPaE2GX9ShKRRuXjLCBJyrVqOuZ8g==
X-Yahoo-Newman-Id: 466062 DOT 21725 DOT bm AT smtp203 DOT mail DOT gq1 DOT yahoo DOT com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: cCmeu2AVM1ld.CrfcKRDa.O3eBJMfxNDmtBXkS1bvdzzJks
beqo7RBET8sREtEBRsw7Fi.zWB1K73sl.QEuMrkxsHclFP8x8qZLsBgZSJGC
xIuSWoYOsgy5nP4VE60miFApDNJbuNJUZL9CuiEWHY8fxM7EXN4K8lkfeRMR
I7v8reAJIl4vvlVvgcoCgjvw9mPUo6Shh8evezgKQjZu9SqojL0U388vUtfc
EuBtGgb8jD.hoeo.E9zE7u5amR.2a2DUvTaVmBBJGAMYo2U41y43oJtZBQru
VLVPV5TRKqU_AwwJBldP8vF8zlDC9s3g7G5eAy4CUrocuzc_nGnUY9nEdN3S
WXqI5RIb2ay5HfHfX8kjIa9yh2_yQSNvfo8eOsl4_so7.vmQSid6lRWYld_Q
0zfLvg8U8NwLSW_AiWxKgVxXExDUtKVt84rgU3Hywlcq3e0MoHGY5cmR0u8s
CIrDtfv7S.o5uPX8d17M2QgoYZ.zLeG2fgQNddW9yrmtCYbyclc3bnVaQjaY
9RFLKzGIkPgNs_uibw8ggY3WZx4mCUrLT_.BZzWi.ltMp109Bs9Y-
X-Yahoo-SMTP: b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA--
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Subject: Re: [geda-user] Footprint Generator
From: Edward Hennessy <ehennes AT sbcglobal DOT net>
In-Reply-To: <DC47E6DE-E9E9-4E01-BF68-E472F6B3458A@sbcglobal.net>
Date: Tue, 27 Jan 2015 08:37:59 -0800
Message-Id: <A9980F0D-8B48-4BBD-AB4D-783112FBBCB8@sbcglobal.net>
References: <C00DE067-87C2-4F44-B225-2EF53B4C22D9 AT sbcglobal DOT net> <ma3a4i$r0t$1 AT ger DOT gmane DOT org> <77F8B90A-C943-46E3-AC87-709FB59B0681 AT sbcglobal DOT net> <ma76g8$75s$1 AT ger DOT gmane DOT org> <DC47E6DE-E9E9-4E01-BF68-E472F6B3458A AT sbcglobal DOT net>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1993)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t0RGc7FL020303
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Kai-Martin,

Please disregard running the tests. Your system is likely a more recent version than mine.

I've checked a potential fix into the repository. The fix uses Ruby core File instead of Gio2. I believe the core API will be more stable across versions.

Thank you for your help with this issue. Please let me know if this fix works for you or more problems are encountered.

Cheers,
Ed


> On Jan 27, 2015, at 5:06 AM, Edward Hennessy <ehennes AT sbcglobal DOT net> wrote:
> 
> Kai-Martin,
> 
> Which version of ruby-gio2 is installed? My configuration works with ruby-gio2 version 2.1.0-1.
> 
> When I switch the identifiers:
> 
> 	Gio::File.new_for_uri => GLib::File.new_for_uri
> 	Gio::IO::Error => GLib::IO::Error
> 
> I get the following warnings:
> 
> /home/ehennes/Projects/gfootgen/lib/gfootgen/gui.rb:419:in `on_export_footprint': 'GLib::IO' has been deprecated. Use 'Gio::IO'.
> /home/ehennes/Projects/gfootgen/lib/gfootgen/gui.rb:423:in `on_export_footprint': 'GLib::File' has been deprecated. Use 'Gio::File'.
> 
> But, the application still works.
> 
> Can you try making the substitutions in lib/gfootgen/gui.rb on lines 421 and 428 and see if the changes fix it?
> 
> To avoid reinstalling the gem, the following command line can be used from the project root directory:
> 
> 	ruby lib/gfootgen.rb
> 
> Cheers,
> Ed
> 
>> On Jan 26, 2015, at 9:08 PM, Kai-Martin Knaak <kmk AT familieknaak DOT de> wrote:
>> 
>> So I tried the footgen on the trimble copernicus. Everything went
>> smooth until the export. When I pressed the export button the
>> application died with these messages on the command line:
>> 
>> /------------------------------------
>> $ gfootgen 
>> /var/lib/gems/2.1.0/gems/gfootgen-0.0.1/lib/gfootgen/gui.rb:428:in `rescue in on_export_footprint': uninitialized constant Gio::IO
>> 	 from /var/lib/gems/2.1.0/gems/gfootgen-0.0.1/lib/gfootgen/gui.rb:433:in `on_export_footprint'
>> 	 from /var/lib/gems/2.1.0/gems/gfootgen-0.0.1/lib/gfootgen/gui.rb:306:in `block in create_export_button'
>> 	 from /var/lib/gems/2.1.0/gems/gfootgen-0.0.1/bin/gfootgen:24:in `call'
>> 	 from /var/lib/gems/2.1.0/gems/gfootgen-0.0.1/bin/gfootgen:24:in `main'
>> 	 from /var/lib/gems/2.1.0/gems/gfootgen-0.0.1/bin/gfootgen:24:in `<top (required)>'
>> 	 from /usr/local/bin/gfootgen:23:in `load'
>> 	 from /usr/local/bin/gfootgen:23:in `<main>'
>> \-------------------------------------
>> 
>> I get the same result if I don't enter anything and just try to 
>> export with the preloaded values.
>> 
>> Any advice?
>> 
>> ---<)kaimartin(>--- 
>> 
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019