SYN/ACK I've installed pyrobot on Ubuntu Hardy (8.04), I've overpassed the "echo -e" issue ;)
The Tk GUI is running but when I try to load a Server or Robot. I got the fallowing message :failed! Ok, nice give me more :) The "failed!" message is in the gui/TK.py file on line 921 : except: print "failed!" It's an Tcl/Tk exception : except Tkinter.TclError, msg: print "failed: %s" % msg You will get the fallowing error message from TK : grab failed: window not viewable I've found the error, in the gui/widgets/TKwidgets/__init__.py file on line 92: self.CenterDialog() self.top.grab_set() self.top.focus() The grab_set function raise an exception because the window is not viewable. I've fixed that issue with this patch : CenterDialog() if self.top.winfo_viewable() : self.top.grab_set() self.top.focus() It's working for me. I've "googled" awhile in order to understand the issue. I've checked the Tk source code, and found in the Tk source code that X11's XGrabPointer return failed when the window manager hasn't released its grab quickly enough. (check the generic/tkGrab.c fie in Tk source code on line 472). So, I think that this issue can be related to : * my version of tk : 8.4.16-2ubuntu1 * or my windows manager : kwin used with kde ; * or my X11 setup : nvidia dual screen with xinerama . I don't know the source of the issue, but it will be cool to apply my tiny patch ;0) RST -- Nowicki Christophe http://csquad.org
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Pyro-users mailing list Pyro-users@pyrorobotics.org http://emergent.brynmawr.edu/mailman/listinfo/pyro-users