Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,859
    • Issues 1,859
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 96
    • Merge requests 96
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

An update will be applied today, Monday, July 4th, between 1PM and 2PM EDT (UTC -400). There may be minor intermittent issues during that time.

  • ParaView
  • ParaViewParaView
  • Issues
  • #19822
Closed
Open
Created Apr 02, 2020 by Ethan Stam@ethan.stamDeveloper

Find data: Subsetting query causes "ValueError: setting an array element with a sequence."

@utkarsh.ayachit

Found on MacOS 10.14.6, but I believe this is also happening on Linux. ParaView 5.8.0 binary from paraview.org/downloads

Using the disk_out_ref.ex2 example dataset.

Running the following subset query using Find Data causes the error:

Warning: In /Users/kitware/dashboards/buildbot-slave/a64f5607/build/superbuild/paraview/src/VTKExtensions/ExtractionPython/vtkPythonSelector.cxx, line 76
vtkPythonSelector (0x600006c477a0): Could not invoke 'python_selector.execute()'

Traceback (most recent call last):
  File "/Applications/ParaView-5.8.0.app/Contents/Python/paraview/detail/python_selector.py", line 109, in execute
    insidedness = numpy_support.numpy_to_vtk(maskArray, deep=1, array_type=vtkConstants.VTK_SIGNED_CHAR)
  File "/Applications/ParaView-5.8.0.app/Contents/Python/vtkmodules/util/numpy_support.py", line 170, in numpy_to_vtk
    z_flat = numpy.ravel(z).astype(arr_dtype)
ValueError: setting an array element with a sequence.

Here is a picture of the query: Screen_Shot_2020-04-02_at_9.49.35_AM

Edited Apr 03, 2020 by Ethan Stam
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking