>>>>> "Hans" == Hans Fangohr <[EMAIL PROTECTED]> writes:
>>> Exception:
>>> C:\user\prabhu\MayaVi-1.5\Misc\LutHandler.py:242:SyntaxError:
>>> invalid syntax (Line 1) (in load config)
>> Sorry for not getting back to you earlier.
>>
>> I suspect that I created the mv file with an older version of
>> MayaVi so that you couldn't read it but didn't have time to
>> test this. (Or the mv file is just broken).
>>
>> In any case, once you have loaded the cantedvortex.vtk into
>> MayaVi (and you see nothing, that is normal), try to click on
>> Modules->Velocity Vector. Do you see something now?
Hans> in reply to my own email, some more details:
Hans> I have now tested the file you mention
Hans>
(http://www.soton.ac.uk/~fangohr/software/ovf2vtk/example/cantedvortex.mv)
Hans> and it loads fine with MayaVi 1.5 (on Debian Linux,
Hans> stable=etch).
Hans> Prabhu, can this have somehing to do with the fact that Paul
Hans> runs this on Windows? It is probably not very important for
Hans> him (as Paul now knows how to create visualisations from the
Hans> vtk file directly), but it is still strange that this mv
Hans> file seems not to work on Windows but on Linux.
Ahh, thanks for asking. I've seen this error before. I think the
.mv2 file has line ending conversion problems! They should all be
with *nix style line endings (IIRC). Just try changing the line
endings of the .mv2 file using lfcr.py (or any other conversion tool)
and try again. It might work. Please let me know if that works.
cheers,
prabhu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users