View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013722ParaView(No Category)public2012-12-11 14:542016-08-12 09:59
ReporterDavid Thompson 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version 
Summary0013722: Find Data "is one of" queries fail
DescriptionEither the Find Data dialog constructs a bad query or the query evaluation's Python implementation has a bug. Specifically, searching for cells where a variable obtains one of several values is broken.

To reproduce:
1. Open can.ex2.
2. Press Find Data toolbar button
3. Select "Find: Cell" as the field type.
4. Choose "Global ID" and "is one of" for the query clause. Enter "3000, 3050, 3150" in the clause's arguments.
5. Click "Run Query". You will receive the following error:

Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "...ParaView/trunk/lib/site-packages/paraview/extract_selection.py", line 147, in Exec
    ds = ExecData(self, iterCD.GetCurrentDataObject(), selection)
  File "...ParaView/trunk/lib/site-packages/paraview/extract_selection.py", line 122, in ExecData
    mask = eval(selection_node.GetQueryString(), globals(), new_locals)
  File "<string>", line 1, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/lib/arraysetops.py", line 325, in in1d
    ar1, rev_idx = np.unique(ar1, return_inverse=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/lib/arraysetops.py", line 179, in unique
    flag = np.concatenate(([True], aux[1:] != aux[:-1]))
ValueError: arrays must have same number of dimensions
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0038296)
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
2012-12-11 14:54 David Thompson New Issue
2012-12-11 14:54 David Thompson Assigned To => Utkarsh Ayachit
2016-08-12 09:59 Kitware Robot Note Added: 0038296
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team