# Missing module name

**URL:** <https://discourse.slicer.org/t/missing-module-name/1412>\
**Category:** Support\
**Tags:** extensions-manager\
**Created:** [November 9, 2017, 12:09am UTC](https://discourse.slicer.org/t/missing-module-name/1412 "2017-11-09T00:09:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zoe\_Goey](https://avatars.discourse-cdn.com/v4/letter/z/898d66/32.png) [@Zoe\_Goey](https://discourse.slicer.org/u/Zoe_Goey)\
**Post date:** [November 9, 2017, 12:09am UTC](https://discourse.slicer.org/t/missing-module-name/1412/1 "2017-11-09T00:09:25Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 9, 2017, 2:41am UTC](https://discourse.slicer.org/t/missing-module-name/1412/2 "2017-11-09T02:41:00Z")

</div>

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).
