Kitware / paraviewweb

Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data
http://kitware.github.io/paraviewweb/
BSD 3-Clause "New" or "Revised" License
163 stars 51 forks source link

Problems with ParaviewWeb!!! #131

Closed chris2009 closed 8 years ago

chris2009 commented 8 years ago

HI my friends, I have tried to work with paraview on the web I have followed all the steps from the following link: http://paraviewweb.kitware.com/index.html#!/guide/quick_start; but I have serious problems with that. First I have compiled by myself the paraview and then I have downloaded the file from this link http://www.paraview.org/download/ and then I putted these comands : $ tar xvzf ParaView-4.1.0-Linux-64bit-glibc-2.3.6.tar.gz $ cd ParaView-4.1.0-Linux-64bit **$ ./bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py \ --content ./share/paraview-4.1/www \ --data-dir /path-to-share/ \

--port 8080 &

=> Then, open a browser to the following URL http://localhost:8080/apps/Visualizer**

Finally the result is that:

root@nesimo-VirtualBox:~/Escritorio/Project/build# ./bin/pvpython lib/site-packages/paraview/web/pv_web_visualizer.py --content ./home/n-esimo/Escritorio/Project/build/www --port 8080 --data-dir ../../home/n-esimo/Escritorio/ParaView-5.0.0/.ExternalData/MD 2016-05-31 14:12:55-0500 [-] Log opened. pci id for fd 4: 80ee:beef, driver (null) libGL error: core dri or dri2 extension not found libGL error: failed to load driver: vboxvideo 2016-05-31 14:12:55-0500 [-] Site starting on 8080 2016-05-31 14:12:55-0500 [-] Starting factory <twisted.web.server.Site instance at 0x7f4e19ffe9e0> 2016-05-31 14:13:14-0500 [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [31/May/2016:19:13:14 +0000] "GET /apps/Visualizer HTTP/1.1" 404 145 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"

And when I putted http://localhost:8080/apps/Visualizer, the page show the following: No Such Resource File not found.

Please May you help me with this trouble, thanks very much.

jourdain commented 8 years ago

Never got that error message.

But here is what I can tell:

Since you are using a virtual box, you can look into our vagrant deployment: http://kitware.github.io/paraviewweb/docs/guides/vagrant.html

And if you want to try with your current setup, provide valid absolute path and add the following argument to use your CPU instead of your GPU for doing the rendering.

--mesa-llvm

But make sure you use the binary from our download website (5.0.1) as that argument will ask paraview to use the OSMesa library that was build along ParaView which won't be the case for your local build.

mathturtle commented 8 years ago

AFAIK, running ParaView 5.X inside VirtualBox can't work unless you use the new Mesa options since ParaView requires a graphics card/driver that has fairly substantial OpenGL support. And even before the switch to newer OpenGL, ParaView and VBox's drivers didn't really work all that well together.

chris2009 commented 8 years ago

I'll try to solve my problem with both advices, and I'll show the solution, if I found it, here. Thank you very much for your responses, my friends.

chris2009 commented 8 years ago

My friends I want to thank you for your advices and for your time, I found the solution!.

Now I am learning how to use this wonderful tool.

Best regards!!!!

jourdain commented 8 years ago

Glad to ear you figure it out.