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

gEDA-bug: [Bug 700448] Re: Poor reporting of schematic load errors



One of the problems we have is that attempting to load a schematic
causes a whole load of other files and directories to be accessed, and
if any one of those accesses fails for any reason or if there are any
syntax errors in any of the files involved,  the whole thing blows up.

I wonder if there is any way we could modify the loader so that library
users get two levels of API -- a basic level which just loads the
schematic and all the dependent files, and emits an error if any
problems occur, and a lower level where a schematic can be loaded
*without* other resources in a first pass, and then additional resources
can be loaded individually in a second pass... that way e.g. gschem
could provide much more fine-grained feedback to the user when things go
wrong.

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/700448

Title:
  Poor reporting of schematic load errors

Status in GPL Electronic Design Automation tools:
  In Progress

Bug description:
  libgeda doesn't signal an error when a schematic or symbol file
  contains invalid syntax, or when any other load error is encountered.

  For example, gnetlist succeeds even when the input schematics
  specified contain unusable garbage.

  Steps to reproduce:

  ÂÂecho GARBAGE > test.sch;
  ÂÂif gnetlist -ggeda test.sch > /dev/null 2>/dev/null
  ÂÂthen
  ÂÂÂÂecho Succeeded
  ÂÂelse
  ÂÂÂÂecho Failed
  ÂÂfi

  Expected output:

  ÂÂFailed

  Actual output:

  ÂÂSucceeded

  Thanks to Peter Clifton for pointing out this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/700448/+subscriptions


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