<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Seb and Claude,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks for your valuable inputs. I have been able to setup ParaView web on a windows 10 system and things are working as expected. </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have created a gist (<a href="https://gist.github.com/debopamg/aa497516d79442efa44b8e23838e1235">https://gist.github.com/debopamg/aa497516d79442efa44b8e23838e1235</a>) detailing the process of setting up the ParaView application and use apache as the front end server.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks again for your help.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Cheers & Best Wishes,</div><div>Debopam</div><div>-------------------------------</div><div>Cell: +91 98304 10041</div></div></div></div>
<br><div class="gmail_quote">On Wed, Jan 18, 2017 at 8:19 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well we fixed that issue last time in another thread. Here is the difference:<div><br></div><div>Launcher configuration (Not working)</div><div><span style="font-family:monospace,monospace;font-size:12.8px">"C:/paraview/ParaView5.2.0/</span><span style="font-family:monospace,monospace;font-size:12.8px">dat<wbr>a"</span><br></div><div><span style="font-family:monospace,monospace;font-size:12.8px"><br></span></div><div>Command line (Working)</div><div><span style="font-family:monospace,monospace;font-size:12.8px">"C:\paraview\ParaView5.2.0\</span><span style="font-family:monospace,monospace;font-size:12.8px">dat<wbr>a"</span></div><div><br></div><div>Do you notice any difference? Do you see what you should try next?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 18, 2017 at 4:38 AM, Debopam Ghoshal <span dir="ltr"><<a href="mailto:debopamg@gmail.com" target="_blank">debopamg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Seb & Claude,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks for pointing out the error, but still I am having the same problem. No matter what I do, I am not able to show the figure in the visualizer pane. It is always black/blank. :(</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">This is what I did:</div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">1. Used hard coded (</span><font face="monospace, monospace">can.ex2</font><font face="tahoma, sans-serif">) as well as dynamic (</font><font face="monospace, monospace">${data}</font><font face="tahoma, sans-serif">) for the data file,</font></div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">2. I even hardcoded the </span><font face="monospace, monospace">data</font><font face="tahoma, sans-serif"> value in the </font><font face="monospace, monospace">index.html</font><font face="tahoma, sans-serif"> file,</font></div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">3. I tried using </span><font face="monospace, monospace"><a href="http://paraview" target="_blank">http://paraview</a></font><font face="tahoma, sans-serif"> as well as </font><font face="monospace, monospace"><a href="http://paraview/?data=can.ex2" target="_blank">http://paraview/?data=can.ex2</a></font></div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">4. In the visualizer Files tab, I selected each of the data files (</span><font face="monospace, monospace">can.ex2, disc_out_ref.ex2, headsq.vti</font><font face="tahoma, sans-serif">)</font></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">But in all these cases, I was not able to see any output in the visualizer pane. In each case, the native window name </span><font face="monospace, monospace">Visualization Toolkit - Win32OpenGL #n</font><font face="tahoma, sans-serif"> showed up with nothing except the orientation axes. The same window showed up within the browser, and when I moved the orientation axes on the browser, the axes also moved in the native window. The later shows that the native window is connected and responds to the browser actions (through web sockets I believe).</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">What I fail to understand is why is the <i>data file selected from the <b>Files tab</b></i> in the Visualizer console (in browser) not showing up in the Visualizer pane. This the seems to be the basic problem. For instance, when I start the Visualizer through the pvpython using the pvw-visualizer.py script </font><span style="font-family:tahoma,sans-serif">it works absolutely ok. Which shows that there is no problem with my graphics card or Paraview installation.</span></div><div class="gmail_default"><span style="font-family:tahoma,sans-serif"><br></span></div><div class="gmail_default"><font face="tahoma, sans-serif"><b>startpvw.bat:</b></font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace">.\bin\pvpython.exe "C:\paraview\ParaView5.2.0\sha<wbr>re\paraview-5.2\web\visualizer<wbr>\server\pvw-visualizer.py" --content "C:\paraview\ParaView5.2.0\sha<wbr>re\paraview-5.2\web\visualizer<wbr>\www" --data "C:\paraview\ParaView5.2.0\dat<wbr>a" --port 9000</font></div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">But when I run the launcher using the command: </div><div style="font-family:tahoma,sans-serif"><b>launcher.bat:</b></div><span><div style="font-family:tahoma,sans-serif"><b><br></b></div><div><div><font face="monospace, monospace">set PV_HOME=C:\paraview\ParaView5.<wbr>2.0</font></div><div><font face="monospace, monospace">%PV_HOME%\bin\pvpython.exe %PV_HOME%\bin\Lib\site-package<wbr>s\vtk\web\launcher.py %PV_HOME%\launcher.config</font></div><div style="font-family:tahoma,sans-serif"><br></div></div></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif">and then access the visualizer through the apache front end, then the data file is not being rendered.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default"><span style="font-family:tahoma,sans-serif">So, I guess there is something wrong with the way I am calling the visualizer from the launcher and the way it is called with the </span><font face="monospace, monospace">pvw-visualizer.py</font><font face="tahoma, sans-serif"> script.</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Your continued support is much appreciated. </font><span style="font-family:tahoma,sans-serif">I am attaching the relevant files for your reference.</span></div><div class="gmail_default"><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-258280954568817138m_1097564915207704735gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Cheers & Best Wishes,</div><div>Debopam</div><div>------------------------------<wbr>-</div><div>Cell: <a href="tel:+91%2098304%2010041" value="+919830410041" target="_blank">+91 98304 10041</a></div></div></div></div>
<br></span><div><div class="m_-258280954568817138h5"><div class="gmail_quote">On Wed, Jan 18, 2017 at 12:43 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No worries. Thanks Claude for your help on the mailing list... ;-)</div><div class="m_-258280954568817138m_1097564915207704735HOEnZb"><div class="m_-258280954568817138m_1097564915207704735h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 8:52 AM, claude <span dir="ltr"><<a href="mailto:claude@theweak.link" target="_blank">claude@theweak.link</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Thank you Sebastien! Good catch.</p>
<p>One addition to make sure the path to the file is correct: in the
JS of the HTML file in the gist, I specified data as being <span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s1"><font size="-1" face="Courier New, Courier,
monospace">"data<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-k">:</span> </font><font size="-1" face="Courier New, Courier, monospace"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-en">getUrlParameter</span>(<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds">'</span>data<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds">'</span></span>)
<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-k">+</span> <span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds">'</span>.vti<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds">'</span></span></font></span>".
In your case, the extension of the file is .ex2, not vti. So make
sure the whole filename is correct, for instance specify the
extension in the URL and not in the JS:</p>
<p><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s1"><font size="-1" face="Courier New, Courier,
monospace">HTML -> "data<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-k">:</span> </font><font size="-1" face="Courier New, Courier, monospace"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-en">getUrlParameter</span>(<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds">'</span>data<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds">'</span></span>)"</font></span></p>
<p><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s1"><font size="-1" face="Courier New, Courier,
monospace">URL -> <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="http://paraview/?data=can.ex2" target="_blank">http://paraview/?data=can.ex2</a><br>
</font></span></p>
<p><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s1">(Otherwise it will look for can.ex2.vti which
does not exist)</span></p>
<p>Thanks very much Sebastien!</p>
<p>cheers<br>
<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s1"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-s"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550pl-pds"></span></span></span></p><div><div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988h5">
<br>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-cite-prefix">On 01/17/2017 09:13 AM, Sebastien
Jourdain wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">As you can see the issue is right there:
<div><br>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-family:monospace,monospace;font-size:12.8px">"--load-file",
"${data_dir}/can.ex2"</span></blockquote>
<div><br>
</div>
<div><font face="monospace, monospace"><span style="font-size:12.8px">As explained by Claude
earlier in that same thread: </span></font></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">The option --data specifies the
directory, so whatever file you want to load, it must be
relative to that directory.</span></blockquote>
<div><span style="font-family:monospace,monospace;font-size:12.8px"><br>
</span></div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jan 17, 2017 at 1:38 AM,
Debopam Ghoshal <span dir="ltr"><<a href="mailto:debopamg@gmail.com" target="_blank">debopamg@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_default"><font face="tahoma, sans-serif">Hi
Claude,</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif"><br>
</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">Thanks
a lot for your time and patience. As I have configured
a virtual host in apache, I am using the name of the
virtual host (paraview) instead of localhost. So
instead of </font><font face="monospace, monospace"><a href="http://localhost" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="http://localhost" target="_blank">http://localhost</a></font><font face="tahoma, sans-serif">, my url is </font><font face="monospace, monospace"><a href="http://paraview" target="_blank">http://paraview</a></font><font face="tahoma, sans-serif">. Please find my response
below:</font></div>
<div class="gmail_default"><span>
<p style="font-size:12.8px"><font face="tahoma,
sans-serif">- a successful POST request to
localhost/paraview</font></p>
</span>
<p style="font-size:12.8px"><font color="#0000ff" face="tahoma, sans-serif">The only log that I saw in
the developer console was: Navigated to: <a href="http://paraview/" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="http://paraview/" target="_blank">http://paraview/</a> (Note: I did
not give the data because it is already hardcoded in
the launcher.config file)</font></p>
<span>
<p style="font-size:12.8px"><font face="tahoma,
sans-serif">- a successful GET request to
localhost/proxy<br>
</font></p>
</span>
<p style="font-size:12.8px"><font color="#0000ff" face="tahoma, sans-serif">Nothing else was displayed
in the console. I have attached a snapshot of the
network tab (not sure whether it has any relevant
information)</font></p>
<span>
<p style="font-size:12.8px"><font face="tahoma,
sans-serif">- then do you get an error such as
"can't connect to <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-freetext" style="color:rgb(34,34,34)">ws://localhost</a>..."?</font></p>
</span>
<p style="font-size:12.8px"><font color="#0000ff"><font face="tahoma, sans-serif">I get this error only
when I specify </font><font face="monospace,
monospace"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-s" style="font-size:11.9px;box-sizing:border-box"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box">"</span>sessionURL<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box">"</span></span><span style="background-color:rgb(247,247,247);font-size:11.9px"> : </span></font><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-s" style="font-size:11.9px;box-sizing:border-box"><font face="monospace, monospace"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box">"</span><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">ws://paraview:80/ws</a></font><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box"><font face="monospace, monospace">"</font><font face="tahoma, sans-serif">. When I specify </font></span></span><font face="monospace, monospace"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-s" style="font-size:11.9px;box-sizing:border-box"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box">"</span>sessionURL<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box">"</span></span><span style="background-color:rgb(247,247,247);font-size:11.9px"> : </span></font><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-s" style="font-size:11.9px;box-sizing:border-box"><font face="monospace, monospace"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box">"</span><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">ws://paraview:80/proxy</a>?sessio<wbr>nId=${id}&path=ws</font><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-pl-pds" style="box-sizing:border-box"><font face="monospace, monospace">"</font><font face="tahoma, sans-serif"> then there is no
error.</font></span></span></font></p>
</div>
<div class="gmail_default"><font face="tahoma, sans-serif">Before
starting the test today, I deleted all the log file,
and after the test the following are my observations:</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif"><br>
</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">1.
the <b>error.log</b> file is empty</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">2.
the <b>launcher.log</b> has some entries, but none of
them are errors:</font></div>
<div class="gmail_default"><span style="font-family:monospace,monospace">2017-01-17
13:43:17,786:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted:Site</a> starting on 9000</span><br>
</div>
<div class="gmail_default">
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:17,786:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted</a>:Star<wbr>ting
factory <twisted.web.server.Site instance at
0x0000021F750708C8></font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:53,460:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted</a>:"127<wbr>.0.0.1"
- - [17/Jan/2017:08:13:52 +0000] "POST /paraview/
HTTP/1.1" 200 206 "<a href="http://paraview/" target="_blank">http://paraview/</a>"
"Mozilla/5.0 (Windows NT 10.0; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36"</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:45:01,183:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted</a>:Rece<wbr>ived
SIGINT, shutting down.</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:45:01,183:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted:(TCP</a>
Port 9000 Closed)</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:45:01,183:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted</a>:Stop<wbr>ping
factory <twisted.web.server.Site instance at
0x0000021F750708C8></font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:45:01,183:<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext">INFO:twisted:Main</a>
loop terminated.</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:45:01,183:WARNING:root:Serv<wbr>er
factory shutting down. Stopping all processes</font></div>
<div style="font-family:tahoma,sans-serif"><br>
</div>
</div>
<div class="gmail_default"><span style="font-family:tahoma,sans-serif">3. The <b>session
log</b> file also did not have any errors:</span><br>
</div>
<div class="gmail_default"><span style="font-family:monospace,monospace">2017-01-17
13:43:52+0530 [-] Log opened.</span><br>
</div>
<div class="gmail_default">
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:52+0530 [-] Site
starting on 9999</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:52+0530 [-] Starting
factory <twisted.web.server.Site instance at
0x000001C32C76BF08></font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Client has reconnected,
cancelling reaper</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] on_connect: connection
count = 1</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Property BeginValueCapture
has no GetData() method, skipping</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Property
CaptureValuesFloat has no GetData() method, skipping</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Property CaptureZBuffer
has no GetData() method, skipping</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Property EndValueCapture
has no GetData() method, skipping</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Property
StartCaptureLuminance has no GetData() method,
skipping</font></div>
<div class="gmail_default"><font face="monospace,
monospace">2017-01-17 13:43:54+0530
[HTTPChannel,0,127.0.0.1] Property
StopCaptureLuminance has no GetData() method,
skipping</font></div>
<div><font face="tahoma, sans-serif"><br>
</font></div>
</div>
<div class="gmail_default"><font face="tahoma, sans-serif"><br>
</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">What
is confusing me is that the native rendering panel is
coming up on the desktop, but does not show the image
to be rendered. The same panel is also coming up as
part of the Visualizer pane, and if I move the
orientation axis in the browser, then the axes are
also moved in the native window. In the attached
snapshot, the native window is on your left.</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif"><br>
</font></div>
<div class="gmail_extra"><span>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail_signature">
<div dir="ltr">
<div><font face="tahoma, sans-serif">Cheers
& Best Wishes,</font></div>
<div><font face="tahoma, sans-serif">Debopam</font></div>
<div><font face="tahoma, sans-serif">------------------------------<wbr>-</font></div>
<div><font face="tahoma, sans-serif">Cell: <a href="tel:+91%2098304%2010041" value="+919830410041" target="_blank">+91
98304 10041</a></font></div>
</div>
</div>
</div>
<font face="tahoma, sans-serif"><br>
</font></span>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550h5">
<div class="gmail_quote"><font face="tahoma,
sans-serif">On Tue, Jan 17, 2017 at 5:28 AM,
claude <span dir="ltr"><<a href="mailto:claude@theweak.link" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-abbreviated" href="mailto:claude@theweak.link" target="_blank">claude@theweak.link</a>></span>
wrote:<br>
</font>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><font face="tahoma, sans-serif">Hi Debopam,</font></p>
<p><font face="tahoma, sans-serif">Would you
mind trying to connect while the web
developer console is on (for Chrome it's
under "Tools > Javascript console") and
copy/pasting the errors (if any).</font></p>
<p><font face="tahoma, sans-serif">Do you see:</font></p>
<p><font face="tahoma, sans-serif">- a
successful POST request to
localhost/paraview</font></p>
<p><font face="tahoma, sans-serif">- a
successful GET request to localhost/proxy<br>
</font></p>
<p><font face="tahoma, sans-serif">- then do
you get an error such as "can't connect to
<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-freetext">ws://localhost</a>..."?</font></p>
<p><font face="tahoma, sans-serif">Also, what
do the logs tell you
(/path/to/logs/error.log,
/path/to/logs/launcherLog.log and
/path/to/logs/<SOME_UID>.txt =>
fetch the last one created)?</font></p>
<p><font face="tahoma, sans-serif">cheers</font></p>
<span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-HOEnZb"><font color="#888888" face="tahoma, sans-serif">
<p>claude<br>
</p>
</font></span>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-h5">
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-cite-prefix"><font face="tahoma, sans-serif"><br>
<br>
On 01/16/2017 03:56 AM, Debopam
Ghoshal wrote:<br>
</font></div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div><font face="tahoma, sans-serif">Hi
Claude,</font></div>
<div><font face="tahoma, sans-serif"><br>
</font></div>
<div><font face="tahoma, sans-serif">I
tried using the filename hard
coded in the config json as well
as the index.html. But I am not
able to view the file in the
Visualizer. </font></div>
<div><font face="tahoma, sans-serif">It
is only showing the blank
window/pane with no figure. I
can move the orientation axes,
but nothing is being rendered.
Even when I choose a file from
the Files tab, nothing is being
displayed. </font></div>
<div><font face="tahoma, sans-serif"><br>
</font></div>
<div>
<div><font face="tahoma,
sans-serif">My launcher config
has:</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">.......</font></div>
<div><font face="tahoma,
sans-serif">"properties" : {</font></div>
<div><font face="tahoma,
sans-serif"> "python_exec"
:
"C:/paraview/ParaView5.2.0/bin<wbr>/pvpython.exe",</font></div>
<div><font face="tahoma,
sans-serif"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>"visualizer":
"C:/paraview/ParaView5.2.0/sha<wbr>re/paraview-5.2/web/visualizer<wbr>/server/pvw-visualizer.py",</font></div>
<div><font face="tahoma,
sans-serif"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>"data_dir":
"C:/paraview/ParaView5.2.0/dat<wbr>a"</font></div>
<div><font face="tahoma,
sans-serif"> },</font></div>
<div><font face="tahoma,
sans-serif"> "apps": {</font></div>
<div><font face="tahoma,
sans-serif"> "visualizer":
{</font></div>
<div><font face="tahoma,
sans-serif"> "cmd": [</font></div>
<div><font face="tahoma,
sans-serif">
"${python_exec}", "-dr",
"${visualizer}", "--port",
"${port}", "--data",
"${data_dir}", "--authKey",
"${secret}", "--load-file",
"${data_dir}/can.ex2"</font></div>
<div><font face="tahoma,
sans-serif"> ],</font></div>
<div><font face="tahoma,
sans-serif">
"ready_line" : "Starting
factory"</font></div>
<div><font face="tahoma,
sans-serif"> }</font></div>
<div><font face="tahoma,
sans-serif"> }</font></div>
<div><font face="tahoma,
sans-serif">......</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
</div>
<div><font face="tahoma, sans-serif"><br>
</font></div>
<div>
<div><font face="tahoma,
sans-serif">(You can see that
the file name is hard coded)</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">The
launcher.bat script has:</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">set
PV_HOME=C:\paraview\ParaView5.<wbr>2.0</font></div>
<div><font face="tahoma,
sans-serif">%PV_HOME%\bin\pvpython.exe
%PV_HOME%\bin\Lib\site-package<wbr>s\vtk\web\launcher.py
%PV_HOME%\launcher.config</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
</div>
<div><font face="tahoma, sans-serif">However,
I am able to view the file when
I launch the pvpython.exe script
directly using:<br>
</font></div>
<div>
<div><font face="tahoma,
sans-serif">.\bin\pvpython.exe
"C:\paraview\ParaView5.2.0\sha<wbr>re\paraview-5.2\web\visualizer<wbr>\server\pvw-visualizer.py"
--content
"C:\paraview\ParaView5.2.0\sha<wbr>re\paraview-5.2\web\visualizer<wbr>\www"
--data
"C:\paraview\ParaView5.2.0\dat<wbr>a"
--port 8080<br>
</font></div>
<div><font face="tahoma,
sans-serif"> <br>
</font></div>
<div>
<div><font face="tahoma,
sans-serif">So, I am
guessing I may have mixed up
some configuration items
because of which the display
is not coming when I try to
launch it through the
launcher scirpt/config.
Surprisingly, there are no
error messages in the log
files. Could you please
suggest something.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">I have added the
details in the gist for your
reference: <a href="https://gist.github.com/clavicule/7b8b3963ceb17302cff725f8dc36bc57" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="https://gist.github" target="_blank">https://gist.github</a><wbr>.com/clavicule/7b8b3963ceb1730<wbr>2cff725f8dc36bc57</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">The screenshots
are also attached for your
reference.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><font face="tahoma, sans-serif"><br clear="all">
</font>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912gmail_signature">
<div dir="ltr">
<div><font face="tahoma,
sans-serif">Cheers &
Best Wishes,</font></div>
<div><font face="tahoma,
sans-serif">Debopam</font></div>
<div><font face="tahoma,
sans-serif">------------------------------<wbr>-</font></div>
<div><font face="tahoma,
sans-serif">Cell: <a href="tel:+91%2098304%2010041" value="+919830410041" target="_blank">+91 98304
10041</a></font></div>
</div>
</div>
</div>
<font face="tahoma, sans-serif"><br>
</font>
<div class="gmail_quote"><font face="tahoma, sans-serif">On Fri,
Jan 13, 2017 at 6:04 PM, Claude <span dir="ltr"><<a href="mailto:claude@theweak.link" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-abbreviated" href="mailto:claude@theweak.link" target="_blank">claude@theweak.link</a>></span>
wrote:<br>
</font>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div><font face="tahoma,
sans-serif">Hi Debopam,</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Thanks for the
added details on the gist
and congratulations for
setting up the server, you
are almost there.</font></div>
<div><font face="tahoma,
sans-serif">For Visualizer
to be able to load a file,
it will need the argument
--load-file (it seems to
have disappeared in your
config launcher). The option
--data specifies the
directory, so whatever file
you want to load, it must be
relative to that directory.
For example to load the data
file <span style="background-color:rgba(255,255,255,0)">C:/my_data/dir/example1/my_fil<wbr>e.vti
you could do:</span></font></div>
<div><font face="tahoma,
sans-serif">--data is
C:/my_data/dir</font></div>
<div><font face="tahoma,
sans-serif">--load-file is <span style="background-color:rgba(255,255,255,0)">example1/my_file.vti</span></font></div>
<div><span style="background-color:rgba(255,255,255,0)"><font face="tahoma, sans-serif"><br>
</font></span></div>
<div><font face="tahoma,
sans-serif">Here is a
question for you: do you
want to always have the same
data loaded by default or to
be able to specify it? </font></div>
<div><font face="tahoma,
sans-serif">* If it's always
the same, you can directly
hardcode it in the launcher
config file. Then it will be
loaded when you navigate to
the paraview URL.</font></div>
<div><font face="tahoma,
sans-serif">* if it's not
always the same, you could
use the solution on the gist
which is specifying it in
the URL directly (there are
other alternatives of
course). In that case, the
URL must contain the file to
load (otherwise paraview
cannot guess it :)). For
instance:</font></div>
<div><a href="http://localhost:9000/?data=example1/my_file" target="_blank"><font face="tahoma, sans-serif">http://localhost:9000/?data=ex<wbr>ample1/my_file</font></a></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">(The JavaScript
code automatically adds the
extension .vti, you may
change that behavior of
course).</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">I'll be posting
the detailed changes on your
code in the gist comment
shortly.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Let me know</font></div>
<div><font face="tahoma,
sans-serif">Cheers</font></div>
<font face="tahoma, sans-serif"><span class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912HOEnZb"><font color="#888888">
<div>Claude </div>
</font></span> </font>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912h5">
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
On Jan 13, 2017, at 5:05
AM, Debopam Ghoshal <<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-abbreviated" href="mailto:debopamg@gmail.com" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-abbreviated" href="mailto:debopamg@gmail.com" target="_blank">debopamg@gmail.com</a>>
wrote:<br>
<br>
</font></div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>
<p style="box-sizing:border-box;margin-bottom:16px;color:rgb(51,51,51);font-size:14px;margin-top:0px"><font face="tahoma,
sans-serif">Hi
Claude,</font></p>
<p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-size:14px"><font face="tahoma,
sans-serif">I
followed your
instructions
with some
modifications
since I was
having problems.
Finally, I was
able to
configure the
Apache front end
with the
ParaView Web
launcher, and
now I can view
the index page
of the
visualizer.
However, when I
choose any of
the sample
files, they are
not being
rendered in the
visualizer
pane. </font></p>
<p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-size:14px"><font face="tahoma,
sans-serif">I
have added the
details in the
gist you created
at: <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-freetext" href="https://gist.github.com/" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="https://gist.github.com/" target="_blank">https://gist.github.com/</a>cl<wbr>avicule/7b8b3963ceb17302cff725<wbr>f8dc36bc57</font></p>
<p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-size:14px"><font face="tahoma,
sans-serif">Would
appreciate your
thoughts on
this.</font></p>
</div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div class="gmail_extra"><font face="tahoma,
sans-serif"><br clear="all">
</font>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593gmail_signature">
<div dir="ltr">
<div><font face="tahoma,
sans-serif">Cheers
& Best
Wishes,</font></div>
<div><font face="tahoma,
sans-serif">Debopam</font></div>
<div><font face="tahoma,
sans-serif">------------------------------<wbr>-</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
</div>
</div>
</div>
<font face="tahoma,
sans-serif"><br>
</font>
<div class="gmail_quote"><font face="tahoma,
sans-serif">On
Thu, Jan 12,
2017 at 5:22 PM,
Debopam Ghoshal
<span dir="ltr"><<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-abbreviated" href="mailto:debopamg@gmail.com" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-abbreviated" href="mailto:debopamg@gmail.com" target="_blank">debopamg@gmail.com</a>></span>
wrote:<br>
</font>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><font face="tahoma,
sans-serif">Hi
Claude </font>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Thank
you so much
for your
detailed
explanation.
The gist has
been very
useful. I am
working on it
at present,
and is in the
process of
smoothening
out a few
creases
because of the
operating
system I am
using (Windows
10).</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Will
let you know
once I am able
to use
paraview web
properly. And
in case of any
issue, I will
bother you
once again.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Hi
Seb,</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Thanks
for the link.
Much
appreciated.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div class="gmail_extra"><font face="tahoma,
sans-serif"><span>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934gmail_signature">
<div dir="ltr">
<div>Cheers
& Best
Wishes,</div>
<div>Debopam</div>
<div>------------------------------<wbr>-</div>
<div><br>
</div>
</div>
</div>
</div>
</span> </font>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593h5">
<div class="gmail_quote"><font face="tahoma,
sans-serif">On
Wed, Jan 11,
2017 at 9:48
PM, Sebastien
Jourdain <span dir="ltr"><<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-abbreviated" href="mailto:sebastien.jourdain@kitware.co" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-abbreviated" href="mailto:sebastien.jourdain@kitware.co" target="_blank">sebastien.jourdain@kitware.co</a><wbr>m></span>
wrote:<br>
</font>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><font face="tahoma,
sans-serif">Thanks
Claude, </font>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Here
is the add-on
of what
functions can
be called on
Visualizer.
(All the
function with
export)</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif"><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-freetext" href="https://github.com/Kitware/vis" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="https://github.com/Kitware/vis" target="_blank">https://github.com/Kitware/vis</a><wbr>ualizer/blob/master/src/app.js<br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">We
are planning
to add some
helper for
extracting
arguments from
the URL. We
actually add a
class in the
ParaViewWeb
repo, but we
haven't got to
the point of
using it and
making it
available in
visualizer.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Seb</font></div>
</div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934HOEnZb">
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934h5">
<div class="gmail_extra"><font face="tahoma,
sans-serif"><br>
</font>
<div class="gmail_quote"><font face="tahoma,
sans-serif">On
Wed, Jan 11,
2017 at 7:32
AM, claude <span dir="ltr"><<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-abbreviated" href="mailto:claude@theweak.link" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-abbreviated" href="mailto:claude@theweak.link" target="_blank">claude@theweak.link</a>></span>
wrote:<br>
</font>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><font face="tahoma,
sans-serif">Hi
Debopam,</font></p>
<p><font face="tahoma,
sans-serif"><br>
</font></p>
<p><font face="tahoma,
sans-serif">I
think there is
one thing to
consider first
before taking
care of data
being passed
through: if
you manually
start one
instance of
pvw-visualizer,
it means all
people
connecting to
port 8080 will
see the same
thing and act
on the same
viewer, which
means
potentially
conflicting
with each
other action
(e.g. a
probable
disconnection
for everyone
if one decide
to exit
maybe?). In
that case, you
need to have a
virtual server
that will
launch a new
process every
time someone
connect to
port 8080.
That way, all
viewers are
independent,
the same
person can
open several
viewers, etc.</font></p>
<p><font face="tahoma,
sans-serif"><br>
</font></p>
<p><font face="tahoma,
sans-serif">Now
regarding the
data being
loaded at
startup: you
html index
file should
have a
function
grabbing the
'data'
parameter from
a URL, a form,
a dropdown
menu, etc.
then sending
it as a key to
the Visualizer
application
(so that the
launcher knows
which file to
load at
startup).<br>
</font></p>
<p><font face="tahoma,
sans-serif">It
would have
been
complicated to
explain all
the details in
a email, so I
made a gist
with all the
files and
"code"
addressing
both points
(launcher and
data):</font></p>
<p><font face="tahoma,
sans-serif"><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912moz-txt-link-freetext" href="https://gist.github.com/clavic" target="_blank"></a><a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550moz-txt-link-freetext" href="https://gist.github.com/clavic" target="_blank">https://gist.github.com/clavic</a><wbr>ule/7b8b3963ceb17302cff725f8dc<wbr>36bc57<br>
</font></p>
<font face="tahoma,
sans-serif"><br>
Note that this
gist was
gathered info
from the
Paraview Web
and Visualizer
online
documentations:
kuddos to
Paraview
people.<br>
2nd note: in
that gist I'm
giving the
instructions
for Apache
server (you
could
technically
choose any
other, e.g.
NGinx) for
Linux. I see
you are on
Windows: I
don't know how
Apache works
on Windows but
I assume (and
hope) the
steps and
config file
should be
similar.<br>
<br>
I hope it
helps! Good
luck!<br>
cheers<br>
claude </font>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495h5"><font face="tahoma,
sans-serif"><br>
<br>
<br>
<br>
</font>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199moz-cite-prefix"><font face="tahoma,
sans-serif">On
01/11/2017
04:10 AM,
Debopam
Ghoshal wrote:<br>
</font></div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495h5">
<div dir="ltr"><font face="tahoma,
sans-serif">Hi,
</font>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div>
<div><font face="tahoma,
sans-serif">We
have a
requirement
where our
application
will send a
request to the
paraview web
server to
render a
specific file
(which will be
available in
the data given
directory) in
the visualizer
app, and this
will be
embedded
within our
application
page as a
iframe, whose
source is the
Visualizer
app's
index.html.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
</div>
<div><font face="tahoma,
sans-serif">We
are using the
pvpython.exe
executable to
start the
paraview web
server. The
command used
to start the
server is:<br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">.\bin\pvpython.exe
"C:\ParaView-5.2.0-Qt4-OpenGL2<wbr>-MPI-Windows-64bit\share\parav<wbr>iew-5.2\web\visualizer\server\<wbr>pvw-visualizer.py"
--content
"C:\ParaView-5.2.0-Qt4-OpenGL2<wbr>-MPI-Windows-64bit\share\parav<wbr>iew-5.2\web\visualizer\www"
--data
"C:\ParaView-5.2.0-Qt4-OpenGL2<wbr>-MPI-Windows-64bit\data"
--port 8080<br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">From
the command,
we can see
that the web
content is
being served
from
the C:\ParaView-5.2.0-Qt4-Open<wbr>GL2-MPI-Windows-64bit\share\pa<wbr>raview-5.2\web\visualizer\www <wbr>directory.
The index.html
file uses the
Visualizer.js
script and
calls the
following
functions:</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Visualizer.connect({
application:
'visualizer'
});<br>
</font></div>
<div>
<div><font face="tahoma,
sans-serif">Visualizer.autoStopServer(10);</font></div>
</div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Is
there any way
to find out
the available
functions in
the
Visualizer.js
script and
call them from
our custom
html file?
What we intend
to do is to
update the
index.html
file and</font></div>
<div><font face="tahoma,
sans-serif">a.
add a
javascript
function which
will accept a
filename to be
rendered</font></div>
<div><font face="tahoma,
sans-serif">b.
once the
filename is
received by
this function,
it will call
the visualizer
and display
the specified
file</font></div>
<div><font face="tahoma,
sans-serif">c.
in the
visualizer
page, the open
files tab
should be
hidden.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Please
let me know if
you require
any
clarification.</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
<div><font face="tahoma,
sans-serif">Cheers
& Best
Wishes,<br>
</font></div>
<div>
<div>
<div class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199gmail_signature">
<div dir="ltr">
<div><font face="tahoma,
sans-serif">Debopam</font></div>
<div><font face="tahoma,
sans-serif">------------------------------<wbr>-</font></div>
<div><font face="tahoma,
sans-serif"><br>
</font></div>
</div>
</div>
</div>
</div>
</div>
<font face="tahoma,
sans-serif"><br>
</font>
<fieldset class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199mimeAttachmentHeader"></fieldset>
<font face="tahoma,
sans-serif"><br>
</font></div>
</div>
<pre><font face="tahoma, sans-serif">______________________________<wbr>_________________
Powered by <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199moz-txt-link-abbreviated" href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a>
Search the list archives at: <a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="m_-258280954568817138m_1097564915207704735m_8917093251466798988m_-4524470198359997550m_313879752911944121gmail-m_7232309633957980912m_-2985665748455820593m_7449516894874276934m_707051543154546495m_4495136292653519199moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a>
</font></pre>
</blockquote>
</div><font face="tahoma, sans-serif">
______________________________<wbr>_________________
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a>
Follow this link to subscribe/unsubscribe:
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a>
</font></blockquote></div>
</div>
</div></div></blockquote></div>
</div></div></div></div>
</blockquote></div>
</div></div>
</div></blockquote></div></div></div></blockquote></div>
</div>
</blockquote>
</div></div></div></blockquote></div>
</div></div></div></div>
</blockquote></div>
</div>
</blockquote>
</div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote></div><br></div>