View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016005ParaView(No Category)public2016-02-18 15:062016-08-12 10:00
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version5.0 
Target Version5.0.1Fixed in Version 
Summary0016005: Trace recorder fails for CTH data
DescriptionThe 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.

TagsNo tags attached.
ProjectSandia
Topic Name
Typeincorrect functionality
Attached Files? file icon badOpenCTHFile.py [^] (2,659 bytes) 2016-02-24 17:14

 Relationships

  Notes
(0035766)
Utkarsh Ayachit (administrator)
2016-02-23 09:57

MR: https://gitlab.kitware.com/paraview/paraview/merge_requests/650 [^]
(0035775)
Alan Scott (manager)
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 (manager)
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 (administrator)
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 (manager)
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 (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2016-02-18 15:06 Alan Scott New Issue
2016-02-18 15:06 Alan Scott Target Version => 5.0.1
2016-02-23 09:57 Utkarsh Ayachit Note Added: 0035766
2016-02-23 09:57 Utkarsh Ayachit Status backlog => customer review
2016-02-23 09:57 Utkarsh Ayachit Fixed in Version => 5.1
2016-02-23 09:57 Utkarsh Ayachit Resolution open => fixed
2016-02-23 09:57 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2016-02-24 16:30 Alan Scott Note Added: 0035775
2016-02-24 16:30 Alan Scott Status customer review => todo
2016-02-24 17:12 Alan Scott Note Added: 0035778
2016-02-24 17:14 Alan Scott File Added: badOpenCTHFile.py
2016-02-24 17:22 Utkarsh Ayachit Note Added: 0035780
2016-02-24 17:23 Utkarsh Ayachit Status todo => customer review
2016-02-24 17:23 Utkarsh Ayachit Fixed in Version 5.1 => 5.0.1
2016-02-24 17:29 Alan Scott Note Added: 0035782
2016-02-25 22:10 Alan Scott Note Added: 0035800
2016-02-25 22:10 Alan Scott Status customer review => todo
2016-08-12 10:00 Kitware Robot Note Added: 0039003
2016-08-12 10:00 Kitware Robot Status todo => closed
2016-08-12 10:00 Kitware Robot Fixed in Version 5.0.1 =>
2016-08-12 10:00 Kitware Robot Resolution fixed => moved


Copyright © 2000 - 2018 MantisBT Team