View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015834ParaView(No Category)public2015-11-12 16:142016-08-12 09:59
ReporterAlan Scott 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.4 
Target Version5.1Fixed in Version 
Summary0015834: Find data/ max fails for variables with spaces in name
DescriptionFind data is failing for such operations as find max for variables with spaces in their name.

I have a dataset that shows this, if needed. (note to self, Windows, data, erg.., pflotran)

Linux, 4.4.0, local server.
Open the pflotran-00.* files. All vars on. Apply.
Find Data. Cells. pflotran-00. Liquid Pressure [Pa]. is max.
Run Selection Query.

This fails as follows:

Error: Failed to evaluate Expression 'Liquid Pressure [Pa] == max(Liquid Pressure [Pa])'. The following exception stack should provide additional developer specific information. This typically implies a malformed expression. Verify that the expression is valid.

Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "<string>", line 5, in vtkPythonExtractSelection_RequestData
  File "C:\Program Files (x86)\ParaView 4.4.0\lib\paraview-4.4\site-packages\paraview\extract_selection.py", line 74, in execute
    maskArray = calculator.compute(inputs, query, ns=elocals)
  File "C:\Program Files (x86)\ParaView 4.4.0\lib\paraview-4.4\site-packages\paraview\calculator.py", line 74, in compute
    retVal = eval(expression, globals(), mylocals)
  File "<string>", line 1
    Liquid Pressure [Pa] == max(Liquid Pressure [Pa])
                  ^
SyntaxError: invalid syntax

TagsNo tags attached.
ProjectSandia
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0035444)
Alan Scott (manager)
2015-11-12 16:24

OK, I just found an easier way to replicate this bug.

* Open can.exo. All vars on. Apply.
* Calculator. Attribute Mode Cell Data. Result Array Name >>> Split Name. (i.e., two words, with a space in the middle). Equation, EQPS. Apply.
* Find data, cell, use the output of the calculator, choose Split Name, is max.
* Run Selection Query.

Find data won't work, and you get lots of warning verbosity.
(0038931)
Kitware Robot (administrator)
2016-08-12 09:59

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
2015-11-12 16:14 Alan Scott New Issue
2015-11-12 16:15 Alan Scott Target Version => 5.1
2015-11-12 16:24 Alan Scott Note Added: 0035444
2016-08-12 09:59 Kitware Robot Note Added: 0038931
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved
2016-08-12 09:59 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team