[Paraview] paraviewweb portability question

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Nov 15 14:47:51 EST 2013


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/0bc477bf/attachment.htm>


More information about the ParaView mailing list