If I create a Python extension in Slicer 4.6.2 using the extension wizard and load a module that has been created within this extension, then the module name is not automatically added to slicer.moduleNames. This results in an AttributeError when Slicer is closed (line 191 of Slicer-4.6.2-linux-amd64/bin/Python/slicer/slicerqt.py, in unsetSlicerModule, delattr(slicer.moduleNames, moduleName)). Is this a bug, or should I be doing something to get the module name added?
You only get this error if you register a module using module manager manually. You can safely ignore it.
I’ve just committed a fix to suppress this error (available in tomorrow’s nightly build).