Reproducibility of the ParaView examples #794
-
Hi, I have ParaView-5.13.3-MPI-Linux-Python3.10-x86_64 downloaded from your website. To match the Python version, I created a ~/Downloads/trame/examples/07_paraview/Picking$ pvpython pv_selection.py --venv ~/trame/uv_env/
hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
ParaView is using venv: /home/zc/trame/uv_env
VisRTX 0.1.6, using devices:
0: NVIDIA GeForce RTX 3050 Laptop GPU (Total: 4.0 GB, Available: 2.9 GB)
And to prevent your browser from opening, add '--server' to your command line.
App running at:
- Local: http://localhost:8080/
- Network: http://127.0.0.1:8080/
Note that for multi-users you need to use and configure a launcher.
JS Error => error: TypeError: r.a.extend is not a function This was for the pv_selection example, but most other examples fail too with various errors. I can precise the error messages for the various examples if you want, but first I want to make sure if I use trame as intended. Another thing I noticed is that for all the examples, two windows open:
So the question is: under which ParaView and Python version did you test your examples? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think you are running into a browser caching issue. You probably are trying trame examples with vue3 (the working ones) and the ParaView ones are vue2. You have 2 solutions, either you need to clear your browser cache or use a different port (so the browser won't assume it is the same html and js). Try running it like that:
By swapping the args order, you won't need to |
Beta Was this translation helpful? Give feedback.
I think you are running into a browser caching issue. You probably are trying trame examples with vue3 (the working ones) and the ParaView ones are vue2.
You have 2 solutions, either you need to clear your browser cache or use a different port (so the browser won't assume it is the same html and js).
Try running it like that:
By swapping the args order, you won't need to
import paraview.web.venv
in the script, but having it won't hurt.--force-offscreen-rendering
will prevent the opening of that second window.