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

Re: gEDA-user: xgsch2pcb and gschem



> On Mon, 2008-02-18 at 13:45 +0100, joel silvestre wrote:
> Hello,
> 
> I have a little problem with Xgsch2pcb. When launched from xgsch2pcb
> Gschem dies. Gattrib and Pcb works nice.
> 
> gschem is version 1.4.0.20080127
> xgsch2pcb is 0.1.2

How did you install the various tools, and where did you launch them
from? A menu, or the commandline?

Does gschem work OK when launched from the command-line?

I am wondering if xgsch2pcb is finding a different version of gschem
then if you start gschem from the command-line.

could you post the output of

"which gschem"
and
"which xgsch2pcb"

run from a terminal.

Also:

ls /usr/local/bin/gschem
ls /usr/bin/gschem

(Do they exist?)


Looking at the backtrace (for developers here), it looks like the last
point inside gschem was:

> #9  0x08087617 in get_main_menu (menubar=0xbfd4a048) at x_menus.c:149
> #10 0x0808b9b2 in x_window_create_main (w_current=0x80cab08) at
> x_window.c:371
> #11 0x0808ca09 in x_window_setup (w_current=0x80cab08) at x_window.c:69
> #12 0x0805c2d2 in main_prog (closure=0x0, argc=2, argv=0xbfd4a3a4)
>     at gschem.c:268


   scm_item = scm_list_ref (scm_items, scm_index);
      scm_item_name = SCM_CAR (scm_item);
      scm_item_func = SCM_CADR (scm_item);
      scm_item_hotkey_func = SCM_CADDR (scm_item);
      ^____ THIS IS LINE 149 x_menus.c of GIT HEAD.
      SCM_ASSERT(scm_is_string(scm_item_name), scm_item_name, SCM_ARGn, "get_main_menu item_name");
      SCM_ASSERT(SCM_SYMBOLP(scm_item_func), scm_item_func, SCM_ARGn, "get_main_menu item_func");
      SCM_ASSERT(SCM_SYMBOLP(scm_item_hotkey_func), scm_item_hotkey_func, SCM_ARGn, "get_main_menu hotkey_func");


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



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