<div dir="ltr">Hi Luc,<div><br></div><div>if you want to have collaboration to work with a ParaViewWeb server as client, you will need to enable the processing of the remote/server message queue on the ParaView Web python part.</div>
<div><br></div><div>I've never tried your setup but I'll give a try to see if I can get that working.</div><div>But for sure you will need to setup an event loop to process server messages...</div><div>Like we do in the following file {SRC}/Wrapping/Python/paraview/collaboration.py </div>
<div><br></div><div>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 11:12 PM, Luc Renambot <span dir="ltr"><<a href="mailto:renambot@gmail.com" target="_blank">renambot@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to have a setup where a paraview client and a paraviewweb session see the same visualization (interacting with the paraview client and seeing the vis in the browser). I thought I could use a pvserver for this.<br>

With the current release (binaries), I tried on Mac and linux without much luck.<br>
I can get multiple desktop clients connected to the same pvserver, but not the a paraviewweb mixed in.<br>
<br>
<br>
Server (<a href="http://myhost.edu" target="_blank">myhost.edu</a>):  ./pvserver --multi-clients<br>
Paraview desktop (mac): connect fine to <a href="http://myhost.edu" target="_blank">myhost.edu</a> and build the pipeline (mostly loading a dataset and adding an iso-surface).<br>
Paraviewweb: ./bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py --content ./share/paraview-4.1/www --data-dir ~/paraview --port 8080 --ds-host <a href="http://myhost.edu" target="_blank">myhost.edu</a><br>

Browser:  <a href="http://myhost.edu:8080/apps/Visualizer/" target="_blank">http://myhost.edu:8080/apps/Visualizer/</a><br>
<br>
It crashes or doesn't show the right view and usually  crashes every other components.<br>
<br>
Is this supposed to work ?<br>
<br>
...Luc...<br>
<br>
Luc Renambot<br>
<a href="mailto:renambot@uic.edu">renambot@uic.edu</a>                    Electronic Visualization Lab (M/C 152)<br>
EVL Phone <a href="tel:%28312%29%20996-3002" value="+13129963002">(312) 996-3002</a>       University of Illinois at Chicago<br>
EVL FAX   <a href="tel:%28312%29%20413-7585" value="+13124137585">(312) 413-7585</a>         851 S. Morgan St. Room 1120 SEO<br>
<a href="http://renambot.lakephoto.org" target="_blank">http://renambot.lakephoto.org</a>    Chicago, IL 60607-7053<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>