ParaView issueshttps://gitlab.kitware.com/paraview/paraview/-/issues2023-12-07T20:48:07-05:00https://gitlab.kitware.com/paraview/paraview/-/issues/22415Time Manager Animations needs to be clarified2023-12-07T20:48:07-05:00W. Alan ScottTime Manager Animations needs to be clarifiedThe Time Manager Animations needs clarification. Do the following:
* 5.12.0-RC1, Linux, builtin server.
* File/ Open/ Examples/ can.exo. Apply
* View/ Time Manager.
Now, we want to create an animation track.
* Animations/ Camera/ Fo...The Time Manager Animations needs clarification. Do the following:
* 5.12.0-RC1, Linux, builtin server.
* File/ Open/ Examples/ can.exo. Apply
* View/ Time Manager.
Now, we want to create an animation track.
* Animations/ Camera/ Follow Path. Click the magic blue +.
I now don't know what type of Camera control I have made. My first suggestion would be to add the words right on the track - "Follow Path Animation. Click here to customize". If that doesn't work, add another line below Camera - Renderview1.5.13 (Summer 2024)https://gitlab.kitware.com/paraview/paraview/-/issues/22414paraview without python using external VTK with python results in errors2023-12-12T13:07:44-05:00Dan Lipsaparaview without python using external VTK with python results in errors```
Using 'QtHelp' without 'QtWebEngine' will ignore embedded javascript and *.js files for documentation
Enabled modules: VTK(172), ParaView(42 + 5)
Configuring done (4.0s)
CMake Error at /home/local/KHQ/dan.lipsa/projects/vtk/external_...```
Using 'QtHelp' without 'QtWebEngine' will ignore embedded javascript and *.js files for documentation
Enabled modules: VTK(172), ParaView(42 + 5)
Configuring done (4.0s)
CMake Error at /home/local/KHQ/dan.lipsa/projects/vtk/external_vtk/build/install/lib/cmake/vtk-9.3/VTK-targets.cmake:1308 (set_target_properties):
The link interface of target "VTK::Python" contains:
Python3::Module
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
/home/local/KHQ/dan.lipsa/projects/vtk/external_vtk/build/install/lib/cmake/vtk-9.3/vtk-config.cmake:149 (include)
CMakeLists.txt:65 (find_package)
CMake Error at /home/local/KHQ/dan.lipsa/projects/vtk/external_vtk/build/install/lib/cmake/vtk-9.3/VTK-targets.cmake:1342 (set_target_properties):
The link interface of target "VTK::PythonUsed" contains:
Python3::Python
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
/home/local/KHQ/dan.lipsa/projects/vtk/external_vtk/build/install/lib/cmake/vtk-9.3/vtk-config.cmake:149 (include)
CMakeLists.txt:65 (find_package)
Generating done (1.7s)
```https://gitlab.kitware.com/paraview/paraview/-/issues/22413GmshIO plugin assumes signed char which breaks on ARM2023-12-14T06:00:34-05:00Drew ParsonsGmshIO plugin assumes signed char which breaks on ARMAt https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/GmshIO/IO/gmshCommon.h#L9
the GmshIO plugin sets
```
enum class GmshPrimitive : char
{
Unsupported = -1,
...
}
```
So a value of `-1` is being set to type `char`. ...At https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/GmshIO/IO/gmshCommon.h#L9
the GmshIO plugin sets
```
enum class GmshPrimitive : char
{
Unsupported = -1,
...
}
```
So a value of `-1` is being set to type `char`. This assumes that char is signed, which apparently is not always the case.
For instance on ARM (arm64) architecture, paraview 5.11.2 fails to build with GmshIO enabled, giving an error
```
[ 26%] Building CXX object VTK/Filters/Core/CMakeFiles/FiltersCore.dir/vtkMassProperties.cxx.o
/usr/bin/c++ -o vtkMassProperties.cxx.o -c vtkMassProperties.cxx
In file included from Plugins/GmshIO/IO/vtkGmshReader.cxx:16:
Plugins/GmshIO/IO/gmshCommon.h:9:18: error: enumerator value ‘-1’ is outside the range of underlying type ‘char’
9 | Unsupported = -1,
| ^
```
A full build log can be found at https://buildd.debian.org/status/fetch.php?pkg=paraview&arch=arm64&ver=5.11.2%2Bdfsg-3&stamp=1701895041&raw=0
At https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/GmshIO/IO/vtkGmshWriter.cxx#L55 `GmshPrimitive` is used in association with VTKCellType as `unsigned char`,
```
static const std::unordered_map<unsigned char, GmshPrimitive> TRANSLATE_CELLS_TYPE;
```
But vtkCellType.h does define `VTK_EMPTY_CELL = 0`, so it probably would not work well to set `GmshPrimitive::Unsupported` to 0 instead of -1.
The value (and sign) is used at https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/GmshIO/IO/vtkGmshWriter.cxx#L140 but handled alongside explicit `unsigned char`,
```
for (unsigned char currentType = 1; currentType < GmshWriterInternal::MAX_TAG; ++currentType)
{
std::vector<std::size_t>& indexes = idxPerType[currentType];
if (indexes.empty())
{
continue;
}
char gmshType =
static_cast<char>(GmshWriterInternal::TRANSLATE_CELLS_TYPE.find(currentType)->second);
// If this type is not natively supported, it will be transleted in either lines or triangles
if (gmshType < 0)
{
continue;
}
...
```
So `unsigned char` is explicitly used here for `currentType`, while an unsupported type is handled via a negative value in `gmshType`.
Should the GmshPrimitive enum in gmshCommon.h, and `gmshType` in vtkGmshWriter.cxx, and elsewhere, be declared explicitly as type `signed char` instead of `char`? I gather that just using `int` itself would not be appropriate.https://gitlab.kitware.com/paraview/paraview/-/issues/22412Remote server-Ghost Cell generator hangs v5.12.0-230-Master.2024-03-25T15:15:05-04:00Phil SmithRemote server-Ghost Cell generator hangs v5.12.0-230-Master.Tested on Windows, MacOS x86 and Linux Paraview v5.12.0-230-Master. Steps to reproduce:
1. Connect to our favorite remote server
2. Open g1s1 dataset
3. Apply Ghost cell generator filter
The application freezes up and will not respond. ...Tested on Windows, MacOS x86 and Linux Paraview v5.12.0-230-Master. Steps to reproduce:
1. Connect to our favorite remote server
2. Open g1s1 dataset
3. Apply Ghost cell generator filter
The application freezes up and will not respond. Need to force quit the application to get it to respond. The server stops responding, so I suspect that the server is crashing. The ghost cells are not produced.5.12 (Winter 2023)Yohann Bearzi (Kitware)Yohann Bearzi (Kitware)https://gitlab.kitware.com/paraview/paraview/-/issues/22411Windows v5.12.0-RC1 Windows/Save Animation/.avi fails2024-01-08T13:43:58-05:00Phil SmithWindows v5.12.0-RC1 Windows/Save Animation/.avi failsWhen saving .avi animation with with Windows 11 using v5.12.0-RC1, here is the error that is produced:
```
Warning: In vtkSMSaveAnimationProxy.cxx, line 398
vtkSMSaveAnimationProxy (000001F3CAF0B920): The requested resolution...When saving .avi animation with with Windows 11 using v5.12.0-RC1, here is the error that is produced:
```
Warning: In vtkSMSaveAnimationProxy.cxx, line 398
vtkSMSaveAnimationProxy (000001F3CAF0B920): The requested resolution '(874, 500)' has been changed to '(872, 500)' to match format specification.
Generic Warning: In vtkSMPropertyHelper.cxx, line 570
Failed to locate property: FileName
Generic Warning: In vtkSMPropertyHelper.cxx, line 367
Call not supported for the current property type.
ERROR: In vtkAVIWriter.cxx, line 77
vtkAVIWriter (000001F3C99B4D50): Write:Please specify a FileName
```
Here are the steps to reproduce:
1. Open Can, Apply
2. Save Animation
3. Select the directory you would like to save it to, enter a file name to save it to as well, select OK
4. Use the default selections on the following screen and select OK
5. It appears to save it, however, the above error is displayed, and no file is saved.https://gitlab.kitware.com/paraview/paraview/-/issues/22410vtkblockcolors disappears after using volume rendering2023-12-05T12:03:58-05:00W. Alan Scottvtkblockcolors disappears after using volume renderingThe option to paint by vtkblockcolors disappears after using volume rendering. Here is how to replicate.
* 5.12.0-RC1, builtin, Windows
* Read can.exo. Apply.
* Paint by id
* Volume.
* Surface.
vtkBlockColors is no longer available to...The option to paint by vtkblockcolors disappears after using volume rendering. Here is how to replicate.
* 5.12.0-RC1, builtin, Windows
* Read can.exo. Apply.
* Paint by id
* Volume.
* Surface.
vtkBlockColors is no longer available to paint with. This is a bug.https://gitlab.kitware.com/paraview/paraview/-/issues/22409ParaView 5.12.0-RC1: when saving stereo pair images, left eye is unchanged fr...2023-12-05T06:43:41-05:00Cory Quammencory.quammen@kitware.comParaView 5.12.0-RC1: when saving stereo pair images, left eye is unchanged from non-stereo imageVersion: ParaView 5.12.0-RC1
Configuration: builtin server
Steps to reproduce bug:
* Start ParaView
* Add **Box** source.
* From toolbar click Apply isometric view
* File -> Save Screenshot. Give the file a name, e.g., "stereo.png"
* In...Version: ParaView 5.12.0-RC1
Configuration: builtin server
Steps to reproduce bug:
* Start ParaView
* Add **Box** source.
* From toolbar click Apply isometric view
* File -> Save Screenshot. Give the file a name, e.g., "stereo.png"
* In the Save Screenshot Options dialog, set **Stereo Mode** to "Both Eyes". Click OK.
* File -> Save Screenshot. Give the file a name, e.g., "nostereo.png"
* In the Save Screenshot Options dialog, make sure **Stereo Mode** is set to "No change". Click OK.
* In an image viewer, compare stereo_left.png to nostereo.png. They are the same. I expect them to be different.
Note: leaving the left eye unmodified and applying an eye separation to only the right eye may be the actual design.https://gitlab.kitware.com/paraview/paraview/-/issues/22408pvserver: make it so render windows in Windows do not need to always be on top2023-12-04T15:56:43-05:00Cory Quammencory.quammen@kitware.compvserver: make it so render windows in Windows do not need to always be on top5.13 (Summer 2024)https://gitlab.kitware.com/paraview/paraview/-/issues/22407Feature: add ability to specify which representations are included in camera ...2023-12-04T15:53:39-05:00Cory Quammencory.quammen@kitware.comFeature: add ability to specify which representations are included in camera Reset actionAdd a way, only in Python is okay, to reset the view to ensure a select list of representations is centered in the view.Add a way, only in Python is okay, to reset the view to ensure a select list of representations is centered in the view.https://gitlab.kitware.com/paraview/paraview/-/issues/22406CAVEInteraction: let roles be listed in order declared in Python interactor s...2023-12-04T15:43:02-05:00Cory Quammencory.quammen@kitware.comCAVEInteraction: let roles be listed in order declared in Python interactor script and not alphabetized5.13 (Summer 2024)https://gitlab.kitware.com/paraview/paraview/-/issues/22405CAVEInteraction: in Python interactor, object/attribute pulldowns should be b...2023-12-04T14:56:19-05:00Cory Quammencory.quammen@kitware.comCAVEInteraction: in Python interactor, object/attribute pulldowns should be blankAccess to all proxies and their properties is already available within the script.Access to all proxies and their properties is already available within the script.5.13 (Summer 2024)https://gitlab.kitware.com/paraview/paraview/-/issues/22404Update NVIDIA IndeX plugin for ParaView 5.12.02023-12-06T08:47:45-05:00Cory Quammencory.quammen@kitware.comUpdate NVIDIA IndeX plugin for ParaView 5.12.0* [x] update CI infrastructure with new drivers to support the new version
* [x] [superbuild changes](https://gitlab.kitware.com/paraview/paraview-superbuild/-/merge_requests/1133 "Adapt to NVIDIA IndeX binaries for ParaView 5.12.")
* [x...* [x] update CI infrastructure with new drivers to support the new version
* [x] [superbuild changes](https://gitlab.kitware.com/paraview/paraview-superbuild/-/merge_requests/1133 "Adapt to NVIDIA IndeX binaries for ParaView 5.12.")
* [x] [paraview changes](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6582 "NVIDIA IndeX plugin for ParaView 5.12.0")
cc @ben.boeckel5.12 (Winter 2023)Jörg MensmannJörg Mensmannhttps://gitlab.kitware.com/paraview/paraview/-/issues/22403Segmentation fault with 5.12RC1 and vtk.series2024-01-17T08:28:08-05:00baloeSegmentation fault with 5.12RC1 and vtk.seriesParaview version 5.12RC1 quits with a segmentation fault after a couple of time steps when iterating over a `vtk.series` file.
I have not had this issue with 5.11.
The output I get simply states
```
error: exception occurred: Segmentat...Paraview version 5.12RC1 quits with a segmentation fault after a couple of time steps when iterating over a `vtk.series` file.
I have not had this issue with 5.11.
The output I get simply states
```
error: exception occurred: Segmentation fault
```
that's all.
A MWE is provided in my response below.Spiros TsalikisSpiros Tsalikishttps://gitlab.kitware.com/paraview/paraview/-/issues/22402ResetSession() breaks GetLayout()2024-03-27T08:01:49-04:00baloeResetSession() breaks GetLayout()running the following through `pvbatch`
```python
from paraview.simple import *
renderView1 = GetActiveViewOrCreate('RenderView')
layout1 = GetLayout()
print(layout1)
ResetSession()
renderView1 = GetActiveViewOrCreate('RenderView')
la...running the following through `pvbatch`
```python
from paraview.simple import *
renderView1 = GetActiveViewOrCreate('RenderView')
layout1 = GetLayout()
print(layout1)
ResetSession()
renderView1 = GetActiveViewOrCreate('RenderView')
layout1 = GetLayout()
print(layout1)
```
prints
```
<paraview.servermanager.ViewLayout object at 0x7f841067ffd0>
None
```
I am expecting another Viewlayout reference instead of that None in the second line.
This renders `ResetSession()` useless for me right now, and I have needed `ResetSession()` in the past to mitigate memory leakage issues when iterating over time steps. So I think it is a feature worth having just in case.https://gitlab.kitware.com/paraview/paraview/-/issues/22401Superbuild is failing using system python2024-02-07T07:46:44-05:00W. Alan ScottSuperbuild is failing using system pythonSuperbuild is failing using system python. The issue is pythonwheel is trying to be built and installed, and the install is trying to update the system. We don't have permission to write into system Python. Thus, the build breaks.
I ...Superbuild is failing using system python. The issue is pythonwheel is trying to be built and installed, and the install is trying to update the system. We don't have permission to write into system Python. Thus, the build breaks.
I have given detailed information to Ben offline.
This doesn't impact ParaView itself, but rather memory footprint for Catalyst.
@ben.boeckel5.12.1 (Spring 2024)Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/paraview/paraview/-/issues/22400Default readers not honored on MacOS2024-03-07T20:18:17-05:00Nathan WoodsDefault readers not honored on MacOSRelated to this Discourse: https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/7
When multiple readers are available for a given file, Paraview prompts the user to select the appropriate one. The G...Related to this Discourse: https://discourse.paraview.org/t/default-reader-not-honored-when-loading-exodus-file/13387/7
When multiple readers are available for a given file, Paraview prompts the user to select the appropriate one. The GUI presents an option to set this as the default reader for that file type. On Windows and Linux, future instances of Paraview automatically use the default reader without prompting a user selection. On MacOS, it is not apparent that the choice of default reader has any effect at all.
To reproduce (on MacOS):
- Open a file with more than one allowable reader (we tested with IOSS/Legacy Exodus).
- Choose the appropriate reader and "Set reader as default".
- Restart Paraview
- Open the same file to be prompted again to choose the reader5.12.1 (Spring 2024)https://gitlab.kitware.com/paraview/paraview/-/issues/22399Reset Session does not clear any memory2024-03-27T06:48:45-04:00baloeReset Session does not clear any memoryReset Session does not free any memory.
Neither when invoking through the GUI (Edit → Reset Session) nor through python.
Observed for ParaView 5.12 RC1.Reset Session does not free any memory.
Neither when invoking through the GUI (Edit → Reset Session) nor through python.
Observed for ParaView 5.12 RC1.https://gitlab.kitware.com/paraview/paraview/-/issues/22398ParaViewExample-Catalyst2/PythonFullExample Test is flaky on fedora static CI2023-12-23T01:53:10-05:00Mathieu Westphal (Kitware)ParaViewExample-Catalyst2/PythonFullExample Test is flaky on fedora static CIParaViewExample-Catalyst2/PythonFullExample Test is flaky on fedora static CI
![a](/uploads/92deafad7c52489880baca0c99955f79/a.png)
The test is being exluded here: https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6607ParaViewExample-Catalyst2/PythonFullExample Test is flaky on fedora static CI
![a](/uploads/92deafad7c52489880baca0c99955f79/a.png)
The test is being exluded here: https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6607https://gitlab.kitware.com/paraview/paraview/-/issues/22397Unable to build any plugin with VisualStudio generator2023-12-11T08:10:42-05:00Mathieu Westphal (Kitware)Unable to build any plugin with VisualStudio generatorSince https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6595, it is not possible to compile a plugin configure with VisualStudio generator.
It fails with:
```
Generating client_server wrapper sources for vtkMyElevationFilt...Since https://gitlab.kitware.com/paraview/paraview/-/merge_requests/6595, it is not possible to compile a plugin configure with VisualStudio generator.
It fails with:
```
Generating client_server wrapper sources for vtkMyElevationFilter
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241
,5): error MSB8066: Custom build for 'C:\dev\pv\src\Examples\Plugins\ElevationFilter\build\CMakeFiles\a4a4616c0ee607ca3
659078a352bfdfe\vtkMyElevationFilterClientServer.cxx.rule;C:\dev\pv\src\Examples\Plugins\ElevationFilter\Plugin\CMakeLi
sts.txt' exited with code 1. [C:\dev\pv\src\Examples\Plugins\ElevationFilter\build\Plugin\ElevationFiltersCS.vcxproj
```
Steps to reproduce:
- configure and build ParaView master (with Ninja in my case)
- configure a plugin with VisualStudio generator against built ParaView
- build the pluginBen BoeckelBen Boeckelhttps://gitlab.kitware.com/paraview/paraview/-/issues/22396`--connect-id` argument with a value > int32 max fails with unhelpfull error2023-12-04T08:15:19-05:00Mathieu Westphal (Kitware)`--connect-id` argument with a value > int32 max fails with unhelpfull errorThe following command fails with:
```
> ./bin/paraview --connect-id 2147483648
Could not convert: --connect-id = 2147483648
Usage: /home/glow/dev/paraview/others/ParaView-5.11.1-MPI-Linux-Python3.9-x86_64/bin/paraview-real [OPTIONS]
[...The following command fails with:
```
> ./bin/paraview --connect-id 2147483648
Could not convert: --connect-id = 2147483648
Usage: /home/glow/dev/paraview/others/ParaView-5.11.1-MPI-Linux-Python3.9-x86_64/bin/paraview-real [OPTIONS]
[General Guidelines]
Values for options can be specified either with a space (' ') or an equal-to sign ('='). Thus, '--option=value' and '--option
value' are equivalent.
Multi-valued options can be specified by providing the option multiple times or separating the values by a comma (','). Thus,
'--moption=foo,bar' and '--moption=foo --moption=bar' are equivalent.
Short-named options with more than one character name are no longer supported, and should simply be specified as long-named option
by adding an additional '-'. Thus, use '--dr' instead of '-dr'.
Some options are described in this help text with the format '--moption TYPE:name' where 'TYPE' specifies what kind of value is
expected for the option 'name'. Type 'ENUM' means there are several possible predefined values for the option. Type 'TEXT' means
that the filename option is any text string.
Numeric specifiers 'INT' and 'FLOAT' in this help text indicate the expected option value type of some options, either an integer
or floating point number.
Try `--help` for more more information.
```
The error message is unclear (and actually misleading, because it mentions formatting but `=` was never used although it makes look like it was).
The reason for this to not work is because 2147483648 > int max.
A better error message would help users.