[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem gnetlist problem



Girvin R. Herr wrote:

> I keep getting the following:
> 
>     536:$gnetlist -g bom xx.sch
>     Loading schematic
>     [/home/gherr/projects/vds160/original/hardware/dac/docs/xx.sch]
>     Backtrace:
>     In current input:
>         1: 0* [bom "output.net"]
>     In /usr/local/share/gEDA/scheme/gnet-bom.scm:
>        37: 1  (let ((port #) (attriblist #)) (bom:printlist (cons #
>     attriblist) port) ...)
>        40: 2* [bom:parseconfig ...
>        40: 3*  [open-input-file "attribs"]
>     In unknown file:
>         ?: 4   [open-file "attribs" "r"]
> 
> 
>     <unnamed port>: In procedure open-file in expression (open-file str
>     OPEN_READ):
>     <unnamed port>: No such file or directory: "attribs"

I remember to have been scratching my head on this, when I did my first 
BOMs. My students tend to fall into this trap, too -- Even when they were 
told they'd need an attrib file. The keyword "backtrace" suggests a severe
crash had happened. I guess, it is a scheme one-liner to text for existance
of the file and issue a newbie friendly message.
Or even better, produce a sensible default file on the fly.
 Peter B? John D.? Can you whip up such a line?

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: kmk@xxxxxxxxxxxxxxx
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53
not happy with moderation of geda-user



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user