# Save state in post-processing

**URL:** https://discourse.kitware.com/t/save-state-in-post-processing/884
**Category:** Computational Model Builder (CMB)
**Created:** [August 8, 2022, 6:12pm UTC](https://discourse.kitware.com/t/save-state-in-post-processing/884 "2022-08-08T18:12:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Yang](https://discourse.kitware.com/user_avatar/discourse.kitware.com/yang/32/556_2.png) [@Yang](https://discourse.kitware.com/u/Yang)
#### Post date: [August 8, 2022, 6:12pm UTC](https://discourse.kitware.com/t/save-state-in-post-processing/884/1 "2022-08-08T18:12:04Z")

</div>

Hi,

I created a resource in AEVA and several filters in Post-processing mode. When I save the state and load it back to AEVA, the resource can’t be read correctly with the following message.

```auto
( 53.465s) [paraview] vtkExecutive.cxx:741 ERR| vtkCompositeDataPipeline (00000115A5561310): Algorithm vtkPVGeometryFilter (00000115A54E4150) returned failure for request: vtkInformation (00000115A62A0EA0)
  Debug: Off
  Modified Time: 2578521
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1
  FROM_OUTPUT_PORT: 0

```

And when I close the application, the following exception pops out.  
In pqSMTKBehavior.cxx

 ![image](https://discourse.kitware.com/uploads/default/original/1X/b489e53b5fca3cd4adc7d8cdaeaf00eb73e7ce20.png)

Is it expected to use save state with only ParaView data? If the application has both SMTK and ParaView data, how to correctly save everything?

Thanks,  
Yang

---

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.kitware.com/user_avatar/discourse.kitware.com/dcthomp/32/10_2.png) [@dcthomp](https://discourse.kitware.com/u/dcthomp)
#### Post date: [September 19, 2022, 5:56pm UTC](https://discourse.kitware.com/t/save-state-in-post-processing/884/2 "2022-09-19T17:56:23Z")

</div>

Hi @Yang , sorry for the slow reply.

You are correct that saving/loading ParaView state in aeva is not currently supported. The issue is that ParaView does not provide a facility for managing singleton objects; some singletons in ParaView’s state (such as the animation controller) are hardwired into the state save/load mechanism. Without a way for SMTK to coordinate with ParaView as its map from resources to pipeline proxies is saved/restored, there is not a way to support this.

My only suggestion for a workaround is to create a Python trace of your post-processing activity and use it as a macro when in post-processing mode.
