Import 2017-06-07 23:51:09: master fd65468e
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
jcfr | jcfr | master | 2014-05-23 13:24:09 | master 1446f05e |
Changeset | ENH: Improved scripted module loading error message It happened multiple times in our group that a developer spent a lot of time trying to find errors in a scripted module, simplify the class, make it more similar to the template, etc. to find what can be wrong in the class because "Failed to load scripted pythonqt module class definition" error was reported. Then it turned out that the module class is perfect, only the name does not match the filename. Implemented fix: changed the error message to "class ... not found in file ..." to make it clear that the problem is not in implementation of the class but in the name. From: Andras Lasso <lasso@queensu.ca> git-svn-id: http://svn.slicer.org/Slicer4/trunk@23232 3bd1e089-480b-0410-8dfb-8563597acbee |
|||
mod - Base/QTCore/qSlicerScriptedFileWriter.cxx | Diff File | |||
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx | Diff File | |||
mod - Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx | Diff File |