Trouble registering module

I wrote a script to graph polar coordinates equations. The test calls within the script work flawlessly, but the script will not register when I press the “Run Script” button.

The segment of code I’m using to register the module is below:

def register():
    bpy.utils.register_module(__name__)


def unregister():
    bpy.utils.unregister_module(__name__)


if __name__ == "__main__":
    register()

Run from the text editor internal – i am not sure whether value of name is filled. Try saving the script as .py and and put it in scripts directory somewhere.

Or you could use bpy.utils.register_class(EXPLICITLY_NAME_THE_CLASS_TO_BE_REGISTERED) for each class.

Thanks for the speedy response.

It is suggested that name be used during module registration in the API documentation, although I did try to register with specific classes, which failed. The name technique worked for the last script I wrote. I just checked to see if there were differences between what I wrote for that one and this one and there weren’t. To be absolutely sure, I copy-pasted from the old one and it did not register.

The script is saved a .py. How would I put it into a scripts directory?

If having the full text of the code would help, I can put that up.

if it doesn’t register, there could be a script error in the code, check the system console for error messages

System console output is below. Not really sure what to make of it. It looks to me like it’s referencing the Z Function Surface addon, which seems weird to me, although I don’t really know whether that’s normal or not. Running Mac 10.6.8 if that helps.


8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Users/admin/Library/Application Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py", line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py", line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py", line 35, in parse
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Users/admin/Library/Application Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py", line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py", line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py", line 35, in parse
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Users/admin/Library/Application Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py", line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py", line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py", line 35, in parse
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Users/admin/Library/Application Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py", line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py", line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py", line 35, in parse
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Users/admin/Library/Application Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py", line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py", line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py", line 35, in parse
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Users/admin/Library/Application Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py", line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py", line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]      File "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py", line 35, in parse
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        return compile(source, filename, mode, PyCF_ONLY_AST)

8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",  line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",  line 35, in parse
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]        return  compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",  line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",  line 35, in parse
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]        return  compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",  line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",  line 35, in parse
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]        return  compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",  line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",  line 35, in parse
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]        return  compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",  line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",  line 35, in parse
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]        return  compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",  line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",  line 35, in parse
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]        return  compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM     [0x0-0x341341].org.blenderfoundation.blender[10032]      File  "/Users/admin/Library/Application  Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",  line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^

Rest of system console output because it exceeded the character limit.

Please note that the above is from the Console application on Macs, NOT the blender python console, which give no output when the script is run via the run button and says that the module cannot be found if I try to run the script directly from it (presumably since the module in not registered).

8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",   line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",   line 35, in parse
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]        return   compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Users/admin/Library/Application   Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",   line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",   line 108, in fake_module
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        ast_data = ast.parse(data, filename=mod_path)
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Applications/Blender/blender.app/Contents/MacOS/2.68/python/lib/python3.3/ast.py",   line 35, in parse
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]        return   compile(source, filename, mode, PyCF_ONLY_AST)
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Users/admin/Library/Application   Support/Blender/2.68/scripts/addons/add_mesh_3d_function_surface.py",   line 17
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]        Z Function Surface
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]                 ^
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    SyntaxError: invalid syntax
8/13/13 4:16:28 PM    [0x0-0x341341].org.blenderfoundation.blender[10032]    Traceback (most recent call last):
8/13/13 4:16:28 PM      [0x0-0x341341].org.blenderfoundation.blender[10032]      File   "/Applications/Blender/blender.app/Contents/MacOS/2.68/scripts/modules/addon_utils.py",   line 108, in fake_module

Last bit of console output

I see you are using mac. ah. good because I don’t have to attempt recall of windows way.

You have pasted console log from Console.app, which is technically one way to get the output from blender but… Console.app lumps together all the various logs of processed. It is like the ‘master’ way to get an overview or dig into some arcane log that you need to track, BUT if you just launch blender via terminal you don’t have to wade through all the messages logged by other non-relevant processes.

How to launch via terminal ( actually you should be using iTerm2 but that’s another story terminal is just fine) first you get the terminal open. I’ll leave that to you as to how you actually prefer to arrive at the launch of a terminal but cmd+spacebar,type terminal, and spotlight should show it in the top right. anyways…

Assuming you have blender.app in your applications directory:

/Applications/blender.app/Contents/MacOS/blender

Should get the launch of blender ahappen.

From the looks of your pasted console output, there is a syntaxerror. Gotta go more helps later

Thanks for the terminal tip– I hadn’t run blender from there before and am pretty new to python. I was actually wondering what console it was referring to when it said to see the console, since there wasn’t any output in the blender python console.

Anyway, with proper error messages, the problem was easy to sort out. I misspelled “description” while setting up a BoolProperty, which was preventing the entire thing from registering.

Thanks for the help.