Error whenever loading from state file

Hi everyone. I’m getting the following error loading on Paraview_5.13.0-RC1 on OSX 14.6. Then Paraview hangs and I cannot proceed. When I load from state when I have already opened a file, it loads, but I receive the same error.

Error also occurs from saved state of a just a loaded file that has not had any changes, filters, etc.

I’ve seen a few times this has popped up as a reported issue, and a colleague has recently had this message as well. Is this a bug? Does anyone have any ideas as to why this might be happening?

[pvserver ]vtkDemandDrivenPipeline:765 ERR| vtkPVDataRepresentationPipeline (0x403bfd0): Input for connection index 0 on input port index 0 for algorithm vtkImageSliceRepresentation (0x4c901f0) is of type vtkRectilinearGrid, but a vtkImageData is required.

Hi @deanwormer

Please share your data and statefile

Best,

Thanks Mathieu.

test-comb_50-sophia.pvsm (332.1 KB)
test-comb_50 (278.5 KB)

Is this a bug?

Yes, these are actually known issues but they can be ignored.

I see two issues here:

  1. It looks like any statefile containing a RectilinearGrid output will output this error for some reason, this should not happen: https://gitlab.kitware.com/paraview/paraview/-/issues/21417
  2. Slice representation should not even be available for RectilinearGrid in the interface:
    https://gitlab.kitware.com/paraview/paraview/-/issues/21531

Thanks Mattieu.

The issue that I’m having is that even with this simple state file where I’m using a volume representation will hang and crash when I try to load it from a state file, so I can’t ignore it. If I can’t open it on a compute node, that makes things problematic because sometimes Paraview will crash and I will lose all of my work.

Is there workaround? Thoughts?

Additionally, how would Paraview load rectilinear data?

I have observed:

  1. Load rectilinear data
  2. ParaView automatically loads data as a slice
  3. I change representation to Volume
  4. I save the state file
  5. I restart ParaView, then load the saved state file
  6. I still get the slice error

Please provide steps to reproduce this specific issue.

  1. Connect to Server
  2. Open File: test-comb_50
  3. Open Data With: NetCDF Reader
  4. Apply
  5. File → Save State: “test.pvsm”
  6. Quit ParaView
  7. Open ParaView
  8. Connect to Server
  9. File → Load State: “test.pvsm” (Use File Names from State)
  10. ParaView hangs / same error occurs

I’m unable to reproduce with my own netcdf file, please share your file.

It’s attached above in my 2nd msg. Thanks so much for your help!

Indeed.

I’m still unable to reproduce, I tried with ParaView 5.12 and ParaView 5.13 on linux.

I do not see any hangs or crash, altough I do see the error.
Also, I do not see ParaView “automatically loads data as a slice”.

re: automatically loads as slice - I only meant that from the error message, it is presumably using the vtkImageSliceRepresentation somewhere when it’s being loaded.

I’m not sure why it’s happening on my end, still hangs+error whether connected to a server or not. I’m using 5.13.0-RC1, so I’m downloading 5.13.0 and rebooting to see if there is any difference.

Still no joy. The workaround that I’ve come upon is to open a data file first then load the state file. I still get the errors but no infinite hanging.