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

gEDA-bug: [Bug 806686] Re: misleading error message by gsch2pcb



A commit was made which affects this bug
git master commit 987021bbb5f65ce3d28bc05f1c715b49a8a8e015
http://git.gpleda.org/?p=gaf.git;a=commit;h=987021bbb5f65ce3d28bc05f1c715b49a8a8e015

commit 987021bbb5f65ce3d28bc05f1c715b49a8a8e015
Author: Eivind Kvedalen <eivind@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Improved error handling in gsch2pcb.
    
    gsch2pcb: The return code from g_spawn_sync is checked when executing gnetlist.
    If g_spawn_sync is successful, the exit code from gnetlist is checked, and
    anything but a non-zero exit will be flagged as an error, and standard error
    from gnetlist will be forwarded to the terminal. Notice that gnetlist may have
    a successful exit code, even when errors are encountered, see bug lp-700448.
    
    Affects-bug: lp-806686

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

Title:
  misleading error message by gsch2pcb

Status in GPL Electronic Design Automation tools:
  Confirmed

Bug description:
   gsch2pcb will report an error related to M4 options if gnetlist
  cannot find libgeda. This is of course not very helpful.

  To reproduce:

  1) make sure, libgeda is not found. E.g. move the link libgeda.so.40
  out of the way.

  2) call gsch2pcb with some project file
  The script dies with this error message:
  /--------------------
  gsch2pcb: gnetlist command failed, `stromverteiler.new.pcb' not updated
      At least gnetlist 20030901 is required for m4-xxx options.
  \--------------------

  gnetlist alone produces a more useful message:
  /--------------------
  gnetlist: error while loading shared libraries: libgeda.so.40: cannot open shared object file: No such file or directory
  \--------------------

  Suggestion: Forward any gnetlist errors to the user.
  Do not report m4 when just guessing from circumstances.

  ---<)kaimartin(>---

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


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