View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012360ParaView(No Category)public2011-07-12 11:412012-02-08 17:24
ReporterBurlen 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.10 
Target VersionFixed in Version3.12 
Summary0012360: Plugin load order hides Surface LIC attributes in python
DescriptionFrom a python script, the order in which the plugins are loaded affects the presence of LIC attributes. If the LIC plugin is loaded before other plugins the attributes are present. If it is loaded after then it's attributes aren't present.

The following python script illustrates the issue when run with pvbatch

# -*- coding: utf-8 -*-
try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

slacPluginPath = '/work/ext/ParaView/PV3-3.10.0/bin/libSLACTools.so'
licPluginPath = '/work/ext/ParaView/PV3-3.10.0/bin/libSurfaceLIC.so'

showBug = 1

if (showBug):

  LoadPlugin(slacPluginPath, False, globals())
  LoadPlugin(slacPluginPath, False, globals())

  LoadPlugin(licPluginPath, False, globals())
  LoadPlugin(licPluginPath, True, globals())

else:

  LoadPlugin(licPluginPath, False, globals())
  LoadPlugin(licPluginPath,True,globals())

  LoadPlugin(slacPluginPath, False, globals())
  LoadPlugin(slacPluginPath, False, globals())

Cone()
rep = Show()
rep.LICStepSize = 12
TagsNo tags attached.
ProjectTBD
Topic Name12360_fix_plugins_in_python
Typeincorrect functionality
Attached Files

 Relationships
related to 0012415closedSebastien Jourdain Loading a representation plugin after a representation has been created has no effect. 

  Notes
(0027190)
Sebastien Jourdain (manager)
2011-08-01 18:11

Did not try, that specific code to highlight this issue. But this should be solved in the topic.
(0027236)
Utkarsh Ayachit (administrator)
2011-08-04 18:08

Developer note: Issue slated for gatekeeper review on Aug 7, 2 PM EDT.
(0027261)
David Partyka (developer)
2011-08-05 10:52

Couldn't get script to run but verified from the gui by loading SurfaceLIC plugin.
(0027276)
Utkarsh Ayachit (administrator)
2011-08-05 15:55

Merged into master (if applicable)
(0027469)
Utkarsh Ayachit (administrator)
2011-09-12 10:16

Still doesn't work. Reopening.
(0027470)
Utkarsh Ayachit (administrator)
2011-09-12 10:48

commit 86b4b7a7e149bd11506da39458dfcdd5e4ee215a
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Mon Sep 12 10:21:22 2011 -0400

    BUG 0012415: Plugins updating proxy definitions didn't work from pvpython.
    
    Things worked as expected when new proxy definitions were added, but when a
    proxy defintion was updated, the Python Proxy object didn't not reflect the
    properties. The problem was that the prototypes created by servermanager.py
    were never cleaned up even when definitions were updated.
    
    Fixed by fixing vtkSIProxyDefinitionManager to fire events in a more well
    defined manner. Then fixing vtkSMProxyManager to use those events to clean u
    any obsolete prototype instantiations. Now the python code correctly sees th
    new prototype and updates the Python Proxies accordingly.
(0027471)
Utkarsh Ayachit (administrator)
2011-09-12 10:48

commit 0e4f9e2d3e9cc7e16eebe5718a5d2e507fe2acf2
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Mon Sep 12 10:45:20 2011 -0400

    Added a test (Plugins-ServerManagerPython) to test plugin loading in Python.
(0028140)
Utkarsh Ayachit (administrator)
2012-02-08 17:24

Closing bugs sitting in "customer review" for a long time.

 Issue History
Date Modified Username Field Change
2011-07-12 11:41 Burlen New Issue
2011-07-27 21:08 Utkarsh Ayachit Relationship added related to 0012415
2011-08-01 18:10 Sebastien Jourdain Assigned To => Sebastiennn Jourdain
2011-08-01 18:10 Sebastien Jourdain Status backlog => todo
2011-08-01 18:10 Sebastien Jourdain Status todo => active development
2011-08-01 18:11 Sebastien Jourdain Topic Name => 12415-representation-plugin
2011-08-01 18:11 Sebastien Jourdain Note Added: 0027190
2011-08-01 18:11 Sebastien Jourdain Status active development => gatekeeper review
2011-08-01 18:11 Sebastien Jourdain Resolution open => fixed
2011-08-04 18:08 Utkarsh Ayachit Note Added: 0027236
2011-08-05 10:52 David Partyka Note Added: 0027261
2011-08-05 15:55 Utkarsh Ayachit Status gatekeeper review => customer review
2011-08-05 15:55 Utkarsh Ayachit Note Added: 0027276
2011-08-12 23:40 Utkarsh Ayachit Fixed in Version => 3.12
2011-09-12 10:16 Utkarsh Ayachit Note Added: 0027469
2011-09-12 10:16 Utkarsh Ayachit Status customer review => backlog
2011-09-12 10:16 Utkarsh Ayachit Resolution fixed => reopened
2011-09-12 10:48 Utkarsh Ayachit Topic Name 12415-representation-plugin => 12360_fix_plugins_in_python
2011-09-12 10:48 Utkarsh Ayachit Note Added: 0027470
2011-09-12 10:48 Utkarsh Ayachit Status backlog => gatekeeper review
2011-09-12 10:48 Utkarsh Ayachit Fixed in Version 3.12 => git-next
2011-09-12 10:48 Utkarsh Ayachit Resolution reopened => fixed
2011-09-12 10:48 Utkarsh Ayachit Assigned To Sebastiennn Jourdain => Utkarsh Ayachit
2011-09-12 10:48 Utkarsh Ayachit Note Added: 0027471
2011-09-16 14:35 David Partyka Status gatekeeper review => customer review
2011-11-11 17:08 Utkarsh Ayachit Fixed in Version git-next => 3.12
2012-02-08 17:24 Utkarsh Ayachit Status customer review => closed
2012-02-08 17:24 Utkarsh Ayachit Note Added: 0028140


Copyright © 2000 - 2018 MantisBT Team