MCPcopy Create free account
hub / github.com/commontk/CTK / pythonErrorOccured

Method pythonErrorOccured

Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp:188–196  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

186
187//-----------------------------------------------------------------------------
188bool ctkAbstractPythonManager::pythonErrorOccured()const
189{
190 if (!PythonQt::self())
191 {
192 qWarning() << Q_FUNC_INFO << " failed: PythonQt is not initialized";
193 return false;
194 }
195 return PythonQt::self()->hadError();
196}
197
198//-----------------------------------------------------------------------------
199void ctkAbstractPythonManager::resetErrorFlag()

Callers 5

foreachFunction · 0.80
testDefaultsMethod · 0.80
testExecuteStringMethod · 0.80
testExecuteFileMethod · 0.80

Calls

no outgoing calls

Tested by 4

testDefaultsMethod · 0.64
testExecuteStringMethod · 0.64
testExecuteFileMethod · 0.64