|
[Sponsors] |
[General] Error in rendering and visualization from Paraview web docker image |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 8, 2021, 04:35 |
Error in rendering and visualization from Paraview web docker image
|
#1 |
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7 |
Dear all,
I am trying to visualization from paraview web server using docker image. 1. I have read this documentation http://kitware.github.io/paraviewweb...heatsheet.html and ran the docker container from run.sh as shown below for paraview5.6 version. 2. <APP_ROOT> = /pvw 3. I am getting the error as shown in Error_Image_link below. Commands: run.sh file Code:
#!/bin/bash export PORT=9000 export DATA=/home/Sunag/pvw/data export DEPLOY=/home/Sunag/pvw export SERVER_NAME=localhost:80 export PROTOCOL=ws sudo docker run --name model_osmesa \ -p 0.0.0.0:${PORT}:80 \ -v ${DATA}:/data \ -v ${DEPLOY}:/pvw \ -e "SERVER_NAME=${SERVER_NAME}"\ -e "PROTOCOL=${PROTOCOL}"\ -ti kitware/paraviewweb:pvw-v5.6.0-osmesa Error_image_link: https://drive.google.com/file/d/1bIf...ew?usp=sharing 4. The launcher configuration file is as presented below: Code:
{ "resources": [ {"port_range": [9001, 9103], "host": "localhost"} ], "sessionData": { "updir": "/Home" }, "configuration": { "log_dir": "/pvw/launcher/log", "host": "localhost", "endpoint": "paraview", "sessionURL": "SESSION_URL_ROOT/proxy?sessionId=${id}&path=ws", "timeout": 60, "upload_dir":"/data/upload", "fields": [], "port": 9000, "proxy_file": "/opt/launcher/proxy-mapping.txt", "sanitize": { "version": { "type": "regexp", "regexp": "^v[0-9]+.[0-9]+.[0-9]+$", "default": "v0.0.0" }, "file": { "type": "regexp", "regexp": "^[-\\\\w./]+$", "default": "emptyFile" } } }, "properties": { "dataDir": "/data", "webapps_dir": "/opt/paraview/share/paraview-5.6/web", "python_exec": "/opt/paraview/bin/pvpython" }, "apps": { "visualizer": { "cmd": [ "${python_exec}", EXTRA_PVPYTHON_ARGS "${webapps_dir}/visualizer/server/pvw-visualizer.py", "--port", "${port}", "--data", "${dataDir}", "--authKey", "${secret}" ], "ready_line" : "Starting factory" } } } 6. I am trying to make this work from past a week. 7. I tried with different versions of paraview such as 5.7,5.8 and 5.8 for both osmesa version and egl version in office system. But, getting same error. Any suggestions or workaround will be appreciated. Regards, Sunag R A. |
|
Tags |
openfoam, paraview, paraviewweb, vtk |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] welding sim visualization problems in Paraview | Aorus | ParaView | 0 | December 25, 2009 15:39 |