delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/01/27/08:08:29

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=1422364011; bh=KiUT38EGg4nTPqYst2+x4IUmlwGVnhCiGYHOs/LZ1ww=; h=Subject:From:In-Reply-To:Date:References:To:From:Subject; b=bftbIdkQb/lQ+nbhExPBwO4dmDN+NVcEcLEqSEgZwtanPXgA4Y/k/m7+PnMQY7LQb2Hk/bbwn+twTZgMOgBzzG8xbFl/emfMtoy2L2yX8rw54BwEZw/08bnUJ3IzYMlYKSe8apNR+U9GmOkfezk/kI43OVdnkENd+mlFXPSU0JqBLg14KCvby5TRhEdn60sN7hNXwXwJCVtudYelrQslFasoSYMi7zZjKdQDUBROv81iFTECLEPpYAixLhww5FB+Wjv+jmyE2fXMFiKm8zxhGChPuOalmaryl33AavXW1WI+8ZtbRuANVsAraW6DX7lVr3MD06yiaA0hxmbuF4t0CQ==
X-Yahoo-Newman-Id: 826648 DOT 8557 DOT bm AT smtp231 DOT mail DOT gq1 DOT yahoo DOT com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: _xyafEIVM1lHRNKrtm3.Np46aKKyGfxmHeEeJRvLLd72FAr
Rrbl2MMCe2.kOE0u919I6budm8AaZWEGMTJu5pGqsSo6zLgJ9ekr5g9.ZSmn
nPEH6RzNN_oo1JjBdYN3jl2Ndn7PNlgBIqEUoFh3IrvgiKxIO5WLjRPTKIrX
nmWQhrPl.XDP3qRgpSPxPuNwLEBVWDPt8GDmjueiF2Jkg1RoMw8sgPMMEWpa
z8I3.sfaTxjbkUOyI_cqSwNRsMQ_LxGZcBiuLA3RWeP0WlgWckOkfxgrv0jy
.7GCLSBeKmCOUntGaUkf_RsjE978K4.393k2_5dIAbBcV3.OJYGa3NfjFMAM
8zZndRS0WxqtwZbc_NL_T9vmV4xoYMtKENSfW0zBgp2CbXutSh_8n0IOYQFA
mi7jEbZEJ3O0l3dw607fRTBQZVRC31dNwmpl9R8lq7LseU_4EtittzZCcNiF
7A4g036xSWK_F3bdNgURCHgPjJO.XGj5xDm2IliM7QDg7t9XbpjaQ1IGM030
VSuhIueipQ7jShwT8bt01w6Ze0uh7eZWV41Fb2PgQLleoTgv2n.E-
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: <ma76g8$75s$1@ger.gmane.org>
Date: Tue, 27 Jan 2015 05:06:49 -0800
Message-Id: <DC47E6DE-E9E9-4E01-BF68-E472F6B3458A@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>
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 t0RD71Eo019027
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,

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