www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/05/00:43:51

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 5 Sep 2015 06:46:12 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: geda-user AT delorie DOT com
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] fresh gschem fails to start - bugreport
In-Reply-To: <alpine.DEB.2.00.1509050522140.6924@igor2priv>
Message-ID: <alpine.DEB.2.00.1509050640140.6924@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1509050522140 DOT 6924 AT igor2priv>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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


On Sat, 5 Sep 2015, gedau AT igor2 DOT repo DOT hu wrote:

> Hi all,
>
> I am trying to run gschem from source using the shell wrapper generated by 
> autotools. I get the following error message:
>
> Backtrace:
> In ice-9/boot-9.scm:
> 157: 1 [catch #t #<catch-closure 8277be0> ...]
> In unknown file:
>   ?: 0 [apply-smob/1 #<catch-closure 8277be0>]
>
> ERROR: In procedure apply-smob/1:
> ERROR: In procedure scm_to_utf8_stringn: Wrong type argument in position 1 
> (expecting string): #f
>

After a gdb session, 22 frames deep, it turns out this is a way
of reporting "file not found". Call me old fashioned, but instead of a 
scheme backtrace pointing into 4300 lines long scheme boot 
code (without even telling its full path), I would find a "File not found: 
<full path to the file that is actually missing>" more useful.

The bug is easy to reproduce: take a clean system where gschem is not 
installed, compile everything but don't install, then cd gschem/src and 
run ./gschem (the shell wrapper).

Regards,

Igor2

- Raw text -


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