Kitware / light-viz

Scientific Visualization application for tailored post-processing relying on a ParaViewWeb backend.
https://kitware.github.io/light-viz/
BSD 3-Clause "New" or "Revised" License
20 stars 7 forks source link

HOST_IP:8080/paraview/ No Such Resource #61

Closed 0x3bfc closed 7 years ago

0x3bfc commented 7 years ago

Hello,

I've installed Paraview v5.2 and Light-Viz on Ubuntu 14.04 LTS... after starting the server as following

$ LightViz --paraview /opt/ParaView/ --data ~/data/

The page doesn't load successfully!!. Also I got "No such resource" message and I can notice from console that server unable to access this "HOST_IP:8080/paraview/".

Looking forward to hear from you!

Thanks, Ahmed

jourdain commented 7 years ago

The "HOST_IP:8080/paraview/" error is expected when starting LightViz from the command line since the launcher is not involved.

The loaded page should be all black with 2 buttons on the top left.

Then depending on what ~/data contains you may see more, but you will need to register the datasets in order to see them.

If you are using the data directory from ParaView, you should do the following to add them.

$ mkdir ~/LightViz-datasets
$ LightViz --add-dataset ~/data/can.ex2                --description "" --data ~/LightViz-datasets
$ LightViz --add-dataset ~/data/disk_out_ref.ex2  --description "" --data ~/LightViz-datasets
$ LightViz --data ~/LightViz-datasets
0x3bfc commented 7 years ago

Thanks Seb! ....The issue solved ..