On Sun, 2008-04-20 at 03:24 +0000, Kai-Martin Knaak wrote: > On Sat, 19 Apr 2008 22:22:48 +0000, Kai-Martin Knaak wrote: > > > For more comments, I'll have to do some real work with xgsch2pcb... > > Update: > If I start pcb from within xgschem2pcb the GUI of xgschem2pcb gets > totally unresponsive. It doesn't revitalize when pcb is stopped. The > applicvation has to be killed by force. Any hints what causes this show- > stopper?
I'd like to get to the bottom of those crashes. The underlying cause, is that I didn't use Asynchronous IPC calls with DBus, and xgsch2pcb blocks for a response its not going to get from PCB. >From a terminal window, run "dbus-monitor" Then start PCB, do you get output like this: method call sender=:1.30 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string "org.seul.geda.pcb" string "" string ":1.30" method call sender=:1.30 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName string "org.seul.geda.pcb" uint32 2 (:.... numbers will be different). If this works, what do you get when using xgsch2pcb to open a layout? (There may also be some spew when the open dialog is used (Gnome / Gnome VFS I think). If you're not on a distro which starts a dbus session bus for you at login, try this: dbus-launch /path/to/xgsch2pcb Thanks for your patience in helping debug this. Best wishes, -- 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-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
