[vtk-developers] Python Tk widgets broken!

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Mar 10 12:43:47 EST 2004


Hi,

I just updated my VTK CVS tree (after ages!), rebuilt and find that
the Python Tk widgets are broken, badly.  Here is what I get.

$ cd Wrapping/Python/vtk/tk
$ python vtkTkRenderWidget.py
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  57
  Current serial number in output stream:  60

$ python vtkTkRenderWindowInteractor.py
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  57
  Current serial number in output stream:  60

Which is pretty nasty.

I deleted Rendering/vtkTkWidgetsInit.o and libvtkRenderingPython*.so
and rebuilt and it still does not work.  From what I can tell from the
CVS logs these two are the only relevant entries for
Rendering/vtkTkWidgetsInit.cxx

----------------------------
revision 1.17
date: 2004/01/10 18:07:34;  author: barre;  state: Exp;  lines: +1 -1
try to fix warnings
----------------------------
revision 1.16
date: 2004/01/08 16:53:24;  author: hoffman;  state: Exp;  lines: +13 -11
BUG: make sure tk has been initialized before calling tk functions
----------------------------

I'm sorry I can't offer to fix the bug since I'm swamped with work
right now.  Could someone please take a look?

Thanks!
prabhu



More information about the vtk-developers mailing list