Hi Castelier,

I use Mayavi 1.5 daily on a fairly current gentoo installation.  I'm  
curious, what versions of everything (python, tcl/tk, tkinter,...) are  
installed with Mandriva?  It might make more sense to figure out what  
is causing the error from mayavi than to revert tkinter back to some  
deprecated feature set.
Do you know what line in Main is causing this?

Ross



Quoting Castelier E?tienne <[EMAIL PROTECTED]>:

> Hello,
>
> I am an old mayavi user : I used to use mayavi 1.5. But with the new
> linux distribution (Mandriva 2008 for me), it does not work any more. It
> crashes with the following message :
>
> TypeError: object of type '_tkinter.Tcl_Obj' has no len()
>
> I have found how to fix this bug. I have applied a trick found on this page
> http://www.python.org/doc/2.3/whatsnew/node18.html.
> In the file Main.py, after having imported Tkinter, I had the line
> Tkinter.wantobjects = 0
>
> Now it works fine. I would like that you could inform everybody wanting
> to use mayavi 1.5 of this trick.
>
> PS : I have joined the file Main.py, and the patch. To apply the patch :
>
> cd Mayavi-1.5
> bzcat tkinter.patch.bz2 |  patch -p1
>
> PS2 : I have made my own rpm for Mandriva. If you want it, I can send it.
>
> Etienne Castelier
> [EMAIL PROTECTED]
>
>




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to