Skip to content
GitLab
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,961
    • Issues 1,961
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 97
    • Merge requests 97
  • 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
  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #12953
Closed
Open
Issue created Feb 20, 2012 by Kitware Robot@kwrobotOwner

Applying a texture through Python crashes Paraview

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


I am trying to add a texture to a TextureMaptoPlane object via a Python script.

Based on the trace information my script uses code like the following:

t1 = TextureMaptoPlane()
rep = Show()
DataRepresentation7.Representation = 'Surface'
rep.Texture = [PNGobject]

Where PNGObject is a standard PNGSeriesReader with the desired texture png read in. Once the script reaches the line where the texture is set ParaView fails and outputs the following error message.

ERROR: In /home/kitware/Dashboards/MyTests/ParaView-master/ParaViewCore/ServerImplementation/vtkPVSessionCore.cxx, line 324 vtkPVSessionCore (0x232b260): Object type: vtkGlyph3DRepresentation, could not find requested method: "SetTexture" or the method was called with incorrect arguments.

while processing Message 0 = Invoke Argument 0 = vtk_object_pointer {vtkGlyph3DRepresentation (0x8a80170)} Argument 1 = string_value {SetTexture} Argument 2 = vtk_object_pointer {vtkFileSeriesReader (0x90dafd0)}

ERROR: In /home/kitware/Dashboards/MyTests/ParaView-master/ParaViewCore/ServerImplementation/vtkPVSessionCore.cxx, line 325 vtkPVSessionCore (0x232b260): Aborting execution for debugging purposes.

I don't know why it's referencing vtkGlyph3DRepresentation when my representation is set to Surface.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking