Re: [Paraview] Utilisation of plugin ParaView in ParaViewWeb

2012-06-18 Thread Alex
Hi, thank you very much for your reply. I'm sorry to reply so late, I was in my Holiday last week. In deed, I use your advice and I succeeded in writing those .py file. However, there is a problem: My SimleImageThreshold.py from paraview.simple import * import os import threading def

Re: [Paraview] Utilisation of plugin ParaView in ParaViewWeb

2012-06-18 Thread Sebastien Jourdain
Hi Alex, First of all, you should be able to remove those lines, they are not needed in your case. import os import threading  LoadPlugin('.../vtkSimpleImageThreshold/bin/libSimpleImageThresholdSMPlugin.so',True) # server Then my question will be: Did you managed inside the Python shell of

[Paraview] Compile Error 3.14.1 with gcc 4.7.1

2012-06-18 Thread Andrew Parker
Hi, Using 4.7.1 I get the following compile error when compiling the 3.14.1 tag, it looks like the pointer type is unknown, possibly missing header? [ 21%] Building CXX object VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o

Re: [Paraview] Utilisation of plugin ParaView in ParaViewWeb

2012-06-18 Thread Alex
Thank you Seb, For your first question : Yes, I succeeded in using my SimpleImageThreshold in Python Shell. Here is my script in Python Shell: reader = OpenDataFile('/path/to/my/file.mhd'); GetDisplayProperties(); ColorAttributeType ='POINT_DATA';

Re: [Paraview] Utilisation of plugin ParaView in ParaViewWeb

2012-06-18 Thread Sebastien Jourdain
Hi Alex, sorry to say that but you did not properly read what I wrote... I've ask you if the following line worked in ParaView python: severmanager.ActiveConnection.Modules.filters.SimpleImageThreshold() Anyway, to solve the issue related to the number of arguments, you should be able to do

Re: [Paraview] Compile Error 3.14.1 with gcc 4.7.1

2012-06-18 Thread Andrew Parker
Found a fix, posting here for others: http://anonscm.debian.org/gitweb/?p=collab-maint/vtk.git;a=commitdiff;h=428e763c995bb303805e07da70c1a34fc103d208 Andy On 18 June 2012 15:00, Andrew Parker andy.john.par...@googlemail.comwrote: Hi, Using 4.7.1 I get the following compile error when

Re: [Paraview] Utilisation of plugin ParaView in ParaViewWeb

2012-06-18 Thread Alex
Seb,    I'm sorry, I don't really good in English so .    Well, about your question:  severmanager.ActiveConnection.Modules.filters.SimpleImageThreshold() is recognized in Python Shell.         So, what do we have to write in SimpleImageThreshod.py?    def SimpleImageThreshold(proxy)    

[Paraview] Paraview crash issues!

2012-06-18 Thread Imam, Senay T
Hi Paraview Developers, I am having issues accessing Paraview. Everytime I open it, it crash and posts the following message. I have also enclosed in txt format for your review. How should I fix the bug (the problem). Thanks, Senay The Error message is X Error: BadRequest (invalid request

Re: [Paraview] [EXTERNAL] Paraview crash issues!

2012-06-18 Thread Scott, W Alan
I bet you are running in an xterm after ssh'ing to another machine on Linux. Try the following: xclock. If it doesn't work, that is the problem. Solution? Try ssh -X into the second computer, then try xclock. alan -Original Message- From: paraview-boun...@paraview.org