View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015199ParaView(No Category)public2014-12-11 13:002015-09-06 12:18
ReporterDan Lipsa 
Assigned ToDan Lipsa 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version4.4 
Summary0015199: EnSightReader: Change input file
DescriptionSubject: [Paraview] EnSightReader: Change input file
------------------------

From: Ian Krukow <i.krukow@tu-braunschweig.de>
Date: Tue, Nov 11, 2014 at 8:39 AM
To: ParaView <paraview@paraview.org>


Hi all,

I want to apply the same pipeline to a series of Ensight data files in order to save extractions in a different format. For the first file, this works fine. For the second file, I thought I could change the input file by changing the CaseFileName attribute:

reader.CaseFileName = nextfile

But when I run

reader.UpdatePipeline()

I get a segmentation fault. This depends neither on the file, nor on the pipeline following.

I tried a workaround by building up a new pipeline for each file. It works, and as I have only two files by now, it is ok to do that, but for more files, memory usage would explode. Therefore, my question is: Is it possible only to change the input file of the EnSightReader, while keeping the pipeline?

Kind regards
Ian
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html [^]

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView [^]

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview [^]

----------
From: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Fri, Nov 14, 2014 at 10:39 PM
To: Ian Krukow <i.krukow@tu-braunschweig.de>
Cc: ParaView <paraview@paraview.org>


Ability to change filenames depends on specific reader
implementations. I am not entire familiar with the internal
implementation, but if you have a couple of sample datasets/script to
reproduce the segfault, I can check if its a minor fix to the reader
to enable this or if it just can't support it.

Either case, you should be able to call Delete(reader) to delete old
reader once you're done with it to avoid memory bloat.

Utkarsh

----------
From: Ian Krukow <i.krukow@tu-braunschweig.de>
Date: Tue, Nov 18, 2014 at 5:20 AM
To: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>


Ok, the problem obviously does depend on the input files to a certain degree. I use TAU as a flow solver (from the DLR, Germany), and it gives me two solution files, one for the fluid solution, one for the surface data. The problem with the EnSightReader occurs, when I try to switch from one category to the other (no matter, which direction). However, there is no problem loading another file of the same category, even with another geometry.

I attach two solution file sets, fluid and surface, with a short pvpython script to reproduce the error (sorry, that they are not smaller, but I do not create any grids of my own).
The behaviour is the same with ParaView versions 3.14.1 and 4.2.0.

Kind regards
Ian
TagsNo tags attached.
ProjectTBD
Topic Nameensigth-crash
Typeincorrect functionality
Attached Fileszip file icon fwdparaviewensightreaderchangeinputfile.zip [^] (879,326 bytes) 2014-12-11 13:04

 Relationships

  Notes
(0034362)
Utkarsh Ayachit (administrator)
2015-04-16 16:09

Merged in git/master:

https://gitlab.kitware.com/paraview/paraview/merge_requests/60 [^]
(0034469)
Alan Scott (manager)
2015-06-03 19:02

If I understand the problem correctly, I just tested it and it doesn't crash. Tested with the (excellent) attached test.

Tested Linux, master, local server. Used Tools/ Python Shell.

 Issue History
Date Modified Username Field Change
2014-12-11 13:00 Dan Lipsa New Issue
2014-12-11 13:03 Dan Lipsa Topic Name => ensigth-crash
2014-12-11 13:03 Dan Lipsa Status backlog => active development
2014-12-11 13:04 Dan Lipsa Assigned To => Dan Lipsa
2014-12-11 13:04 Dan Lipsa File Added: fwdparaviewensightreaderchangeinputfile.zip
2015-04-16 16:09 Utkarsh Ayachit Note Added: 0034362
2015-04-16 16:09 Utkarsh Ayachit Status active development => customer review
2015-04-16 16:09 Utkarsh Ayachit Fixed in Version => git-master
2015-04-16 16:09 Utkarsh Ayachit Resolution open => fixed
2015-05-08 14:17 Utkarsh Ayachit Status customer review => gatekeeper review
2015-05-08 14:17 Utkarsh Ayachit Status gatekeeper review => customer review
2015-06-03 19:02 Alan Scott Note Added: 0034469
2015-06-03 19:02 Alan Scott Status customer review => closed
2015-09-06 12:18 Utkarsh Ayachit Fixed in Version git-master => 4.4


Copyright © 2000 - 2018 MantisBT Team