i am reading a tiff file, using: smalltif = TIFFSeriesReader(registrationName=pathForTiffFile.split('/')[-1].replace('.tif',''), FileNames=[pathForTiffFile])
the thing is, that if i try to ‘display’ using the eye (or fetch the data from median) paraview crashes without any message or any output in the terminal.
on the contrary, if i use transform filter for example, there is no issue at all:
that if i try to ‘display’ using the eye (or fetch the data from median) paraview crashes without any message or any output in the terminal.
Being able to click the eye here is a bug and should not be available. You always need to press apply before clicking the eye. Does that fixes the issue ?
Yes but it was more of a question in regards to the python side of things not the gui. On why , or how to know, when the UpdatePipeline() it is necessary and when not. As in my previous example, the transform filter does its job normally while the median makes paraview crash (without any error at all)
There is a bug in vtkImageMedian3D where it does not check that an array has been set before accessing it which causes the segfault. However, adding the check would just mean that ParaView would error out instead.
Indeed, calling Fetch() an a non-updated pipeline is not supported. It could be supported but it currently is not. Always UpdatePipeline before Fetch.
well, and how does it that with transform it does not give any error?
Indeed, calling Fetch() an a non-updated pipeline is not supported. It could be supported but it currently is not. Always UpdatePipeline before Fetch.
in my case I simply put it inside the function i use to fetch the data (i have a function that calls fetch inside of it), but would be awsome if when fetch is called updatePipeline is called also, as it is a necessary thing and it would reduce for other users that will not know this.