View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010800ParaViewBugpublic2010-06-07 15:552013-01-22 16:27
ReporterRoss McLendon 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version3.8 
Target VersionFixed in Version3.98.0 
Summary0010800: Calculator parsing error on tensoral cell data...
DescriptionI load a .vtu file that has tensor-style cell data with the name "FailureModes". I use the calculator to attempt to extract scalars from this data so that I can apply threshold to various components. The equation field contains only a string of the form "FailureModes_XX" (no quotes, _XX corresponds to the component I want to convert to a scalar for use in Threshold down the road). When I hit apply, ParaView gives the the following output message:

ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1632
vtkFunctionParser (00000000067DD400): Syntax error: operator expected; see position 14


ERROR: In ..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1632
vtkFunctionParser (00000000067DD400): Syntax error: operator expected; see position 14


Warning: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 401
vtkPVArrayCalculator (000000000F885010): An error occured when parsing the calculator's function. See previous errors.


Also, there is no Result array...

This worked in 3.6.2. I'm guessing it's a parser issue. Hopefully not too bad to fix.
Additional InformationI've attached a version of my .vtu file that I'm trying to visualize...

I am running ParaView 3.8 on Windows Server 2008 R2 64 bit.
TagsNo tags attached.
Project
Topic Name
Type
Attached Filespatch file icon paraview-3.8.1-fixed-vtkpvarraycalculator-tensor-data.patch [^] (2,224 bytes) 2011-03-29 05:12 [Show Content]

 Relationships
duplicate of 0013258closedUtkarsh Ayachit Calculator can't use tensor components correctly 

  Notes
(0025948)
He Yuqi (reporter)
2011-03-29 05:14
edited on: 2011-03-29 05:15

It seems that the function vtkPVArrayCalculator::UpdateArrayAndVariableNames does not support tensor-style cell data.

Attached patch to fix this issue.

(0029295)
Utkarsh Ayachit (administrator)
2012-09-28 14:28

merged into master, if applicable.
(0030220)
Alan Scott (manager)
2013-01-22 16:27

Although I cannot find the attached file, I also believe this is the same as 13258. I used the dataset from that bug to test this one. Fixed.

Tested remote server, Linux, master.

 Issue History
Date Modified Username Field Change
2010-06-07 15:55 Ross McLendon New Issue
2011-03-29 05:12 He Yuqi File Added: paraview-3.8.1-fixed-vtkpvarraycalculator-tensor-data.patch
2011-03-29 05:14 He Yuqi Note Added: 0025948
2011-03-29 05:15 He Yuqi Note Edited: 0025948
2012-09-25 11:10 Utkarsh Ayachit Relationship added duplicate of 0013258
2012-09-25 11:10 Utkarsh Ayachit Status backlog => gatekeeper review
2012-09-25 11:10 Utkarsh Ayachit Resolution open => duplicate
2012-09-25 11:10 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2012-09-28 14:28 Utkarsh Ayachit Fixed in Version => git-master
2012-09-28 14:28 Utkarsh Ayachit Status gatekeeper review => customer review
2012-09-28 14:28 Utkarsh Ayachit Note Added: 0029295
2012-10-29 17:04 Utkarsh Ayachit Fixed in Version git-master => 3.98.0
2013-01-22 16:27 Alan Scott Note Added: 0030220
2013-01-22 16:27 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team