ParaView issueshttps://gitlab.kitware.com/paraview/paraview/-/issues2022-09-12T23:53:05-04:00https://gitlab.kitware.com/paraview/paraview/-/issues/21549Segfault when computing gradient of a vector on polyhedral cells2022-09-12T23:53:05-04:00LukaszSegfault when computing gradient of a vector on polyhedral cellsI am working on a grid that contains also polyhedral cells and my Paraview (5.10) crashes whenever I compute gradient of the velocity vector. I reduced my mesh to just 4 poly cells and can always reproduce the error. The cellst themselve...I am working on a grid that contains also polyhedral cells and my Paraview (5.10) crashes whenever I compute gradient of the velocity vector. I reduced my mesh to just 4 poly cells and can always reproduce the error. The cellst themselves look okay in terms of VTK format and I can compute gradients of a scalar and also gradient of a vector provided that I use up to 3 cells. With 4 connected polys I get the above mentioned segfault.
```
> Loguru caught a signal: SIGSEGV
> Stack trace:
> 13 0x7fa56673688d clone + 109
> 12 0x7fa55b130e65 /usr/lib64/libpthread.so.0(+0x7e65) [0x7fa55b130e65]
> 11 0x7fa55aee8196 /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libtbb.so.2(+0x1d196) [0x7fa55aee8196]
> 10 0x7fa55aee8206 /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libtbb.so.2(+0x1d206) [0x7fa55aee8206]
> 9 0x7fa55aeec56f /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libtbb.so.2(+0x2156f) [0x7fa55aeec56f]
> 8 0x7fa55aeee760 /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libtbb.so.2(+0x23760) [0x7fa55aeee760]
> 7 0x7fa55aef45ea /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libtbb.so.2(+0x295ea) [0x7fa55aef45ea]
> 6 0x7fa55f092fba /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libvtkFiltersGeneral-pv5.10.so.1(+0x24bfba) [0x7fa55f092fba]
> 5 0x7fa55f09286a /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libvtkFiltersGeneral-pv5.10.so.1(+0x24b86a) [0x7fa55f09286a]
> 4 0x7fa55dabe921 vtkPolyhedron::Derivatives(int, double const*, double const*, int, double*) + 641
> 3 0x7fa55da29c0c vtkMeanValueCoordinatesInterpolator::ComputeInterpolationWeights(double const*, vtkPoints*, vtkCellArray*, double*) + 236
> 2 0x7fa55da2783d vtkMeanValueCoordinatesInterpolator::ComputeInterpolationWeightsForPolygonMesh(double const*, vtkPoints*, vtkMVCPolyIterator&, double*) + 109
> 1 0x7fa55da20ffd /home/caldron-b/g478040/linux/Software/Paraview/v5.10.1/ParaView-5.10.1-MPI-Linux-Python3.9-x86_64/bin/../lib/libvtkCommonDataModel-pv5.10.so.1(+0x286ffd) [0x7fa55da20ffd]
> 0 0x7fa56666e3b0 /usr/lib64/libc.so.6(+0x363b0) [0x7fa56666e3b0]
> ( 64.034s) [ 813F4700] :0 FATL| Signal: SIGSEGV
```
Link to a small testcase:
https://discourse.paraview.org/uploads/short-url/bDsHwPH5WzMlyG4m93ygx8TIwwU.zsthttps://gitlab.kitware.com/paraview/paraview/-/issues/21571Use of RandomAttributes after GenerateIds makes Paraview drop scalar field of...2022-09-21T22:49:19-04:00Eve Le GuillouUse of RandomAttributes after GenerateIds makes Paraview drop scalar field of idsHi all,
I use Paraview 5.10.1.
I execute the following pipeline:
#### import the simple module from the paraview
from paraview.simple import *
# create a new 'Wavelet'
wavelet1 = Wavelet(registrationName='Wavelet1')...Hi all,
I use Paraview 5.10.1.
I execute the following pipeline:
#### import the simple module from the paraview
from paraview.simple import *
# create a new 'Wavelet'
wavelet1 = Wavelet(registrationName='Wavelet1')
# create a new 'Generate Ids'
generateIds1 = GenerateIds(registrationName='GenerateIds1', Input=wavelet1)
# create a new 'Random Attributes'
randomAttributes1 = RandomAttributes(registrationName='RandomAttributes1', Input=generateIds1)
randomAttributes1.GeneratePointScalars = 1
When looking at the produced results, instead of finding two scalar fields for the points, there is only one: RandomPointScalars. If RandomAttributes is used before GenerateIds, then it is PointIds that is found. But whatever the order of the two filters, a scalar field is dropped unintentionally.
When each filter is used with another filter, such as Elevation, the bug disappears.https://gitlab.kitware.com/paraview/paraview/-/issues/21605Cannot Load Time-Series Ensight Data (*.case file format)2022-10-18T04:33:55-04:00Andrew CarlsonCannot Load Time-Series Ensight Data (*.case file format)Opening an ensight case file formatted for a single data point (i.e. transient or single point in time) works fine...
Having a *.case file that points several data files does not work.
I can open it with a work around. And that is:
...Opening an ensight case file formatted for a single data point (i.e. transient or single point in time) works fine...
Having a *.case file that points several data files does not work.
I can open it with a work around. And that is:
1. Replace the wildcard * with ****
2. Replace the "filename numbers file:" with "filename numbers:" and the list of numbers
3. Repalce the "time values file:" with "time values:" and the times that correspond to each of the filenames
For example, see the attached original ensight data and adjusted to get it working.
- 01_transient_original_ensight_results
- 02_transient_modified_ensight_results
Also there, as a comparison is results from a steady state run (00_steadyState_ensight_results), to show it also works if only a single data point is indicted
My ensight data was created from CFD software Simerics... but this should not be relevant.https://gitlab.kitware.com/paraview/paraview/-/issues/21620Cell Data is not supported in exporting to GLTF model2022-10-25T23:07:23-04:00Jimmy-KLCell Data is not supported in exporting to GLTF modelIf we use cell data to color the model, the exported gltf model will have an error. Please check the question that I submitted at the community support: [export-glft-error-from-paraview](https://discourse.paraview.org/t/export-glft-error...If we use cell data to color the model, the exported gltf model will have an error. Please check the question that I submitted at the community support: [export-glft-error-from-paraview](https://discourse.paraview.org/t/export-glft-error-from-paraview/10585)
And also I found the coordinate system will be different in gltf model from in paraview. It seems the y and z axis is changed.https://gitlab.kitware.com/paraview/paraview/-/issues/21515Paraview does not seem to be able to read adios bp4 format in parallel2022-10-27T11:46:42-04:00F. S.Paraview does not seem to be able to read adios bp4 format in parallelI have tried to read in parallel the attached bp4 case with all the paraview versions (built and not) from 5.8. It always works in sequential, it sometimes works until 4-5 processors, but never beyond. The issue comes with all the cases ...I have tried to read in parallel the attached bp4 case with all the paraview versions (built and not) from 5.8. It always works in sequential, it sometimes works until 4-5 processors, but never beyond. The issue comes with all the cases that I have tested. Here is a simple 2D test case. I assume that if there were mistakes in my output, paraview would not be able to read it at all, even in sequential. That is why I assume that the error comes from paraview.
[serpentine_000001_bp4.tar.xz](/uploads/c14cd6395316ae05ab1dc7159d4d92d6/serpentine_000001_bp4.tar.xz)Caitlin RossCaitlin Rosshttps://gitlab.kitware.com/paraview/paraview/-/issues/21658Labels containing LaTeX rendered with the wrong font2022-11-16T04:38:36-05:00Massimiliano LeoniLabels containing LaTeX rendered with the wrong fontWhen adding LaTeX content to a label [with dollar signs] Paraview will correctly render the LaTeX portion of the label. However, the whole label is then rendered with a font of Paraview's choice, not with the one the user wants.
I attach...When adding LaTeX content to a label [with dollar signs] Paraview will correctly render the LaTeX portion of the label. However, the whole label is then rendered with a font of Paraview's choice, not with the one the user wants.
I attach a video that demonstrates the issue.
[labelBug.mkv](/uploads/fd4a530d358c43e64772d7e8415f97a9/vokoscreen-2022-11-15_18-13-16.mkv)https://gitlab.kitware.com/paraview/paraview/-/issues/19553LineChartView does not automatically update with LiveProgrammableSource2022-12-02T08:20:42-05:00Nicolas VuailleLineChartView does not automatically update with LiveProgrammableSourceSteps:
* LiveProgrammableSource
* output vtkTable
* Script
``` python
from numpy.random import randn
output.RowData.append(randn(10), 'noise')
```
* * Script (CheckNeedsUpdate)
``` python
self.SetNeedsUpdate(True)
```
* PlotDa...Steps:
* LiveProgrammableSource
* output vtkTable
* Script
``` python
from numpy.random import randn
output.RowData.append(randn(10), 'noise')
```
* * Script (CheckNeedsUpdate)
``` python
self.SetNeedsUpdate(True)
```
* PlotData
LineChart View is updated only on mouse move hove
see : https://discourse.paraview.org/t/updating-filters-of-live-programmable-sources-on-new-data/2959
tested on master (745783903840e095e681cf8e61bf4519a439e2a4)https://gitlab.kitware.com/paraview/paraview/-/issues/20408glTF Exporter only export first block from multiblock2022-12-08T09:04:39-05:00Mathieu Westphal (Kitware)glTF Exporter only export first block from multiblockglTF Exporter only export first block from multiblock
Steps to reproduce:
* Open ParaView
* Open Can.ex2
* Export scene to glTF
* Visualize glTF in another tools
* Only first block is exported
@ken-martinglTF Exporter only export first block from multiblock
Steps to reproduce:
* Open ParaView
* Open Can.ex2
* Export scene to glTF
* Visualize glTF in another tools
* Only first block is exported
@ken-martinhttps://gitlab.kitware.com/paraview/paraview/-/issues/20563Wrong tab information for HTG2023-01-03T12:08:12-05:00Yohann Bearzi (Kitware)Wrong tab information for HTGThe information tab for HTG has one wrong value (see screenshot below). `Number of Vertices` should not be 0. As a first guess, the problem could come from a wrongly initialized / updated attribute inside `vtkHyperTreeGrid`.
![image](/u...The information tab for HTG has one wrong value (see screenshot below). `Number of Vertices` should not be 0. As a first guess, the problem could come from a wrongly initialized / updated attribute inside `vtkHyperTreeGrid`.
![image](/uploads/519aa394154eba025fdba1207adb4097/image.png)
cc @patchett2002 @sebastien.jourdain @utkarsh.ayachit @mwestphalhttps://gitlab.kitware.com/paraview/paraview/-/issues/21705Can't save animation with screen width greater than 2100 pixels2023-01-10T22:28:59-05:00Danya AlrawiCan't save animation with screen width greater than 2100 pixelsLoad example visualization "Exodus II file with timesteps" in ParaView then save animation, file type set to VFW AVI. For image resolution select preset 4k UHD. With quality set to worst and frame rate set to 1 the export fails and saves...Load example visualization "Exodus II file with timesteps" in ParaView then save animation, file type set to VFW AVI. For image resolution select preset 4k UHD. With quality set to worst and frame rate set to 1 the export fails and saves an empty file. This is using compressor four CC I420.https://gitlab.kitware.com/paraview/paraview/-/issues/21730PV5.11 Segmentation fault Histogram2D2023-01-11T04:32:46-05:00Jean M. FavrePV5.11 Segmentation fault Histogram2DThe attached Python script demonstrates how v5.11 seg faults when changing the number of input points in the PointSource object. Execute the Python script and change pointSource1.NumberOfPoints to a different value and it seg faults.
[...The attached Python script demonstrates how v5.11 seg faults when changing the number of input points in the PointSource object. Execute the Python script and change pointSource1.NumberOfPoints to a different value and it seg faults.
[pvHistogram2D.py](/uploads/cc1b9d15a22c7d13d7372ed392fcf9f6/pvHistogram2D.py)https://gitlab.kitware.com/paraview/paraview/-/issues/21417Error message for clip or slice in a saved state2023-01-13T07:06:14-05:00Venke BeckerError message for clip or slice in a saved stateWhenever a clip or slice is applied to a netcdf-volume and the state is saved, an error message appears when opening the state:
```
ERROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtk...Whenever a clip or slice is applied to a netcdf-volume and the state is saved, an error message appears when opening the state:
```
ERROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 760
vtkPVDataRepresentationPipeline (0000023D15BA3CB0): Input for connection index 0 on input port index 0 for algorithm vtkImageSliceRepresentation(0000023D15DEC140) is of type vtkRectilinearGrid, but a vtkImageData is required.
```
Everything renders fine and as expected, the error message apparently has no consequence.
Example data can be found here: https://discourse.paraview.org/t/error-message-for-clip-or-slice-in-a-saved-state/9710https://gitlab.kitware.com/paraview/paraview/-/issues/21743Table to point filter fails when coordinates contain NaN2023-01-19T04:58:45-05:00Francesco FiuscoTable to point filter fails when coordinates contain NaNWhen the Table to point filter is used to create points from a CSV file(s), if one of the coordinates is NaN, the filter fails. I have not tried with Paraview 5.10 and 5.11, but this behaviour was observed with versions <= 5.9.When the Table to point filter is used to create points from a CSV file(s), if one of the coordinates is NaN, the filter fails. I have not tried with Paraview 5.10 and 5.11, but this behaviour was observed with versions <= 5.9.https://gitlab.kitware.com/paraview/paraview/-/issues/21754Pb with PointDataToCellData with categorical data2023-01-30T07:02:15-05:00Loïc BerthePb with PointDataToCellData with categorical dataI have the following issue when I use the PointDatatoCellData filter:
* when I activate the "Categorical Data" option, it seems that this filter produces no CellData array
* without this option, I get CellData arrays as expected.
Her...I have the following issue when I use the PointDatatoCellData filter:
* when I activate the "Categorical Data" option, it seems that this filter produces no CellData array
* without this option, I get CellData arrays as expected.
Here is a sample python script to demonstrate my issue :
```python
import paraview
from paraview.simple import *
# create a new 'Superquadric'
superquadric1 = Superquadric(registrationName='Superquadric1')
# create a new 'Python Calculator'
pythonCalculator1 = PythonCalculator(registrationName='PythonCalculator1', Input=superquadric1)
pythonCalculator1.Expression = '(points[:, 0] > 0).astype(int) + 2*(points[:, 1] > 0).astype(int) + 4*(points[:, 2] > 0).astype(int)'
pythonCalculator1.ArrayName = 'domain'
# create a new 'Point Data to Cell Data'
pointDatatoCellData1 = PointDatatoCellData(registrationName='PointDatatoCellData1', Input=pythonCalculator1)
pointDatatoCellData1.ProcessAllArrays = 0
pointDatatoCellData1.PointDataArraytoprocess = ['domain']
pointDatatoCellData1.CategoricalData = 1
```
I have this issue with different versions of Paraview (5.8, 5.10, 5.11).https://gitlab.kitware.com/paraview/paraview/-/issues/21779Chart svg export fails with logarithmic bottom axis2023-02-20T03:47:00-05:00WinstonMechanicsChart svg export fails with logarithmic bottom axisI have encountered a problem when trying to export a svg file from a LineChartView.
If logarithmic bottom axis is enabled the plotted data disappears from the exported svg file as shown in the pictures below.
Minimal example to repro...I have encountered a problem when trying to export a svg file from a LineChartView.
If logarithmic bottom axis is enabled the plotted data disappears from the exported svg file as shown in the pictures below.
Minimal example to reproduce in ParaView 5.11.0 with Ubuntu 22.04:
1. Open the attached data.csv (Toggle Add Tab Field Delimiter option)
2. Make linechart view and show the data.csv
3. In series parameters check YData and use XData for X array.
4. In Bottom Axis Range enable "Bottom Axis Use Custom Range" option and set minimum to 1 and maximum to 1000.
5. Toggle "Bottom Axis Log Scale"
6. Export Scene -> chart.svg
Is there any option that could be enabled to properly get the chart exported into svg file?
[data.csv](/uploads/0caa1320469550ebeeb6d19e44dc5ea0/data.csv)
The chart working as expected after .png export (left) and the chart not displaying correctly after .svg export (right).
![chart](/uploads/d736632a58bd6e78e6c878844d8d6e25/chart.png) ![chart.svg](/uploads/4405b019736acad1471b5dade5388292/chart.svg)https://gitlab.kitware.com/paraview/paraview/-/issues/21780Obj Files cannot Play Sequentially2023-02-22T03:55:29-05:00Fan FengObj Files cannot Play SequentiallyAfter automatically loading an obj group with 4 digits as the suffix, the obj file is not switched based on the current frame number. It only stuck on the first obj file in the group.
[mesh0000.obj](/uploads/ae3f5bd2ae6c488700ac028eff99...After automatically loading an obj group with 4 digits as the suffix, the obj file is not switched based on the current frame number. It only stuck on the first obj file in the group.
[mesh0000.obj](/uploads/ae3f5bd2ae6c488700ac028eff997fb3/mesh0000.obj)
[mesh0001.obj](/uploads/0f95e5b8a4ee832bb213e5efe33fc069/mesh0001.obj)
[mesh0002.obj](/uploads/c64131d6a08b96a56e9ad6d9e22d670b/mesh0002.obj)
[mesh0003.obj](/uploads/76788c92af1edc67e42708a0819e29ff/mesh0003.obj)
[mesh0004.obj](/uploads/21745d991403d79e61efa7c99dd9c6ba/mesh0004.obj)
[mesh0005.obj](/uploads/040508ff3220a9b8b3155c774e32f6d5/mesh0005.obj)
[mesh0006.obj](/uploads/3049924681ca664f72eb15a753d36ee3/mesh0006.obj)
[mesh0007.obj](/uploads/7b798a7e3597725e4229cf008810f074/mesh0007.obj)
[mesh0008.obj](/uploads/cd253eb794835eedf2b25f0c01e23f81/mesh0008.obj)https://gitlab.kitware.com/paraview/paraview/-/issues/21789PythonAlgorithmExamples.py fails to load2023-02-26T20:15:47-05:00Juan Jose CasafrancaPythonAlgorithmExamples.py fails to loadThe PythonAlgorithmExamples.py examples fail to load in Paraview 5.10 and Paraview 5.11 which are the version I have tested it.
```
Failed to call `paraview.detail.pythonalgorithm.load_plugin`.
Traceback (most recent call last):
File...The PythonAlgorithmExamples.py examples fail to load in Paraview 5.10 and Paraview 5.11 which are the version I have tested it.
```
Failed to call `paraview.detail.pythonalgorithm.load_plugin`.
Traceback (most recent call last):
File "/opt/paraview/lib/python3.10/site-packages/paraview/detail/pythonalgorithm.py", line 509, in load_plugin
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/jjcasmar/Downloads/PythonAlgorithmExamples.py", line 16, in <module>
class PythonSuperquadricSource(VTKPythonAlgorithmBase):
File "/home/jjcasmar/Downloads/PythonAlgorithmExamples.py", line 57, in PythonSuperquadricSource
def SetThetaResolution(self, x):
File "/opt/paraview/lib/python3.10/site-packages/paraview/detail/pythonalgorithm.py", line 76, in decorator
updated_attrs = update_func(original_func, attrs)
File "/opt/paraview/lib/python3.10/site-packages/paraview/detail/pythonalgorithm.py", line 144, in _update_vectorproperty_defaults
assert attrs["number_of_elements"] == _count(attrs["default_values"])
AssertionError
( 9.646s) [paraview ] vtkPVPluginLoader.cxx:532 ERR| vtkPVPluginLoader (0x56122d209ba0): /home/jjcasmar/Downloads/PythonAlgorithmExamples.py: /home/jjcasmar/Downloads/PythonAlgorithmExamples.py: invalid ELF header
```5.11.1 (Winter 2023)https://gitlab.kitware.com/paraview/paraview/-/issues/21790Default position of legend is not preserved2023-02-27T04:04:16-05:00Petr KryslDefault position of legend is not preservedThe problem has been described in the forum: https://discourse.paraview.org/t/default-settings-of-legend-not-saved/11480The problem has been described in the forum: https://discourse.paraview.org/t/default-settings-of-legend-not-saved/11480https://gitlab.kitware.com/paraview/paraview/-/issues/21792Screenshot taken with split view containing a spreadsheetview is wrongly fram...2023-03-02T03:33:15-05:00Will BainbridgeScreenshot taken with split view containing a spreadsheetview is wrongly framed and has wrong resolutionTo reproduce, load some data, split the view, create a spreadsheet view, and frame the data nicely in one render view.
![Screenshot1](/uploads/4a44dee95f10e3bdb0d9e88786837ba2/Screenshot1.png)
Select the render view and go to File > Sa...To reproduce, load some data, split the view, create a spreadsheet view, and frame the data nicely in one render view.
![Screenshot1](/uploads/4a44dee95f10e3bdb0d9e88786837ba2/Screenshot1.png)
Select the render view and go to File > Save Screenshot.
![Screenshot2_](/uploads/9b2a78ed75457b5196655b989d80de5f/Screenshot2_.png)
Enter a file name and hit OK. Note now that the views shift to the left and reduce in size.
![Screenshot3_](/uploads/31cdf72b0932dc2057ffd2067ddd4412/Screenshot3_.png)
Retain the default resolution and such and hit OK. The resulting image has a reduced size, and parts have been clipped out of the image.
![Result_](/uploads/a1b7ffc785ed865358c99bc3f66fad71/Result_.png)
Edit: We first noticed this in 5.8.1. This bug was not present in 5.6.3.https://gitlab.kitware.com/paraview/paraview/-/issues/21807Plot Over Line Crash in recent versions (working fine in version 5.4.1)2023-03-09T11:33:24-05:00Joshua ObradorsPlot Over Line Crash in recent versions (working fine in version 5.4.1)I'm using ParaView 5.11.0 on Windows and noticed Plot Over Line leads to a crash under certain circumstances e.g. when the line intersects parts of the model that contain different properties (in my files POL crashes if done from top to ...I'm using ParaView 5.11.0 on Windows and noticed Plot Over Line leads to a crash under certain circumstances e.g. when the line intersects parts of the model that contain different properties (in my files POL crashes if done from top to bottom of the column but will not crash if done from Y=1200 to top).
I have verified that this does not happen in ParaView 5.4.1.
Any help on that would be much appreciated.
[Test_POL_015.plt](/uploads/0c6aef36996b541c0b4fd4560e43905d/Test_POL_015.plt)[Test_POL_015.xmf](/uploads/64bd736f6c277249ecbad7cf45bfaf1d/Test_POL_015.xmf)Yohann Bearzi (Kitware)Yohann Bearzi (Kitware)