MantisBT - ParaView
View Issue Details
0012953ParaView(No Category)public2012-02-21 09:102016-08-12 09:59
RyanD 
Kitware Robot 
highminorhave not tried
closedmoved 
3.12 
 
TBD
crash
0012953: Applying a texture through Python crashes Paraview
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.


No tags attached.
Issue History
2012-02-21 09:10RyanDNew Issue
2016-08-12 09:59Kitware RobotNote Added: 0038143
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038143)
Kitware Robot   
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.