Incorrect syntax to start ParaView Web Visualizer in documentation
See original GitHub issueHigh-level description
The instructions provided in this document https://kitware.github.io/visualizer/docs/index.html to start ParaviewWeb Visualizer on Windows using the paraview installation are not correct.
The document says to use:
$ cd ParaView-5.6.0-Windows-64bit
$ .\bin\pvpython.exe \
-m paraview.apps.visualizer \
--data "C:\...full_path...\data" \
--port 8080
==> Open your browser to http://localhost:8080/
However:
- The
-m
option is not recognized and the errorGot unknown argument: -m. Could you have misspelled your Python file path or name?
is returned - The
\
does not send to a new line - If the previous issues are addressed, the visualizer is not served, and pointing the browser to https://localhost:8080 returns a 404 error. The --content option seems needed (probably applicable to other OSes?)
The actual syntax, assuming PowerShell or Windows Terminal are used (if ParaView is ParaView-5.6.2-Windows-msvc2015-64bit, which is the name from the Download page. I am using this version because I initially thought the problem was due to a change due to the version, but it was not the case) is:
PS C:\> cd ParaView-5.6.2-Windows-msvc2015-64bit
PS C:\ParaView-5.6.2-Windows-msvc2015-64bit>& .\bin\pvpython.exe `
.\share\paraview-5.6\web\visualizer\server\pvw-visualizer.py `
--data "C:\Your\Path\ToData\ToVisualize\" `
-p 8080 `
--load-file <PathToFileToLoadIfNeededToOpenData> `
--content .\share\paraview-5.6\web\visualizer\www
I added --load-file
because it is needed in some cases to load data (e.g. with the OpenFOAM data reader). With these changes, everything seems to work.
Environment
- Visualizer: Any
- OS: Windows 11
- Browser: Microsoft Edge Version 94.0.992.50 (Official build) (64-bit)
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Visualizer frontend mistakes cause server busy - Web Support
I am trying to employ Visualizer in my web app to let user view their 3D data on my server. My data is...
Read more >Problem about paraviewweb configuration - Web Support
Hello, I'm trying to configure the paraviewweb enviroment on Ubuntu 18.04. Single user mode is very simple and succeed. Multiple user mode has...
Read more >ParaViewWeb, Python Launcher, and Apache, and 'Process ...
To use my ParaViewWeb app, I start up the launcher with a script in a terminal and then go to 'localhost.paraview', a base...
Read more >7. Remote and parallel visualization - ParaView Documentation
In this use-case, we are connecting to a locally started pvserver ( localhost ) on the 11111 port, except that the command to...
Read more >Error in rendering and visualization from docker image for ...
When I launch the webserver with http://localhost:9000/visualizer for visualizer ... I have read this documentation docker paraview web and ran the docker ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
My bad, you are right: it works in 5.10. Sorry about that.
The latest RC are for 5.10 not 5.8. Otherwise I might be miss remembering it could have been 5.9. To me it was just to say a “while back”.