MantisBT - ParaView
View Issue Details
0016005ParaView(No Category)public2016-02-18 15:062016-08-12 10:00
Alan Scott 
Utkarsh Ayachit 
normalminorhave not tried
closedmoved 
5.0 
5.0.1 
Sandia
incorrect functionality
0016005: Trace recorder fails for CTH data
The trace recorder fails for CTH data. I am going to create two sections for this bug - what is currently failing, and the test that needs to work, when this first bug is fixed.

Current bug:
* 5.0.0, Linux, local server.
* Start trace.
* Open Dave's small CTH dataset (four files). All vars on. Apply.
* Optionally, you may want to turn visibility off in the pipeline browser for Markers and Tracers.
* Stop trace.
* Save as macro (or any other script).
* Edit/ Reset Session.
* Run macro.

You will not get anything to show on the screen, and will get the following output:

Traceback (most recent call last):
  File "<string>", line 39, in <module>
NameError: name 'OutputPort' is not defined

Further, if you had gotten farther with your script, you would see nothing at all after this point (such as if you had run a filter).

OK, what should work? Here is a bare minimum:
* 5.0.0, Linux, local server.
* Start trace.
* Open Dave's small CTH dataset (four files). All vars on. Apply.
* Optionally, you may want to turn visibility off in the pipeline browser for Markers and Tracers.
* Extract CTH Parts. Material Volume Fraction - 1 only. Apply.
* Select Volume data in the pipeline browser.
* Extract CTH Parts. Material Volume Fraction - 2 only. Apply.
* Paint by pressure.
* Stop trace.
* Save as macro (or any other script).
* Edit/ Reset Session.
* Run macro.

No tags attached.
? badOpenCTHFile.py (2,659) 2016-02-24 17:14
https://www.vtk.org/Bug/file/10051/badOpenCTHFile.py
Issue History
2016-02-18 15:06Alan ScottNew Issue
2016-02-18 15:06Alan ScottTarget Version => 5.0.1
2016-02-23 09:57Utkarsh AyachitNote Added: 0035766
2016-02-23 09:57Utkarsh AyachitStatusbacklog => customer review
2016-02-23 09:57Utkarsh AyachitFixed in Version => 5.1
2016-02-23 09:57Utkarsh AyachitResolutionopen => fixed
2016-02-23 09:57Utkarsh AyachitAssigned To => Utkarsh Ayachit
2016-02-24 16:30Alan ScottNote Added: 0035775
2016-02-24 16:30Alan ScottStatuscustomer review => todo
2016-02-24 17:12Alan ScottNote Added: 0035778
2016-02-24 17:14Alan ScottFile Added: badOpenCTHFile.py
2016-02-24 17:22Utkarsh AyachitNote Added: 0035780
2016-02-24 17:23Utkarsh AyachitStatustodo => customer review
2016-02-24 17:23Utkarsh AyachitFixed in Version5.1 => 5.0.1
2016-02-24 17:29Alan ScottNote Added: 0035782
2016-02-25 22:10Alan ScottNote Added: 0035800
2016-02-25 22:10Alan ScottStatuscustomer review => todo
2016-08-12 10:00Kitware RobotNote Added: 0039003
2016-08-12 10:00Kitware RobotStatustodo => closed
2016-08-12 10:00Kitware RobotFixed in Version5.0.1 =>
2016-08-12 10:00Kitware RobotResolutionfixed => moved

Notes
(0035766)
Utkarsh Ayachit   
2016-02-23 09:57   
MR: https://gitlab.kitware.com/paraview/paraview/merge_requests/650 [^]
(0035775)
Alan Scott   
2016-02-24 16:30   
Very close, but not quite. The second block of commands works, but the first one (labeled Current bug) doesn't. It appears there is a Render() missing... This behavior is different than loading can.exo, so I believe it is not by design.
(0035778)
Alan Scott   
2016-02-24 17:12   
We are wondering if this has to do with my build - incremental, vs a rebuild from scratch. Attaching the python file for the first test block above (at Utkarsh's request).
(0035780)
Utkarsh Ayachit   
2016-02-24 17:22   
Alan, try hitting reset camera. Does that work? You're right a render is missing. But we deliberately added a commented out line to the generate trace saying "uncomment the following to render all views".

I believe we did that since in several cases when people generate these traces for writing images etc, calling this extra render and the end in unnecessary.
(0035782)
Alan Scott   
2016-02-24 17:29   
Reset camera works.

The issue I have with this bug/feature is that it acts differently than reading exodus data. That isn't right, is it?
(0035800)
Alan Scott   
2016-02-25 22:10   
Changing to ToDo, Utkarsh is going to add a Render after any GUI based macros or scripts.
(0039003)
Kitware Robot   
2016-08-12 10:00   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.