View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008285ParaView(No Category)public2008-12-11 09:402009-05-13 13:47
ReporterJacques Papper 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.6Fixed in Version 
Summary0008285: TextSource
DescriptionCreateRepresentation does not work with a simple text source in python.
See mail thread : "TextSource bug in Python"
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0014480)
Utkarsh Ayachit (administrator)
2009-01-07 17:20

Handling TextSource representation creation a bit more gracefully. Now the
presense of following XML for proxy indicates a Text source.

<Hints>
  <OutputPort name="Output-0" index="0" type="text" />
</Hints>

This also fixes BUG 0008285.
(0014481)
Utkarsh Ayachit (administrator)
2009-01-07 17:20

/cvsroot/ParaView3/ParaView3/Qt/Core/pqObjectBuilder.cxx,v <-- Qt/Core/pqObjectBuilder.cxx
new revision: 1.33; previous revision: 1.32
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderViewBase.cxx,v <-- Qt/Core/pqRenderViewBase.cxx
new revision: 1.10; previous revision: 1.9
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/sources.xml,v <-- Servers/ServerManager/Resources/sources.xml
new revision: 1.94; previous revision: 1.93
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/filters.xml,v <-- Servers/ServerManager/Resources/filters.xml
new revision: 1.324; previous revision: 1.323
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.cxx,v <-- Servers/ServerManager/vtkSMRenderViewProxy.cxx
new revision: 1.84; previous revision: 1.83
(0014482)
Utkarsh Ayachit (administrator)
2009-01-07 17:21

Sample Script:
============================================================

from paraview import servermanager
servermanager.Connect()
view = servermanager.CreateRenderView()
Legend = servermanager.sources.TextSource(registrationGroup='sources', registrationName='Legend')
Legend.Text = "Hello The World"
rep = servermanager.CreateRepresentation(Legend, view)
print rep
view.StillRender()
(0014632)
Alan Scott (manager)
2009-01-19 20:40

Tested local client, Tools/ Python Shell, using the test listed above. Fixed.

 Issue History
Date Modified Username Field Change
2008-12-11 09:40 Jacques Papper New Issue
2009-01-07 17:20 Utkarsh Ayachit Note Added: 0014480
2009-01-07 17:20 Utkarsh Ayachit Status backlog => @80@
2009-01-07 17:20 Utkarsh Ayachit Resolution open => fixed
2009-01-07 17:20 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2009-01-07 17:20 Utkarsh Ayachit Note Added: 0014481
2009-01-07 17:21 Utkarsh Ayachit Note Added: 0014482
2009-01-19 20:40 Alan Scott Note Added: 0014632
2009-01-19 20:40 Alan Scott Status @80@ => closed
2009-05-13 13:47 Utkarsh Ayachit Target Version => 3.6
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team