error paraview.smtrace.Untraceable
To create issue, please download simple dataset from here and follow these steps,
- Load sample dataset atm_input3d_100 using atm_input3d_100.vtm file. It is multi block dataset.
- Add Transform filter and set Scale in z axis as 0.0005
- Add Calculator filter and calculate wspd variable using formula sqrt(ulevulev+vlevvlev)
- Add Threshold filter and set range for wspd as 15-50 and change representation as Points
- Use Select Points Through (g) button and select circular shape in the middle of the domain
- Add Extract Selection filter from menu and push apply
- Try to create Python script with CoProcessing menu
It will generates following error,
Traceback (most recent call last): File "<string>", line 10, in <module> File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/cpexport.py", line 97, in DumpCoProcessingScript export_rendering, simulation_input_map, screenshot_info, cinema_tracks, array_selection) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/cpstate.py", line 351, in DumpPipeline state = smstate.get_state(filter=filter, raw=True) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smstate.py", line 170, in get_state traceitem.finalize() File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smtrace.py", line 766, in finalize trace.append(accessor.trace_ctor(ctor, filter_type)) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/cpstate.py", line 177, in trace_ctor self, ctor, filter, ctor_args, skip_assignment) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smtrace.py", line 444, in trace_ctor ctor_props_trace = self.trace_properties(ctor_props, in_ctor=True) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smtrace.py", line 437, in trace_properties return joiner.join([x.get_property_trace(in_ctor) for x in props]) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smtrace.py", line 547, in get_property_trace if in_ctor: return "%s=%s" % (varname, self.get_value()) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smtrace.py", line 567, in get_value data = [str(Trace.get_accessor(x)) for x in self.get_object()[:]] File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smtrace.py", line 167, in get_accessor "it. Skipping this action." % repr(obj)) paraview.smtrace.Untraceable: "<paraview.servermanager.FrustumSelectionSource object at 0x1376d54d0> is not 'known' at this point. Hence, we cannot trace it. Skipping this action."
and if you try to generate Python script again with CoProcessing menu, now it gives different one
Traceback (most recent call last): File "<string>", line 10, in <module> File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/cpexport.py", line 97, in DumpCoProcessingScript export_rendering, simulation_input_map, screenshot_info, cinema_tracks, array_selection) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/cpstate.py", line 351, in DumpPipeline state = smstate.get_state(filter=filter, raw=True) File "/Applications/ParaView-5.2.0.app/Contents/Python/paraview/smstate.py", line 105, in get_state raise RuntimeError ("Cannot generate Python state when tracing is active.") RuntimeError: Cannot generate Python state when tracing is active.
I think that the second one is related with first one because in the first case the tracing (to create Python script for co-processing) is not fully completed and somehow it triggers the second error. So, the main error can be tracked down from the first error message. The error is probably related with the Extract Selection filter but i am not sure. BTW, I am getting same error under Linux and MacOS using PV version 5.3.0RC2.