[Paraview] paraviewweb portability question

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Nov 15 15:04:31 EST 2013


Sorry I don't see anything outstanding there.

Seb


On Fri, Nov 15, 2013 at 12:58 PM, J. Calahan <jcalahan at gmail.com> wrote:

> Here is the stdout from the CentOS attempts:
>
> 4.0.1 - works; stdout/err:
> 2013-11-15 12:53:34-0700 [-] Log opened.
> 2013-11-15 12:53:34-0700 [-] Site starting on 8080
> 2013-11-15 12:53:34-0700 [-] Starting factory <twisted.web.server.Site
> instance at 0x2e8a200>
> 2013-11-15 12:53:40-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:53:39 +0000] "GET / HTTP/1.1" 200 1142 "-"
> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like
> Gecko) Chrome/25.0.1364.152 Safari/537.22"
> 2013-11-15 12:53:41-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:53:41 +0000] "GET /apps/ HTTP/1.1" 200 1336
> "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64)
> AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152
> Safari/537.22"
> 2013-11-15 12:53:43-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:53:42 +0000] "POST /paraview HTTP/1.1" 404 145
> "http://localhost:8080/apps/WebVisualizer/" "Mozilla/5.0 (X11; Linux
> x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152
> Safari/537.22"
> OpenGL Warning: Failed to connect to host. Make sure 3D acceleration
> is enabled for this VM.
> 2013-11-15 12:53:43-0700 [HTTPChannel,6,127.0.0.1] Client has
> reconnected, cancelling reaper
> 2013-11-15 12:53:43-0700 [HTTPChannel,6,127.0.0.1] on_connect:
> connection count = 1
> 2013-11-15 12:53:54-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:53:53 +0000] "DELETE
> /apps/WebVisualizer/undefined/undefined HTTP/1.1" 404 145
> "http://localhost:8080/apps/WebVisualizer/" "Mozilla/5.0 (X11; Linux
> x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152
> Safari/537.22"
> 2013-11-15 12:53:54-0700 [HTTPChannel,6,127.0.0.1] connection_lost:
> connection count = 0
> 2013-11-15 12:53:54-0700 [HTTPChannel,6,127.0.0.1] Starting timer,
> process will terminate in: 300sec
>
> 4.1.0-RC1 - fails; stdout/err:
> 2013-11-15 12:55:16-0700 [-] Log opened.
> 2013-11-15 12:55:16-0700 [-] Site starting on 8080
> 2013-11-15 12:55:16-0700 [-] Starting factory <twisted.web.server.Site
> instance at 0x45d9098>
> 2013-11-15 12:55:28-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:55:27 +0000] "GET / HTTP/1.1" 200 1142 "-"
> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like
> Gecko) Chrome/25.0.1364.152 Safari/537.22"
> 2013-11-15 12:55:29-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:55:29 +0000] "GET /apps/ HTTP/1.1" 200 1447
> "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64)
> AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152
> Safari/537.22"
> 2013-11-15 12:55:31-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
> [15/Nov/2013:19:55:30 +0000] "POST /paraview HTTP/1.1" 404 145
> "http://localhost:8080/apps/Visualizer/" "Mozilla/5.0 (X11; Linux
> x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152
> Safari/537.22"
> OpenGL Warning: Failed to connect to host. Make sure 3D acceleration
> is enabled for this VM.
> 2013-11-15 12:55:31-0700 [HTTPChannel,6,127.0.0.1] Client has
> reconnected, cancelling reaper
> 2013-11-15 12:55:31-0700 [HTTPChannel,6,127.0.0.1] on_connect:
> connection count = 1
> 2013-11-15 12:55:40-0700 [HTTPChannel,6,127.0.0.1] connection_lost:
> connection count = 0
> 2013-11-15 12:55:40-0700 [HTTPChannel,6,127.0.0.1] Starting timer,
> process will terminate in: 300sec
> 2013-11-15 12:55:40-0700 [twisted.web.server.Site] (TCP Port 8080 Closed)
> 2013-11-15 12:55:40-0700 [twisted.web.server.Site] Stopping factory
> <twisted.web.server.Site instance at 0x45d9098>
> 2013-11-15 12:55:40-0700 [-] Main loop terminated.
>
>
> On Fri, Nov 15, 2013 at 12:47 PM, Sebastien Jourdain
> <sebastien.jourdain at kitware.com> wrote:
> > Thanks,
> >
> > and no error when you click on the file...
> > All the current error regarding /paraview is related to the fact that it
> > tries to request a new process launch using a session manager.
> > Which you don't have as you run the server application directly.
> >
> > But I don't see anything related to the file loading issue. And in the
> > standard output of the pvpython process, you don't see anything?
> >
> > Thanks,
> >
> > Seb
> >
> >
> > On Fri, Nov 15, 2013 at 12:37 PM, J. Calahan <jcalahan at gmail.com> wrote:
> >>
> >> On CentOS6.3, Chrome 25.0.1364.152
> >>
> >> 4.0.1 - works; console logs:
> >> Failed to load resource: the server responded with a status of 404
> >> (Not Found) http://localhost:8080/paraview
> >>
> >> 4.1.0-RC1 - fails; console logs:
> >> POST http://localhost:8080/paraview 404 (Not Found)
> jquery-1.8.3.min.js:2
> >> send jquery-1.8.3.min.js:2
> >> v.extend.ajax jquery-1.8.3.min.js:2
> >> start vtkweb-all.js:339
> >> module.start vtkweb-all.js:400
> >> autoConnect vtkweb-all.js:3517
> >> module.smartConnect vtkweb-all.js:3581
> >> (anonymous function) localhost:139
> >> Try to connect using the direct WS url vtkweb-all.js:3528
> >>
> >>
> >> On OSX10.7.5, Chrome 31.0.1650.48
> >>
> >> 4.0.1 - fails; console logs:
> >> Caught exception while registering module: vtkWeb is not defined
> >> paraview.ui.pipeline.js:2235
> >> Caught exception while registering module: vtkWeb is not defined
> >> paraview.ui.toolbar.js:54
> >> Caught exception while registering module: vtkWeb is not defined
> >> paraview.ui.toolbar.vcr.js:158
> >> Caught exception while registering module: vtkWeb is not defined
> >> paraview.ui.toolbar.viewport.js:147
> >> Caught exception while registering module: vtkWeb is not defined
> >> paraview.ui.toolbar.connect.js:194
> >> Failed to load resource: the server responded with a status of 404
> >> (Not Found) http://localhost:8080/paraview
> >> event.returnValue is deprecated. Please use the standard
> >> event.preventDefault() instead.
> >>
> >> 4.1.0-RC1 - works; console logs:
> >> Failed to load resource: the server responded with a status of 404
> >> (Not Found) http://localhost:8080/paraview
> >> Try to connect using the direct WS url vtkweb-all.js:3528
> >> event.returnValue is deprecated. Please use the standard
> >> event.preventDefault() instead.
> >>
> >> On Fri, Nov 15, 2013 at 12:13 PM, Sebastien Jourdain
> >> <sebastien.jourdain at kitware.com> wrote:
> >> > Hum, this is weird… What browser are you using?
> >> >
> >> > Can you enable the javascript console to see if you notice error?
> >> >
> >> > Seb
> >> >
> >> >
> >> > On Fri, Nov 15, 2013 at 12:10 PM, J. Calahan <jcalahan at gmail.com>
> wrote:
> >> >>
> >> >> Hi Sebastien,
> >> >>
> >> >> Thank you for the quick response.
> >> >>
> >> >> To load the can.ex2 data set I'm following http://vimeo.com/77824433
> >> >> step-for-step. It's when I click on the filename that nothing seems
> to
> >> >> happen in the 3D view. Similarly, when I click the + button and add,
> >> >> say, a sphere nothing seems to happen.
> >> >>
> >> >> Josh
> >> >>
> >> >> On Fri, Nov 15, 2013 at 11:51 AM, Sebastien Jourdain
> >> >> <sebastien.jourdain at kitware.com> wrote:
> >> >> > Hi Josh,
> >> >> >
> >> >> > thanks for your feedback evaluation.
> >> >> >
> >> >> > Sorry for the confusion on the wiki but as you mentioned the text
> is
> >> >> > valid
> >> >> > for the latest release but not consistent with git master.
> >> >> > I'll do a pass to update it.
> >> >> >
> >> >> > For the windows package, it is true that we still need to fix the
> >> >> > install
> >> >> > tree.
> >> >> > Will do it before the official ParaView release.
> >> >> >
> >> >> > Regarding the issue where the data does not load, I'm a bit
> confused
> >> >> > on
> >> >> > what
> >> >> > you are exactly doing to load that can.ex2.
> >> >> > Is the issue that when you open the file browser, you can not
> select
> >> >> > the
> >> >> > file or when you click on the file nothing happen?
> >> >> >
> >> >> > Seb
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > On Fri, Nov 15, 2013 at 11:29 AM, J. Calahan <jcalahan at gmail.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> Hello,
> >> >> >>
> >> >> >> I'm evaluating ParaViewWeb as part of the ParaView 4.0 release and
> >> >> >> the
> >> >> >> 4.x nightly Git builds.
> >> >> >>
> >> >> >> The current contents of http://www.paraview.org/Wiki/ParaViewWebare
> >> >> >> a
> >> >> >> bit stale as it still mentions pipeline_manager.py (removed in
> >> >> >> commit
> >> >> >> bbb9a40). It took me a while to figure out how to execute the web
> >> >> >> visualizer with 4.1-RC1 and the nightlies. For the record this
> works
> >> >> >> for 4.0.1:
> >> >> >>
> >> >> >>  ~$ pvpython paraview/pipeline_manager.py --content www --data-dir
> >> >> >> $PARAVIEW_DATA
> >> >> >>
> >> >> >> And this is the syntax past that version:
> >> >> >>
> >> >> >>  ~$ pvpython paraview/web/pv_web_visualizer.py --content www
> >> >> >> --data-dir $PARAVIEW_DATA
> >> >> >>  ~$ pvpython paraview/web/pv_web_file_loader.py --content www
> >> >> >> --data-dir $PARAVIEW_DATA
> >> >> >>  ...
> >> >> >>
> >> >> >> I've noticed a few platform differences when trying to display the
> >> >> >> can.ex2 data set and from adding, say, sphere geometry.
> >> >> >>
> >> >> >> CentOS6.4
> >> >> >> - 4.0.1 displays data set fine
> >> >> >> - 4.1-RC1 webapp came up, but did not display data set
> >> >> >> - 4.x-64bit-glibc-2.3.6-NIGHTLY-20131113 webapp came up, but did
> not
> >> >> >> display data set
> >> >> >> - 4.x-64bit-glibc-2.3.6-NIGHTLY-20131115 webapp came up, but did
> not
> >> >> >> display data set
> >> >> >>
> >> >> >> OSX10.7
> >> >> >> - 4.0.1 webapp came up, but did not display data set
> >> >> >> - 4.1-RC1 displays data set fine
> >> >> >> - 4.x-NIGHTLY-20131113 displays data set fine
> >> >> >>
> >> >> >> Win7
> >> >> >> - 4.0.1 webapp UI wedges after "WebVisualizer" link is clicked
> >> >> >> - 4.1-RC1 share/paraview-4.1/www is not present
> >> >> >> - 4.x-NIGHTLY-20131113 share/paraview-4.*/www is not present
> >> >> >>
> >> >> >> I'm not that interested in Windows (just tried it out of
> curiosity);
> >> >> >> my interest is primarily Linux, then OSX, with the nightly builds.
> >> >> >>
> >> >> >> In the cases where no geometry is displayed I can still
> interactive
> >> >> >> with the view... rotating w/ mouse and observing axis movement.
> Also
> >> >> >> I
> >> >> >> don't see any stdout/err difference between the versions that work
> >> >> >> and
> >> >> >> the versions that do not. Any pointers on getting it to work?
> >> >> >>
> >> >> >> Thanks,
> >> >> >> Josh
> >> >> >> _______________________________________________
> >> >> >> 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://www.paraview.org/mailman/listinfo/paraview
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131115/f8a249c2/attachment-0001.htm>


More information about the ParaView mailing list