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-- Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: [geda-user] Footprint Generator From: Edward Hennessy In-Reply-To: Date: Tue, 27 Jan 2015 08:37:59 -0800 Message-Id: References: <77F8B90A-C943-46E3-AC87-709FB59B0681 AT sbcglobal DOT net> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1993) Content-Transfer-Encoding: 8bit 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 Precedence: bulk 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 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 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 `' >> from /usr/local/bin/gfootgen:23:in `load' >> from /usr/local/bin/gfootgen:23:in `
' >> \------------------------------------- >> >> I get the same result if I don't enter anything and just try to >> export with the preloaded values. >> >> Any advice? >> >> ---<)kaimartin(>--- >> >