Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 101
    • Merge requests 101
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositories
  • dumuxdumux
  • Issues
  • #1086
Closed
Open
Created Oct 05, 2021 by Hanchuan Wu@hanchuanMaintainer

Extractline data script does not work with pvpython 5.7.0, Kudo Paula

Bug report

The extractlinedata.py does not work with Paraview (pvpython) under version 5.7.0.

The following error messages would be obtained:

Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/paraview/servermanager.py", line 1312, in SetData
   position = self.Available.index(values)
ValueError: 'Line' is not in list

How to reproduce it (as minimally and precisely as possible):

Run pvpython extractlinedata.py -f REVScale_BJS_darcy-00000.vtu -p1 0.0 0.0 0.0 -p2 0.0 0.5 0.0 for the attached file REVScale_BJS_darcy-00001.vtu. In principle, with pvpython version 5.7.0 use extractline.py in bin folder to extract a line data from any vtu/vtp file can reproduce the error.

PS:

The script works with Paraview 5.9.0 and some old versions.

Assignee
Assign to
Time tracking