View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015613ParaView(No Category)public2015-07-31 10:052016-08-12 09:59
ReporterJoachim Pouderoux 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version 
Summary0015613: In Python, setting the Input of the active source change the active source to null
DescriptionSee example below.
Steps To Reproduce- Start ParaView
- Open the Python shell
- Type: s = Sphere()
- the sphere becomes the active source
- Type: c = Clip()
- now the clip becomes the active source
- Type: c.Input = s
- There is no more active source!
Additional InformationWhen C.Input = s is called, the selection is changed - it should not.

(gdb) bt
#0 pqSelectionAdaptor::selectionChanged (this=0x8978b0) at /home/joachim/dev/paraview/Qt/Components/pqSelectionAdaptor.cxx:135
#1 0x00007ffff74b021c in pqSelectionAdaptor::qt_static_metacall (_o=0x8978b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffff9df0) at /home/joachim/dev/paraview-debug/Qt/Components/moc_pqSelectionAdaptor.cxx:54
#2 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3 0x00007ffff5d4659a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#4 0x00007ffff5d4a9bd in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5 0x00007ffff5d4d9b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff52f1804 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff52862e5 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000009 0x00007ffff5d768c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff5d7c687 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000011 0x00007ffff5d7c8d1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ffff52f1804 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007ffff52862e5 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffff73cb904 in pqPipelineModel::removeChildFromParent (this=0x89a970, child=0x3ad2c80) at /home/joachim/dev/paraview/Qt/Components/pqPipelineModel.cxx:1059
#16 0x00007ffff73cc862 in pqPipelineModel::removeConnection (this=0x89a970, source=0x3a1da70, sink=0x3aa35f0, sourceOutputPort=0) at /home/joachim/dev/paraview/Qt/Components/pqPipelineModel.cxx:1343
#17 0x00007ffff74a995c in pqPipelineModel::qt_static_metacall (_o=0x89a970, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffffffa710) at /home/joachim/dev/paraview-debug/Qt/Components/moc_pqPipelineModel.cxx:89
#18 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff6caadf5 in pqServerManagerModel::connectionRemoved (this=0x8a4a70, _t1=0x3a1da70, _t2=0x3aa35f0, _t3=0) at /home/joachim/dev/paraview-debug/Qt/Core/moc_pqServerManagerModel.cxx:427
#20 0x00007ffff6ca9df4 in pqServerManagerModel::qt_static_metacall (_o=0x8a4a70, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fffffffa8b0) at /home/joachim/dev/paraview-debug/Qt/Core/moc_pqServerManagerModel.cxx:155
#21 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007ffff6ca65f1 in pqPipelineSource::connectionRemoved (this=0x3a1da70, _t1=0x3a1da70, _t2=0x3aa35f0, _t3=0) at /home/joachim/dev/paraview-debug/Qt/Core/moc_pqPipelineSource.cxx:164
#23 0x00007ffff6c524e4 in pqPipelineSource::portConnectionRemoved (this=0x3a1da70, op=0x3a1ca00, cons=0x3aa35f0) at /home/joachim/dev/paraview/Qt/Core/pqPipelineSource.cxx:194
#24 0x00007ffff6ca62b6 in pqPipelineSource::qt_static_metacall (_o=0x3a1da70, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffaa80) at /home/joachim/dev/paraview-debug/Qt/Core/moc_pqPipelineSource.cxx:97
#25 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff6ca4c44 in pqOutputPort::connectionRemoved (this=0x3a1ca00, _t1=0x3a1ca00, _t2=0x3aa35f0) at /home/joachim/dev/paraview-debug/Qt/Core/moc_pqOutputPort.cxx:141
#27 0x00007ffff6c43d84 in pqOutputPort::removeConsumer (this=0x3a1ca00, cons=0x3aa35f0) at /home/joachim/dev/paraview/Qt/Core/pqOutputPort.cxx:218
#28 0x00007ffff6c4e1b9 in pqPipelineFilter::inputChanged (this=0x3aa35f0, portname=...) at /home/joachim/dev/paraview/Qt/Core/pqPipelineFilter.cxx:413
#29 0x00007ffff6c4db4c in pqPipelineFilter::inputChanged (this=0x3aa35f0, client_data=0x3a5eee8) at /home/joachim/dev/paraview/Qt/Core/pqPipelineFilter.cxx:335
#30 0x00007ffff6ca5cbe in pqPipelineFilter::qt_static_metacall (_o=0x3aa35f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffadb0) at /home/joachim/dev/paraview-debug/Qt/Core/moc_pqPipelineFilter.cxx:54
#31 0x00007ffff52a51ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007ffff4603ce2 in vtkQtConnection::EmitExecute (this=0x3aa0460, _t1=0x3a21c00, _t2=33, _t3=0x3a5eee8, _t4=0x0, _t5=0x3aa0570) at /home/joachim/dev/paraview-debug/VTK/GUISupport/Qt/moc_vtkQtConnection.cxx:103
#33 0x00007ffff45e1318 in vtkQtConnection::Execute (this=0x3aa0460, caller=0x3a21c00, e=33, call_data=0x0) at /home/joachim/dev/paraview/VTK/GUISupport/Qt/vtkQtConnection.cxx:72
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0034916)
Utkarsh Ayachit (administrator)
2015-08-06 21:46

The problem arises due to InputProperty::SetData in servermanager.py. That method always removes all proxies on the property and then adds the new value. That causes the pqPipelineModel to attempt to move the "anchoring" for the Clip filter and the input is being changed. In that kerfuffle, the active source gets reset. The issue won't arise in pvpython.
(0038853)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2015-07-31 10:05 Joachim Pouderoux New Issue
2015-07-31 10:06 Joachim Pouderoux Description Updated
2015-07-31 10:06 Joachim Pouderoux Steps to Reproduce Updated
2015-07-31 10:15 Joachim Pouderoux Summary Setting the Input of the active source change the active source to null => In Python, setting the Input of the active source change the active source to null
2015-07-31 11:22 Joachim Pouderoux Additional Information Updated
2015-08-06 21:46 Utkarsh Ayachit Note Added: 0034916
2016-08-12 09:59 Kitware Robot Note Added: 0038853
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved
2016-08-12 09:59 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team