From cscm at csquad.org Tue Sep 9 09:51:56 2008 From: cscm at csquad.org (Christophe Nowicki) Date: Tue Sep 9 09:52:09 2008 Subject: [Pyro-users] Ubuntu Hardy Tk Grab Issue Message-ID: <200809091552.00617.cscm@csquad.org> 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20080909/c71a2071/attachment.bin From tferrari at elet.polimi.it Mon Sep 22 13:45:07 2008 From: tferrari at elet.polimi.it (Thomas) Date: Mon Sep 22 13:45:15 2008 Subject: [Pyro-users] Fwd: AIBO In-Reply-To: References: Message-ID: Hi, I'm new.. I'm using Pyro with AIBO, but it's very unstable while walking! The only safe walk is the duck one (I cannot remember the name, but all the rest it's working fine). So I have a doubt: on the website is said to download Tekkotsu version 2.4 (not 2.4.1?) "with your patches"... I would like to know where can I find these patches, if they exist. thanks Thomas