MantisBT - ParaView
View Issue Details
0010926ParaViewBugpublic2010-07-01 17:022016-08-12 09:58
Pat Marion 
Utkarsh Ayachit 
normalminorhave not tried
closedmoved 
 
 
0010926: Custom filters are loaded before plugins, bug if custom filter refers to plugin proxy
If you make a custom filter using a proxy that was loaded by a plugin, then the next time you start paraview the custom filter will not work. Paraview fails to load the custom filter definition because it tries to load it before loading the plugins, even if the plugins are set to auto load.
Here are all the errors printed at start up:

ERROR: In /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx, line 374
vtkSMProxyManager (0x27f94a0): No proxy that matches: group=filters and proxy=MyProgrammableFilter were found.


ERROR: In /source/paraview/ParaView/Servers/ServerManager/vtkSMDeserializer.cxx, line 63
vtkSMCompoundProxyDefinitionLoader (0x313fd20): Could not create a proxy of group: filters type: MyProgrammableFilter


Warning: In /source/paraview/ParaView/Servers/ServerManager/vtkSMProxy.cxx, line 481
vtkSMCompoundSourceProxy (0x313cb10): Subproxy required for the exposed property is missing.No subproxy with name : MyProgrammableFilter1


ERROR: In /source/paraview/ParaView/Servers/ServerManager/vtkSMPropertyIterator.cxx, line 215
vtkSMPropertyIterator (0x313d700): In proxy MyCustomProgrammableFilter cannot find sub proxy MyProgrammableFilter1 that is supposed to contain exposed property Bar


ERROR: In /source/paraview/ParaView/Servers/ServerManager/vtkSMPropertyIterator.cxx, line 215
vtkSMPropertyIterator (0x313d700): In proxy MyCustomProgrammableFilter cannot find sub proxy MyProgrammableFilter1 that is supposed to contain exposed property Foo


ERROR: In /source/paraview/ParaView/Servers/ServerManager/vtkSMPropertyIterator.cxx, line 215
vtkSMPropertyIterator (0x313d700): In proxy MyCustomProgrammableFilter cannot find sub proxy MyProgrammableFilter1 that is supposed to contain exposed property Input


--------------------------------------------------------
Here is a backtrace when the first error is printed:

ERROR: In /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx, line 374
vtkSMProxyManager (0x9e9c40): No proxy that matches: group=filters and proxy=MyProgrammableFilter were found.


#0 vtkObject::BreakOnError () at /source/paraview/ParaView/VTK/Common/vtkObject.cxx:227
#1 0x00007ffff475cb0c in vtkSMProxyManager::GetProxyElement (this=0x9e9c40, groupName=0x132e858 "filters", proxyName=0x132e8f8 "MyProgrammableFilter")
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:373
#2 0x00007ffff475c1ab in vtkSMProxyManager::NewProxy (this=0x9e9c40, groupName=0x132e858 "filters", proxyName=0x132e8f8 "MyProgrammableFilter")
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:252
#3 0x00007ffff46cc286 in vtkSMDeserializer::CreateProxy (this=0x1330750, xmlgroup=0x132e858 "filters", xmlname=0x132e8f8 "MyProgrammableFilter",
    connectionId=0) at /source/paraview/ParaView/Servers/ServerManager/vtkSMDeserializer.cxx:83
#4 0x00007ffff46cbed9 in vtkSMDeserializer::NewProxy (this=0x1330750, id=690, locator=0x1330560)
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMDeserializer.cxx:58
#5 0x00007ffff4759cc9 in vtkSMProxyLocator::NewProxy (this=0x1330560, id=690) at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyLocator.cxx:80
#6 0x00007ffff4759c2d in vtkSMProxyLocator::LocateProxy (this=0x1330560, id=690)
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyLocator.cxx:58
#7 0x00007ffff46bb405 in vtkSMCompoundSourceProxy::LoadDefinition (this=0x132d540, proxyElement=0x132e3c0, locator=0x1330560)
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMCompoundSourceProxy.cxx:300
#8 0x00007ffff46be9d8 in vtkSMCompoundProxyDefinitionLoader::HandleDefinition (this=0x1330750, rootElement=0x132e3c0)
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMCompoundProxyDefinitionLoader.cxx:46
0000009 0x00007ffff46bf006 in vtkSMCompoundProxyDefinitionLoader::LoadDefinition (this=0x1330750, rootElement=0x132e3c0)
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMCompoundProxyDefinitionLoader.cxx:114
#10 0x00007ffff475c264 in vtkSMProxyManager::NewProxy (this=0x9e9c40, pelement=0x132e3c0, groupname=0xaa6be8 "filters",
    proxyname=0x13343f8 "MyCustomProgrammableFilter") at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:269
0000011 0x00007ffff475c1d1 in vtkSMProxyManager::NewProxy (this=0x9e9c40, groupName=0xaa6be8 "filters", proxyName=0x13343f8 "MyCustomProgrammableFilter")
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:255
#12 0x00007ffff475d0dc in vtkSMProxyManager::GetPrototypeProxy (this=0x9e9c40, groupname=0xaa6be8 "filters", name=0x13343f8 "MyCustomProgrammableFilter")
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:482
#13 0x00007ffff7b7605b in HasInput (xmlgroup=0xaa6be8 "filters", xmlname=0x13343f8 "MyCustomProgrammableFilter")
    at /source/paraview/ParaView/Qt/ApplicationComponents/pqListNewProxyDefinitionsBehavior.cxx:52
#14 0x00007ffff7b76872 in pqListNewProxyDefinitionsBehavior::update (this=0x131aa70)
    at /source/paraview/ParaView/Qt/ApplicationComponents/pqListNewProxyDefinitionsBehavior.cxx:154
#15 0x00007ffff7ba20de in pqListNewProxyDefinitionsBehavior::qt_metacall (this=0x131aa70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffd3f0)
    at /source/paraview/build/Qt/ApplicationComponents/moc_pqListNewProxyDefinitionsBehavior.cxx:73
#16 0x00007fffef5a164b in QMetaObject::metacall (object=0x131aa70, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0x7fffffffd3f0)
    at /source/qt/qt-everywhere-opensource-src-4.6.2/src/corelib/kernel/qmetaobject.cpp:237
#17 0x00007fffef5b7aa7 in QMetaObject::activate (sender=0xe284a0, m=0x7ffff71404a0, local_signal_index=0, argv=0x7fffffffd3f0)
    at /source/qt/qt-everywhere-opensource-src-4.6.2/src/corelib/kernel/qobject.cpp:3285
#18 0x00007ffff6e13fa9 in pqServerManagerObserver::compoundProxyDefinitionRegistered (this=0xe284a0, _t1=...)
    at /source/paraview/build/Qt/Core/moc_pqServerManagerObserver.cxx:129
#19 0x00007ffff6ddb61f in pqServerManagerObserver::proxyRegistered (this=0xe284a0, callData=0x7fffffffd910)
    at /source/paraview/ParaView/Qt/Core/pqServerManagerObserver.cxx:116
#20 0x00007ffff6e13db4 in pqServerManagerObserver::qt_metacall (this=0xe284a0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffffd630)
    at /source/paraview/build/Qt/Core/moc_pqServerManagerObserver.cxx:112
#21 0x00007fffef5a164b in QMetaObject::metacall (object=0xe284a0, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0x7fffffffd630)
    at /source/qt/qt-everywhere-opensource-src-4.6.2/src/corelib/kernel/qmetaobject.cpp:237
#22 0x00007fffef5b7aa7 in QMetaObject::activate (sender=0xe2ff00, m=0x7ffff313a340, local_signal_index=0, argv=0x7fffffffd630)
    at /source/qt/qt-everywhere-opensource-src-4.6.2/src/corelib/kernel/qobject.cpp:3285
#23 0x00007ffff2f16ea2 in vtkQtConnection::EmitExecute (this=0xe2ff00, _t1=0x9e9c40, _t2=71, _t3=0x0, _t4=0x7fffffffd910, _t5=0x9ea020)
    at /source/paraview/build/VTK/GUISupport/Qt/moc_vtkQtConnection.cxx:90
#24 0x00007ffff2ed901f in vtkQtConnection::Execute (this=0xe2ff00, caller=0x9e9c40, e=71, call_data=0x7fffffffd910)
    at /source/paraview/ParaView/VTK/GUISupport/Qt/vtkQtConnection.cxx:72
#25 0x00007ffff2ed8faa in vtkQtConnection::DoCallback (vtk_obj=0x9e9c40, event=71, client_data=0xe2ff00, call_data=0x7fffffffd910)
    at /source/paraview/ParaView/VTK/GUISupport/Qt/vtkQtConnection.cxx:62
#26 0x00007fffe42da50d in vtkCallbackCommand::Execute (this=0x9ea020, caller=0x9e9c40, event=71, callData=0x7fffffffd910)
    at /source/paraview/ParaView/VTK/Common/vtkCallbackCommand.cxx:42
#27 0x00007fffe43beb8f in vtkSubjectHelper::InvokeEvent (this=0xe2e000, event=71, callData=0x7fffffffd910, self=0x9e9c40)
---Type <return> to continue, or q <return> to quit---
    at /source/paraview/ParaView/VTK/Common/vtkObject.cxx:601
#28 0x00007fffe43bf09f in vtkObject::InvokeEvent (this=0x9e9c40, event=71, callData=0x7fffffffd910)
    at /source/paraview/ParaView/VTK/Common/vtkObject.cxx:769
#29 0x00007ffff476191e in vtkSMProxyManager::RegisterCustomProxyDefinition (this=0x9e9c40, group=0x132e2b8 "filters",
    name=0x132e208 "MyCustomProgrammableFilter", top=0x132e3c0) at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:1564
#30 0x00007ffff4761b5d in vtkSMProxyManager::LoadCustomProxyDefinitions (this=0x9e9c40, root=0x132d870)
    at /source/paraview/ParaView/Servers/ServerManager/vtkSMProxyManager.cxx:1609
#31 0x00007ffff75e3a0a in pqCustomFilterManagerModel::importCustomFiltersFromSettings (this=0x132a7f0)
    at /source/paraview/ParaView/Qt/Components/pqCustomFilterManagerModel.cxx:216
#32 0x00007ffff7b7db90 in pqManageCustomFiltersReaction (this=0x132a690, parentObject=0x132a370)
    at /source/paraview/ParaView/Qt/ApplicationComponents/pqManageCustomFiltersReaction.cxx:54
#33 0x00007ffff7b7f7be in pqParaViewMenuBuilders::buildToolsMenu (menu=...)
    at /source/paraview/ParaView/Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx:192
#34 0x000000000040a31b in ParaViewMainWindow (this=0x85c9b0) at /source/paraview/ParaView/Applications/ParaView/ParaViewMainWindow.cxx:83
#35 0x0000000000408807 in pqparaviewInitializer::Initialize (this=0x7fffffffe160, argc=1, argv=0x7fffffffe2c8)
    at /source/paraview/build/Applications/ParaView/pqparaviewInitializer.cxx:111
#36 0x0000000000408158 in main (argc=1, argv=0x7fffffffe2c8) at /source/paraview/build/Applications/ParaView/paraview_main.cxx:76
No tags attached.
related to 0009972closed Utkarsh Ayachit PV_PLUGIN_PATH is not respected by pvbatch/pvpython 
Issue History
2010-07-01 17:02Pat MarionNew Issue
2010-07-01 17:06Utkarsh AyachitStatusbacklog => tabled
2010-07-01 17:06Utkarsh AyachitAssigned To => Utkarsh Ayachit
2010-07-01 17:06Utkarsh AyachitTarget Version => 3.8.1
2010-07-09 12:54Utkarsh AyachitNote Added: 0021336
2010-07-09 12:54Utkarsh AyachitTarget Version3.8.1 => 3.10
2010-07-09 12:54Utkarsh AyachitRelationship addedrelated to 0009972
2012-05-03 10:57Cory QuammenNote Added: 0028568
2012-05-03 11:23Utkarsh AyachitStatusexpired => backlog
2012-05-03 11:23Utkarsh AyachitResolutionopen => reopened
2016-08-12 09:58Kitware RobotNote Added: 0037852
2016-08-12 09:58Kitware RobotStatusbacklog => closed
2016-08-12 09:58Kitware RobotResolutionreopened => moved

Notes
(0021336)
Utkarsh Ayachit   
2010-07-09 12:54   
To fix this correctly, we need to fix the way plugin loading and management happens right now. Plugins are loaded by the GUI, however, plugin loading and management must happen during server manager initialization.

I am adding relationship to BUG 0009972. We need to cleanup plugin management to address all these issues correctly.
(0028568)
Cory Quammen   
2012-05-03 10:57   
This bug's status is marked expired, but it still persists.

While the errors are reported, the custom filters that include plugins seem to work fine.
(0037852)
Kitware Robot   
2016-08-12 09:58   
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.