[Paraview] Paraview architecture

2014-11-24 Thread Boris Bobrov
Hello,

I am trying to understand the architecture of paraview and it's dataflow.

1. What kind of rendering happens on client side? What rendering does default 
paraview client perform? Does it use OpenGL or something? What happens when I 
drag an image in the client?

2. What kind of data flows between a client, a data server and a rendering 
server? What's the format?

I tried to search the wiki but either I am a bad lurker or it's not there. I am 
also not sure which mailing list to use, so I'll send this email to both.
-- 
WBR,
Boris___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] Paraview architecture

2014-11-24 Thread Joachim Pouderoux
Boris,

In the 3D View, and depending on the Render View settings, the client may
render the geometry (that is the external surface) of the datasets that it
receives from the server using OpenGL, or it can receive and display the
images (remote rendering) generated by the server. With the first mode, the
interaction is performed locally with some VTK graphical pipelines (camera,
interactors, rendere, etc.); when the rendering is performed remotely, the
client sends the local camera properties to the server so it can generate
images from the correct viewpoint.

So depending the mode, the raw surface geometry can be transfered or some
compressed images (different compression techniques are available, see
Settings / Render View panel).

Some other views (eg. 2D plots) may have different behaviour and might
require the full dataset to be transfered from the server to the client for
display/analysis (in this case, this will not scale of course : eg. if you
plot a huge UnstructuredGrid within a Line Plot view after applying the
Plot Data filter)...

Hope it helps,

Joachim

*Joachim Pouderoux*

*PhD, Technical Expert*
*Kitware SAS http://www.kitware.fr*


2014-11-24 12:17 GMT+01:00 Boris Bobrov bre...@cynicmansion.ru:

 Hello,

 I am trying to understand the architecture of paraview and it's dataflow.

 1. What kind of rendering happens on client side? What rendering does
 default paraview client perform? Does it use OpenGL or something? What
 happens when I drag an image in the client?

 2. What kind of data flows between a client, a data server and a rendering
 server? What's the format?

 I tried to search the wiki but either I am a bad lurker or it's not there.
 I am also not sure which mailing list to use, so I'll send this email to
 both.
 --
 WBR,
 Boris
 ___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] Paraview architecture

2014-11-24 Thread David E DeMarle
Also see, http://www.paraview.org/Wiki/Representations_and_Views.
It is out of date ever since since 3.14's redesign of the rendering
architecture so the names of the classes are different but the overall flow
is the same.

David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Nov 24, 2014 at 9:10 AM, Joachim Pouderoux 
joachim.pouder...@kitware.com wrote:

 Boris,

 In the 3D View, and depending on the Render View settings, the client may
 render the geometry (that is the external surface) of the datasets that it
 receives from the server using OpenGL, or it can receive and display the
 images (remote rendering) generated by the server. With the first mode, the
 interaction is performed locally with some VTK graphical pipelines (camera,
 interactors, rendere, etc.); when the rendering is performed remotely, the
 client sends the local camera properties to the server so it can generate
 images from the correct viewpoint.

 So depending the mode, the raw surface geometry can be transfered or some
 compressed images (different compression techniques are available, see
 Settings / Render View panel).

 Some other views (eg. 2D plots) may have different behaviour and might
 require the full dataset to be transfered from the server to the client for
 display/analysis (in this case, this will not scale of course : eg. if you
 plot a huge UnstructuredGrid within a Line Plot view after applying the
 Plot Data filter)...

 Hope it helps,

 Joachim

 *Joachim Pouderoux*

 *PhD, Technical Expert*
 *Kitware SAS http://www.kitware.fr*


 2014-11-24 12:17 GMT+01:00 Boris Bobrov bre...@cynicmansion.ru:

 Hello,

 I am trying to understand the architecture of paraview and it's dataflow.

 1. What kind of rendering happens on client side? What rendering does
 default paraview client perform? Does it use OpenGL or something? What
 happens when I drag an image in the client?

 2. What kind of data flows between a client, a data server and a
 rendering server? What's the format?

 I tried to search the wiki but either I am a bad lurker or it's not
 there. I am also not sure which mailing list to use, so I'll send this
 email to both.
 --
 WBR,
 Boris
 ___
 Paraview-developers mailing list
 paraview-develop...@paraview.org
 http://public.kitware.com/mailman/listinfo/paraview-developers



 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] factor in axis label for cube axes

2014-11-24 Thread Mikhail Artemyev

Dear all,

How can I change the factor in the axis label? For example, if the 
x-coordinate is from 0 to 2000 (see the attached picture), the axis 
label is X-Axis (x10^3), and the values on the axis are from 0.0 to 
2.0. If I change the x-axis label it affects the name only, the factor 
stays the same. I would like to make the coordinates be shown in the 
original scale: 0 to 2000, without the factor in brackets.


Thank you,
Mikhail
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Interfacing with FE simulation using Catalyst

2014-11-24 Thread Alexandre Ancel
Hello,

I tested writing data from the python script, and the data is apparently
written correctly
 when opening the files with Paraview. The issue is only present I try to
extract the data in Paraview.
I'll continue to investigate both in my code and Paraview. If you have
other pieces of advice as to where I could be looking, I would be
interested.

I will also test if I can reproduce the issue with one of the example.

Regards,
Alexandre Ancel

On Fri, Nov 21, 2014 at 10:57 PM, Andy Bauer andy.ba...@kitware.com wrote:

 Hi Alexandre,

 If you could reproduce the errors that you're getting in one of the
 examples, we could try to track that down. I tried using your script and
 didn't have any issues with the CxxFullExample in the Catalyst example code
 and PV 4.2.


 Regards,
 Andy

 On Fri, Nov 21, 2014 at 12:14 PM, Dan Lipsa dan.li...@kitware.com wrote:


 When I click on the icon located near the producer to visualize the
 data, I get an Extract component added to the pipeline. Trying to visualize
 this, then throws me the following errors:

 ---
 ERROR: In
 /home/ancel/Downloads/ParaView-v4.2.0-source/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
 line 810
 vtkPVPostFilterExecutive (0x3efc890): Input for connection index 0 on
 input port index 0 for algorithm vtkPVPostFilter(0x3efbe70) is of type
 vtkDataObject, but a vtkPolyData is required.


 ERROR: In
 /home/ancel/Downloads/ParaView-v4.2.0-source/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
 line 810
 vtkPVPostFilterExecutive (0x3efc890): Input for connection index 0 on
 input port index 0 for algorithm vtkPVPostFilter(0x3efbe70) is of type
 vtkDataObject, but a vtkPolyData is required.


 ERROR: In
 /home/ancel/Downloads/ParaView-v4.2.0-source/ParaViewCore/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx,
 line 504
 vtkSMParaViewPipelineControllerWithRendering (0x38bbc00): Data cannot be
 shown in the defaulted render view!!
 ---


 I have not run an example for an unstructured grid. It should work
 similarly though.
 I recently wrote a Catalyst adapter for an unstructured grid. I will run
 Catalyst Live with that to see how that works.

 You could try however to save images or entire data from the pipeline
 script as it is done in the Catalyst examples.



 A few more questions come in my mind now:
 - If I understand correctly and if the user wants to pause the
 simulation, for example when he has only 1 timestep, he would have to do
 the following steps:
 * Connect with catalyst in Paraview
 * Set a breakpoint for time step 0
 * launch the simulation
 Is that alright ?
 Would it be possible to do this with the play/next frame paraview
 buttons ?


 The communication between catalyst and the simulation happens only at
 time steps. Because of that, Catalyst could only stop the simulation at
 time step 2.


 - Looking at the last lines of the blog post concerning pvserver. Is
 pvserver catalyst enabled by default ?

 Yes.


 Does it mean that I can build the following pipeline ?
 Paraview (local computer) - pvserver (cluster frontal node) -
 catalyst enabled simulation (cluster nodes)


  You need to enable MPI to be able to run this. pvserver is the paraview
 server that does all the rendering, only images are sent to ParaView (GUI).

 Dan


 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview





-- 
Alexandre Ancel
Docteur, Ingénieur de recherche / Phd, Research Engineer
Cemosis http://www.cemosis.fr - alexandre.an...@cemosis.fr
Tel: +33 (0)3 68 8*5 02 06*
IRMA - 7, rue René Descartes
67 000 Strasbourg, France
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] paraview web issue

2014-11-24 Thread burlen

Hi All,

Making an attempt to install ParaView web. I need some assistance in 
trouble shooting. I am attaching a set of logs from a single attempt. 
I'm following theinstructions for Ubuntu 14.04 
http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04. 
I see the x11 render window open, but the web page shows nothing.


from the error log
[Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File does not 
exist: /var/www/ParaView/www/ws:


from the access log
131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET 
/ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132 
HTTP/1.1 404 513
131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET 
/proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 457


Seems that the problem potentially relates to web sockets. How can I get 
further info about what's failing? Can anyone give some hint on 
troubleshooting this issue?


Burlen
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET / HTTP/1.1 304 211
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /resources/css/app-d837b293d081641aaa2111b87080b6d6.css HTTP/1.1 304 211
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /extjs/ext-all.js HTTP/1.1 304 213
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /data-0d50d2ddb5aba49a18815a3ab4cc9c10.js HTTP/1.1 304 211
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /app-9096a86b4ef476d85905927d55b2fdef.js HTTP/1.1 304 212
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /custom.css HTTP/1.1 304 210
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /images/PVW_Slide.png HTTP/1.1 304 189
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /images/compatible_ie.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /images/compatible_firefox.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /images/compatible_chrome.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /images/compatible_opera.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:06 -0800] GET /images/compatible_safari.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /resources/images/loading.gif HTTP/1.1 304 187
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /resources/images/logo.png HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /extjs/resources/themes/images/default/form/trigger.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /extjs/resources/themes/images/default/form/exclamation.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /extjs/resources/themes/images/default/grid/grid3-hd-btn.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /extjs/resources/themes/images/default/form/checkbox.gif HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /resources/images/search-box.png HTTP/1.1 304 186
131.243.240.15 - - [24/Nov/2014:08:48:07 -0800] GET /resources/images/tabs.png HTTP/1.1 304 187
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /apps/FileViewer/ HTTP/1.1 200 1410
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /apps/FileViewer/style.css HTTP/1.1 200 997
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /ext/pure/pure.min.js HTTP/1.1 200 5074
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/widgets/FileBrowser/vtkweb-widget-filebrowser.js HTTP/1.1 200 2483
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/widgets/FileBrowser/vtkweb-widget-filebrowser.tpl HTTP/1.1 200 900
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/css/paraview.ui.toolbar.css HTTP/1.1 200 1033
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/widgets/FileBrowser/vtkweb-widget-filebrowser.css HTTP/1.1 200 618
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /ext/jscolor/jscolor.js HTTP/1.1 200 7455
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/css/paraview.ui.toolbar.vcr.css HTTP/1.1 200 572
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/css/paraview.ui.toolbar.viewport.css HTTP/1.1 200 855
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/css/paraview.ui.toolbar.connect.css HTTP/1.1 200 520
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/js/paraview.ui.toolbar.js HTTP/1.1 200 1034
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/js/paraview.ui.toolbar.vcr.js HTTP/1.1 200 1959
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/js/paraview.ui.toolbar.viewport.js HTTP/1.1 200 2048
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/js/paraview.ui.toolbar.connect.js HTTP/1.1 200 2336
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /apps/FileViewer/open.png HTTP/1.1 200 1813
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/css/paraview/toolbar/common/logo.png HTTP/1.1 200 2371
131.243.240.15 - - [24/Nov/2014:08:48:47 -0800] GET /lib/css/paraview/toolbar/common/loading.gif HTTP/1.1 200 2
131.243.240.15 - - [24/Nov/2014:08:48:48 -0800] POST 

Re: [Paraview] [EXTERNAL] factor in axis label for cube axes

2014-11-24 Thread Scott, W Alan
Mikhail,

I added this feature to bug number 
http://www.paraview.org/Bug/view.php?id=13148.

Alan

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Mikhail 
Artemyev
Sent: Monday, November 24, 2014 8:07 AM
To: ParaView
Subject: [EXTERNAL] [Paraview] factor in axis label for cube axes

Dear all,

How can I change the factor in the axis label? For example, if the x-coordinate 
is from 0 to 2000 (see the attached picture), the axis label is X-Axis 
(x10^3), and the values on the axis are from 0.0 to 2.0. If I change the 
x-axis label it affects the name only, the factor stays the same. I would like 
to make the coordinates be shown in the original scale: 0 to 2000, without the 
factor in brackets.

Thank you,
Mikhail
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview web issue

2014-11-24 Thread Sebastien Jourdain
Hi Burlen,

Just to make sure, you are performing the install on an Ubuntu 14.04 ?

Are you trying to try it locally first using localhost, or are you
targeting a real deploy with a real host name?

Can you share your config file for the launcher + apache?
(You can do it privately depending on your target deploy / security)

Moreover, can you validate that the session id
c3079f24-73f9-11e4-a023-002590202132
 was properly mapped inside the text file that is shared between Apache and
the Python launcher?

Thanks,

Seb



On Mon, Nov 24, 2014 at 10:29 AM, burlen burlen.lor...@gmail.com wrote:

  Hi All,

 Making an attempt to install ParaView web. I need some assistance in
 trouble shooting. I am attaching a set of logs from a single attempt. I'm
 following the instructions for Ubuntu 14.04
 http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04.
 I see the x11 render window open, but the web page shows nothing.

 from the error log
 [Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File does not
 exist: /var/www/ParaView/www/ws:

 from the access log
 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET /
 ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132
 HTTP/1.1 404 513
 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET
 /proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 457

 Seems that the problem potentially relates to web sockets. How can I get
 further info about what's failing? Can anyone give some hint on
 troubleshooting this issue?

 Burlen

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview web issue

2014-11-24 Thread Burlen Loring

Hi Sebastien,

this is for a public deployment but I am testing in the browser while it 
locally logged into the system. This server is running ubuntu 11.04, 
apache 2.2.22. I hope that this isn't a roadblock.I can't easily upgrade.


your instructions for 14.04 went off OK but in 2 spots I had to find a 
work around:
1) proxy_wstunnel had to be installed manually, this went without a 
hitch and it loaded up without error
2) in the apache config I had to comment #Require all granted as that 
wasn't valid in 2.2


the session id was in the proxy.txt file and had the port number 9100 
which I see elsewhere in the logs, so that looks OK.


I'm attaching the launcher config.

the apache config is pasted below.

131 
333

132 VirtualHost *:80
133 ServerName paraview.lbl.gov
134 ServerAdmin blor...@lbl.gov
135 DocumentRoot /var/www/ParaView/www
136 ErrorLog /var/www/ParaView/logs/error.log
137 CustomLog /var/www/ParaView/logs/access.log common
138
139 Directory /var/www/ParaView/www
140 Options Indexes FollowSymLinks
141 Order allow,deny
142 Allow from all
143 AllowOverride None
144 #for ver = 2.4
145 #Require all granted
146 /Directory
147
148 # Handle launcher forwarding
149 ProxyPass /paraview http://localhost:8080/paraview
150
151 # Handle WebSocket forwarding
152 RewriteEngine On
153 RewriteMap  session-to-port txt:/var/www/ParaView/proxy.txt
154 RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC]
155 RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P]
156 /VirtualHost

On 11/24/2014 10:02 AM, Sebastien Jourdain wrote:

Hi Burlen,

Just to make sure, you are performing the install on an Ubuntu 14.04 ?

Are you trying to try it locally first using localhost, or are you 
targeting a real deploy with a real host name?


Can you share your config file for the launcher + apache?
(You can do it privately depending on your target deploy / security)

Moreover, can you validate that the session id 
c3079f24-73f9-11e4-a023-002590202132  was properly mapped inside the 
text file that is shared between Apache and the Python launcher?


Thanks,

Seb



On Mon, Nov 24, 2014 at 10:29 AM, burlen burlen.lor...@gmail.com 
mailto:burlen.lor...@gmail.com wrote:


Hi All,

Making an attempt to install ParaView web. I need some assistance
in trouble shooting. I am attaching a set of logs from a single
attempt. I'm following theinstructions for Ubuntu 14.04

http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04.
I see the x11 render window open, but the web page shows nothing.

from the error log
[Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File
does not exist: /var/www/ParaView/www/ws:

from the access log
131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET
/ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132
HTTP/1.1 404 513
131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET
/proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1
404 457

Seems that the problem potentially relates to web sockets. How can
I get further info about what's failing? Can anyone give some hint
on troubleshooting this issue?

Burlen

___
Powered by www.kitware.com http://www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview




___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview




launcher.json
Description: application/json
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview web issue

2014-11-24 Thread Sebastien Jourdain
Apache 2.2 will probably be an issue as WS forwarding was not properly
supported with url rewrite.

You may need to build Apache yourself on that distribution. The one that
have all the fix and is supposed to work is 2.4.7+.

We have some additional documentation about that part here:

http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_front_end

Seb

On Mon, Nov 24, 2014 at 12:47 PM, Burlen Loring blor...@lbl.gov wrote:

  Hi Sebastien,

 this is for a public deployment but I am testing in the browser while it
 locally logged into the system. This server is running ubuntu 11.04, apache
 2.2.22. I hope that this isn't a roadblock.I can't easily upgrade.

 your instructions for 14.04 went off OK but in 2 spots I had to find a
 work around:
 1) proxy_wstunnel had to be installed manually, this went without a hitch
 and it loaded up without error
 2) in the apache config I had to comment #Require all granted as that
 wasn't valid in 2.2

 the session id was in the proxy.txt file and had the port number 9100
 which I see elsewhere in the logs, so that looks OK.

 I'm attaching the launcher config.

 the apache config is pasted below.

 131
 333
 132 VirtualHost *:80
 133 ServerName paraview.lbl.gov
 134 ServerAdmin blor...@lbl.gov
 135 DocumentRoot /var/www/ParaView/www
 136 ErrorLog /var/www/ParaView/logs/error.log
 137 CustomLog /var/www/ParaView/logs/access.log common
 138
 139 Directory /var/www/ParaView/www
 140 Options Indexes FollowSymLinks
 141 Order allow,deny
 142 Allow from all
 143 AllowOverride None
 144 #for ver = 2.4
 145 #Require all granted
 146 /Directory
 147
 148 # Handle launcher forwarding
 149 ProxyPass /paraview http://localhost:8080/paraview
 150
 151 # Handle WebSocket forwarding
 152 RewriteEngine On
 153 RewriteMap  session-to-port txt:/var/www/ParaView/proxy.txt
 154 RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC]
 155 RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P]
 156 /VirtualHost


 On 11/24/2014 10:02 AM, Sebastien Jourdain wrote:

 Hi Burlen,

  Just to make sure, you are performing the install on an Ubuntu 14.04 ?

  Are you trying to try it locally first using localhost, or are you
 targeting a real deploy with a real host name?

  Can you share your config file for the launcher + apache?
 (You can do it privately depending on your target deploy / security)

  Moreover, can you validate that the session id 
 c3079f24-73f9-11e4-a023-002590202132
  was properly mapped inside the text file that is shared between Apache and
 the Python launcher?

  Thanks,

  Seb



 On Mon, Nov 24, 2014 at 10:29 AM, burlen burlen.lor...@gmail.com wrote:

  Hi All,

 Making an attempt to install ParaView web. I need some assistance in
 trouble shooting. I am attaching a set of logs from a single attempt. I'm
 following the instructions for Ubuntu 14.04
 http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#%21/guide/ubuntu_14_04.
 I see the x11 render window open, but the web page shows nothing.

 from the error log
 [Mon Nov 24 08:48:53 2014] [error] [client 131.243.240.15] File does not
 exist: /var/www/ParaView/www/ws:

 from the access log
 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET /
 ws://localhost:9100/ws?sessionId=c3079f24-73f9-11e4-a023-002590202132
 HTTP/1.1 404 513
 131.243.240.15 - - [24/Nov/2014:08:48:53 -0800] GET
 /proxy?sessionId=c3079f24-73f9-11e4-a023-002590202132 HTTP/1.1 404 457

 Seems that the problem potentially relates to web sockets. How can I get
 further info about what's failing? Can anyone give some hint on
 troubleshooting this issue?

 Burlen

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at: 
 http://paraview.org/Wiki/ParaView

 Follow this link to 
 subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] ParaView 4.1.0 with non-system (conda) python

2014-11-24 Thread w.hunter
I'm building ParaView 4.1.0 on SL 7.0 (using build script provided with
OpenFOAM-2.3.0). I'd like to use python from my miniconda installation at
/home/username/miniconda. CMake finds this correctly and in CMakeCache.txt
I have:

PARAVIEW_ENABLE_PYTHON:BOOL=ON
PYTHON_EXECUTABLE:FILEPATH=/home/username/miniconda/bin/python
PYTHON_INCLUDE_DIR:PATH=/home/username/miniconda/include/python2.7
PYTHON_LIBRARY:FILEPATH=/home/username/miniconda/lib/libpython2.7.so.1.0
PYTHON_UTIL_LIBRARY:FILEPATH=/usr/lib64/libutil.so

but pvpython and the Python Shell in ParaView use the system python from
/usr/bin/

This is a problem because matplotlib isn't installed for the system python.
I prefer to manage python packages in my miniconda installation.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] thousands separators in Annotate Time?

2014-11-24 Thread Kazuyoshi Furutaka
Dear Sebastien,

Thanks, works perfect!

Kazuyoshi

From: Sebastien Jourdain sebastien.jourd...@kitware.com
Subject: Re: [Paraview] thousands separators in Annotate Time?
Date: Fri, 21 Nov 2014 08:52:03 -0700

 You can use the PythonAnnotation filter instead with the following
 expression
 
 {:,}.format(t_value)
 
 On Thu, Nov 20, 2014 at 9:24 PM, Kazuyoshi Furutaka 
 furutaka.kazuyo...@jaea.go.jp wrote:
 
 Dear experts,

 A simple question; how can I display thousands separators
 using the Annotate Time source?

 Thanks in advance,
 Kazuyoshi
 --
 Kazuyoshi Furutaka
 furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Cannot get parallelism working in paraview 4.2.0 on our clusters (works with 4.1.0)

2014-11-24 Thread Cook, Rich
Hi,
I have recently compiled paraview 4.2.0 on our clusters in the same way I 
compile with 4.1.0 and am getting some errors.
I run pvserver in parallel, and it does not give any weird outputs.
I connect with it from my desktop (Mac OS X).  I can see in the desktop GUI 
that four remote servers are connected.
I open up a PDB dataset and it is different.  I see two “Output” objects in the 
pipeline browser.  This is different than the behavior in 4.1.0.

[cid:914AC27C-18D5-42AC-95B6-7668C8B7059B@llnl.gov]

I click Apply and get smacked in the face with an error dialog.

ERROR: In 
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry/vtkBlueObeliskDataParser.cxx,
 line 68
vtkBlueObeliskDataParser (0x7fea5e2a9980): Cannot find elements.xml. Checked 
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview-build/CMakeFiles/__macos_install/share/paraview-4.2/vtkDomainsChemistry
 and 
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Domains/Chemistry


ERROR: In 
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/IO/XMLParser/vtkXMLParser.cxx,
 line 382
vtkBlueObeliskDataParser (0x7fea5e2a9980): Parse() called with no Stream set.


ERROR: In 
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
 line 710
vtkPVDataRepresentationPipeline (0x7fea5e2a4d80): Input port 0 of algorithm 
vtkMoleculeRepresentation(0x7fea56c005d0) has 0 connections but is not optional.


I’m unable to color by process scalar ID, or more precisely, the Filter seems 
to get applied but the color does not change.  Appears all work is done on 
process 0.

Something is vewwwy scwewwy.

Help?


--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management  Graphics Grp., Services  Development Div., Integrated 
Computing  Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: PV 4.2.0 Color legend disappearing

2014-11-24 Thread Scott, W Alan
Excellent, it has been fixed.  I will close the bug.


Alan

-Original Message-
From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] 
Sent: Saturday, November 22, 2014 12:38 PM
To: Scott, W Alan
Cc: Armin Wehrfritz; paraview@paraview.org
Subject: Re: [Paraview] [EXTERNAL] Re: PV 4.2.0 Color legend disappearing

Looks like this may already be fixed too. I could not reproduce it with  
v4.2.0-133-g7e996c8. Alan, can you test with git/master to see if you can 
reproduce it as you could with 4.2?

Thanks,
Utkarsh

On Thu, Nov 20, 2014 at 3:57 PM, Scott, W Alan wasc...@sandia.gov wrote:
 Perfect!!

 I have replicated this bug, and repeated it a few time.  Breaks every time.  
 Thanks Armin for writing it up!!  I just targeted PV 4.3, out next month for 
 the fix.

 Bug number http://www.paraview.org/Bug/view.php?id=15143

 Alan

 -Original Message-
 From: Armin Wehrfritz [mailto:dkxl...@gmail.com]
 Sent: Thursday, November 20, 2014 8:46 AM
 To: Utkarsh Ayachit
 Cc: Scott, W Alan; paraview@paraview.org
 Subject: Re: [Paraview] [EXTERNAL] Re: PV 4.2.0 Color legend 
 disappearing

 I actually realized that the state files I provided used a rather large 
 dataset that I didn't provide.

 However, I actually have been able to reproduce the bug now consistently when 
 using an explicit server/client setup.

 Here the steps to trigger the disappearance to the color legend:
 1) run pvserver (e.g. on the local machine)
 2) Connect to pvserver
 3) Add a source (e.g. cylinder or sphere)
 4) Change the displayed quantities, i.e. the color array, about 5-10 times. 
 Usually I can display each color array at least one time, but when switching 
 several times between them the legend disappears.

 As said, without using an explicit connection to pvserver I cannot trigger 
 this bug.

 I attached again two state files, this time using the cylinder source only.

 Thanks for taking care of this!

 -Armin


 My workstation:
 openSUSE 13.1
 ParaView 4.2.0
 Intel Core i7-4800QM QC
 NVIDIA Quadro K2100M











 On 11/20/2014 04:33 PM, Utkarsh Ayachit wrote:
 Great! Thanks, Armin. I'll give it a try once I get back home from my 
 travel and see if I can reproduce the issue and track it down.

 Utkarsh

 On Tue, Nov 18, 2014 at 7:05 AM, Armin Wehrfritz dkxl...@gmail.com
 wrote:
 OK, I'm still not yet able to reproduce this bug, but at least I was 
 able to write out some state files.

 As mentioned before, I only see this happening in a client/server 
 mode, i.e. running pvserver on a remote machine.

 Three state files are attached, simply visualizing 2D cut-plane
 data: 1. colorLegBug_OK.pvsm: Everything is still working fine and 
 color legend appears as expected. 2. colorLegBug_Fail_0.pvsm:
 Switched the color array (from 'Z' to 'SourcePV') - color legend 
 disappears for 'SourcePV', but still is present when switching back 
 to 'Z' 3. colorLegBug_Fail_1.pvsm: After some more switching of 
 color arrays, the color legend disappears for all quantities.

 Hope this gives some clues to track down this bug.

 Thanks, Armin





 On 10/31/2014 01:34 AM, Scott, W Alan wrote:

 Yep, that's the bug.   I have seen it local server.  Anyone else
 have any ideas how to replicate it?  If anyone does see it, mind 
 writing a state file and sending to me?  It's a long shot, but 
 maybe that will help us figure out what is going on.

 Thanks,

 Alan

 -Original Message- From: Armin Wehrfritz 
 [mailto:dkxl...@gmail.com] Sent: Thursday, October 30, 2014 6:25 AM
 To: Scott, W Alan; paraview@paraview.org Subject: [EXTERNAL]
 Re: [Paraview] PV 4.2.0 Color legend disappearing

 I have experienced it too, but cannot reproduce it!

 For me it happened so far only in a client-server setup. When I 
 grab the surface (HDF5/XDMF files; 2D unstructured cells) and 
 rotate or move it, the legend comes back, but will disappear as 
 soon as I release the surface again. When copying the very same 
 data to my local machine and visualizing it in a local ParaView 
 session, everything works fine.

 Very odd indeed!

 My workstation: openSUSE 13.1 ParaView 4.2.0 Intel Core i7-4800QM 
 QC Processor NVIDIA Quadro K2100M Graphics Card

 -Armin



 On 10/30/2014 01:26 AM, Scott, W Alan wrote:

 In ParaView 4.2.0, I have found a few cases where the color legend 
 disappears, and I can't get it back.  Has anyone else seen this, 
 and found a way to replicate it?  Mind passing the voodoo on how 
 to replicate this bug? Thanks, Alan


 ___ Powered by 
 www.kitware.com

 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview


 ___ Powered by 
 www.kitware.com

 Visit other Kitware open-source projects at